Returns the workspace's rules in evaluation order: by evaluation point, then by priority. Each rule is returned without its matcher, which holds the rule's conditions. To read a rule's matcher, use Retrieve a rule.
Returns only the rules at this evaluation point. The only evaluation point is "after_verdict".
When true, returns only enabled rules; when false, only disabled rules. Unset returns all rules.
The maximum number of rules to retrieve per page. Default is 50. Maximum is 100. If the number of results exceeds the defined page size, use pagination to retrieve the next page by making an identical List rules request and providing the page token from the previous response. Moving or deleting a rule between page requests can make a rule appear twice or not at all; to read a consistent order, read it in one page.
Token received from a previous List rules response. Provide this to retrieve the next page of results.
A successful response.
The rules returned, in evaluation order.
A rule as returned by List rules: every field of the rule except its matcher.
The unique identifier of the rule.
The rule name, unique among the workspace's rules and guidance.
An optional description of the rule.
Whether the rule is active. A disabled rule is not evaluated. Always returned, including when false.
The rule's position in evaluation order within its evaluation point, 1 for first. Positions run from 1 to the number of rules without gaps, counting enabled and disabled rules.
When in triage the rule is evaluated: "after_verdict", once Auto Triage has reached its verdict.
What a rule does to an alert it matches: an outcome type, and a config whose shape the type defines. Retrieve rule schemas lists the allowed types and the settings each one takes. Currently the only type is "override_triage_result", which sets the alert's verdict, its severity, or both.
The outcome type, such as "override_triage_result".
The outcome's settings, as a JSON object whose fields and values the type's config schema defines. For "override_triage_result": {"verdict": "False Positive", "severity": "Low"}, with at least one of the two.
The number of alerts created in the last 30 days that this rule matched. Rules are checked in priority order and checking stops at the first match, so an alert counts only for the first rule that matched it. Approximate: the count is refreshed periodically. Always returned, including when 0.
The timestamp when the rule was created.
The entity that performed the action.
The actor kind. Identifies which actor case is populated. One of:
USER, WORKFLOW, INTEGRATION, SERVICE_API_KEY, SOCRATES, TRIAGE, AGENT, BUILDER.
User identity information.
The actor's email address.
The user's full name.
Workflow execution details.
The workflow ID.
The workflow execution ID.
The workflow name.
Integration configuration.
The integration ID.
The integration type identifier.
Service account API token information.
The service account API token name.
The service account API token client ID.
Original actor information.
Triage system action.
Agent execution details.
The agent ID.
The agent execution ID.
Workflow Builder acting on behalf of a user.
The timestamp when the rule was last updated.
The entity that performed the action.
The actor kind. Identifies which actor case is populated. One of:
USER, WORKFLOW, INTEGRATION, SERVICE_API_KEY, SOCRATES, TRIAGE, AGENT, BUILDER.
User identity information.
The actor's email address.
The user's full name.
Workflow execution details.
The workflow ID.
The workflow execution ID.
The workflow name.
Integration configuration.
The integration ID.
The integration type identifier.
Service account API token information.
The service account API token name.
The service account API token client ID.
Original actor information.
Triage system action.
Agent execution details.
The agent ID.
The agent execution ID.
Workflow Builder acting on behalf of a user.
When a token is returned, it indicates there is another page of results to retrieve. Pass this token as the page_token parameter in a subsequent List rules request. If this field is empty, there are no additional pages to retrieve.
Invalid bearer token. If you receive this message more than once try creating a new Client ID/Client Secret or generating a new bearer token.
You don't have permission to access this resource.