- PolicyStatusFilter
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 }
Input for updating an existing policy
Policy name
Policy description
Trigger configuration
Condition groups
Actions to execute
Automatically resolve issues when conditions are no longer met
{ "name": "Example String", "description": "Example String", "trigger": { "__typename": "PolicyTriggerInput" }, "conditions": { "__typename": "PolicyConditionGroupInput" }, "actions": [ { "__typename": "PolicyActionInput" } ], "autoResolve": true }
Input for policy trigger
Type of trigger event
{ "type": "AGENT_CREATED" }
Input for specifying policy sorting
{ "field": "NAME", "direction": "ASC" }