Skip to content

Keywords

Keywords are special expressions that help you create complex OQL queries.

Note

Keywords are not case-sensitive.

AND

Use AND to combine two or more clauses in a single search. To list an item, each OQL clause must apply.

type = CertificateKeyLengthIssue AND key_length > 1024

OR

Use OR to combine two or more clauses in a single search. To list an item, at least one of the OQL clauses must apply.

any_field = NULL OR other_field != NULL

NOT

Use NOT to negate an operator, an individual clause, or a complex OQL query.

type = HardcodedAccountPasswordIssue AND NOT line CONTAINS "root"

To negate a clause, place it in parentheses:

severity = CRITICAL OR NOT (severity = HIGH AND confidence = HIGH)