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