From 760af33ce9f1d659b40d2baaaf5e7d296df489c3 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Thu, 19 Aug 2021 15:03:10 +0530 Subject: [PATCH] Update db-schema.yaml --- exposures/files/db-schema.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/exposures/files/db-schema.yaml b/exposures/files/db-schema.yaml index 0f1b1437f8..86adb0bfa1 100644 --- a/exposures/files/db-schema.yaml +++ b/exposures/files/db-schema.yaml @@ -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'