# CreatePolicyInput **Type:** GraphQL inputs **Description:** 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. ## Fields - name (String): Policy name - trigger (PolicyTriggerInput, Not Null): Trigger configuration - type (PolicyTriggerType): Type of trigger event - conditions (PolicyConditionGroupInput, Not Null): Condition groups - agentFilter (AgentFilter): Optional filter on agent properties - toolFilter (ToolFilterInput): Optional filter on tool properties (for TOOL_INVOCATION trigger) - findingFilter (FindingFilter): Optional filter on findings - detectionFilter (DetectionFilter): Optional filter on runtime detections - groups (PolicyConditionGroupInput): Optional nested condition groups - actions (PolicyActionInput, Not Null): Actions to execute - type (PolicyActionType): Type of action to execute - createIssueParams (PolicyCreateIssueActionParamsInput): Parameters for CREATE_ISSUE action (required when type is CREATE_ISSUE) - autoResolve (Boolean): Automatically resolve issues when conditions are no longer met