Full YAML policy definition. Example:
version: '1.0'
name: Production Security Policy
description: Block critical vulnerabilities
scope: PROJECT
priority: 10
enabled: true
projectIds:
- 550e8400-e29b-41d4-a716-446655440000
rules:
- name: Block Critical
type: severity
operator: eq
value: CRITICAL
action: block"version: '1.0'\nname: Production Security Policy\nscope: PROJECT\npriority: 10\nenabled: true\nprojectIds:\n - 550e8400-e29b-41d4-a716-446655440000\nrules:\n - name: Block Critical\n type: severity\n operator: eq\n value: CRITICAL\n action: block"
Policy created
Policy ID
"550e8400-e29b-41d4-a716-446655440000"
Policy scope
ORGANIZATION, TEAM, PROJECT "PROJECT"
Organization ID the policy belongs to
"550e8400-e29b-41d4-a716-446655440001"
Policy name
"Production Security Policy"
Priority (lower = higher priority)
10
Policy configuration
{ "rules": [], "exclusions": [] }Whether the policy is enabled
true
Creation timestamp
"2024-01-15T10:30:00Z"
Last update timestamp
"2024-01-15T10:30:00Z"
Project IDs targeted by this policy (for PROJECT scope)
["550e8400-e29b-41d4-a716-446655440002"]Team IDs targeted by this policy (for TEAM scope)
["550e8400-e29b-41d4-a716-446655440003"]Policy description
"Security policy for production environment"
User ID who created the policy
User ID who last updated the policy