Policies and findings · GraphQL input

RuleFileContentsInput input

Input variant of RuleFileContents.

Fields

Input Field Description
mustMatch - String A regular expression (RE2 syntax, ASCII characters only; see RuleFileContents) the collected contents must match.
mustNotMatch - String A regular expression (RE2 syntax, ASCII characters only) the collected contents must not match.
checksum - String The xxh3-128 checksum, as 32 hex characters, the file must have: the digest path sensors collect.

Used by

Example

Example

{
  "mustMatch": "abc123",
  "mustNotMatch": "abc123",
  "checksum": "abc123"
}