Update db-schema.yaml

patch-1
Prince Chaddha 2021-08-19 15:03:10 +05:30 committed by GitHub
parent 4c27b5d5ee
commit 760af33ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -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'