- PolicyTriggerInput
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" }