Update db-schema.yaml
parent
4c27b5d5ee
commit
760af33ce9
|
@ -1,10 +1,10 @@
|
|||
id: db-schema.yaml
|
||||
id: db-schema
|
||||
|
||||
info:
|
||||
name: Discover db schema files
|
||||
description: This file is auto-generated from the current state of the database.
|
||||
author: geeknik
|
||||
severity: info
|
||||
description: This file is auto-generated from the current state of the database.
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
|
@ -15,22 +15,26 @@ requests:
|
|||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
|
||||
- type: word
|
||||
words:
|
||||
- "This file is auto-generated from the current state of the database."
|
||||
- "ActiveRecord::Schema.define"
|
||||
condition: and
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
words:
|
||||
- "text/html"
|
||||
negative: true
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
name: version
|
||||
part: body
|
||||
regex:
|
||||
- 'version: \d{14}'
|
||||
- 'eRecord::Schema\.define\(version: ([0-9_]+)\) do'
|
||||
|
|
Loading…
Reference in New Issue