Skip to main content
POST
SearchRules

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
limit
integer<int64>

Max number of rules to return (returns all if omitted).

offset
integer<int64>

Only applies if limit provided.

order
enum<string>
default:SEARCH_ORDER_UNSPECIFIED
Available options:
SEARCH_ORDER_UNSPECIFIED,
SEARCH_ORDER_ASC,
SEARCH_ORDER_DESC
nameMatches
string
caseSensitive
boolean
regexp
boolean
orderBy
string
ruleIds
string[]
assetIds
string[]
includeDeleted
boolean
assetTags
object

Response

A successful response.

count
integer<int64>
required
rules
object[]
required

Conditions are not included in the search response. The latest version of the rule is returned.