Closed jcran closed 3 years ago
This PR moves all checks to modern hash style (no more hashrockets!) and enables multiple-matchers within a single check.
The key changes:
Additionally, the :match_details field is now called :description
While backward compatibility is maintained with the previous format, this matches: format is preferred for new checks.
An example is below:
[ { type: "fingerprint", category: "service", vendor: "Some", product: "Product", website: "https://www.somewhere.co.uk/", match_logic: :all, matches: [ { match_type: :content_title, match_content: /The Title of the Page/i }, { match_type: :content_body, match_content: /any body string/i }, { match_type: :content_code, match_content: 200 } ], description: "just an example check", paths: [ { path: "#{url}", follow_redirects: true } ] } ]
This PR moves all checks to modern hash style (no more hashrockets!) and enables multiple-matchers within a single check.
The key changes:
Additionally, the :match_details field is now called :description
While backward compatibility is maintained with the previous format, this matches: format is preferred for new checks.
An example is below: