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