- IntRangeFilter
Filter for findings
Filter by finding type
Filter by finding ID
{ "type": { "__typename": "FindingTypeFilter" }, "id": { "__typename": "StringFilter" } }
Filter for finding types
Finding types to include in the results
Operator to apply for matching finding types (IN = match if ANY type is present, AND = match if ALL types are present)
{ "in": [ "INSTRUCTIONS_NOT_CLEAR" ], "operator": "IN" }
Input for defining condition groups
Optional filter on agent properties
Optional filter on tool properties (for TOOL_INVOCATION trigger)
Optional filter on findings
Optional filter on runtime detections
Optional nested condition groups
{ "agentFilter": { "__typename": "AgentFilter" }, "toolFilter": { "__typename": "ToolFilterInput" }, "findingFilter": { "__typename": "FindingFilter" }, "detectionFilter": { "__typename": "DetectionFilter" }, "groups": [ { "__typename": "PolicyConditionGroupInput" } ] }
Input for CREATE_ISSUE action parameters
Severity to assign when creating an issue
{ "issueSeverity": "LOW" }
Input for defining policy actions
Type of action to execute
Parameters for CREATE_ISSUE action (required when type is CREATE_ISSUE)
{ "type": "CREATE_ISSUE", "createIssueParams": { "__typename": "PolicyCreateIssueActionParamsInput" } }
Filter for integer ranges
Minimum value (inclusive)
Maximum value (inclusive)
{ "min": 40, "max": 40 }
Filter for policies
Text search across policy fields
Filter by policy mode
Filter by policy status
Filter by trigger type
Filter by issues count range
Filter by last execution time
Filter by default policies (true = only default, false = only custom, null/undefined = all)
Filter by finding types configured in policy conditions
Filter by detection types configured in policy conditions
{ "search": "Example String", "mode": { "__typename": "PolicyModeFilter" }, "status": { "__typename": "PolicyStatusFilter" }, "triggerType": { "__typename": "PolicyTriggerTypeFilter" }, "issuesCount": { "__typename": "IntRangeFilter" }, "lastExecutedAt": { "__typename": "DateTimeFilter" }, "isDefault": true, "findingType": { "__typename": "FindingTypeFilter" }, "detectionType": { "__typename": "DetectionTypeFilter" } }
Filter for policy mode
Modes to include in the results
{ "in": [ "DRAFT" ] }
Filter for policy status
Statuses to include in the results
{ "in": [ "ACTIVE" ] }
Filter for policy trigger types
Trigger types to include in the results
{ "in": [ "AGENT_CREATED" ] }
Input for creating a new policy.
Note: Description is not included in creation input as it is generated asynchronously by AI after the policy is created. Use UpdatePolicyInput to manually set or modify the description later.
Policy name
Trigger configuration
Condition groups
Actions to execute
Automatically resolve issues when conditions are no longer met
{ "name": "Example String", "trigger": { "__typename": "PolicyTriggerInput" }, "conditions": { "__typename": "PolicyConditionGroupInput" }, "actions": [ { "__typename": "PolicyActionInput" } ], "autoResolve": true }