Get a security policy by ID
Policies
Get a security policy by ID
GET
Get a security policy by ID
Authorizations
JWT access token.
Response
Policy details
Policy ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Policy scope
Available options:
ORGANIZATION, TEAM, PROJECT Example:
"PROJECT"
Organization ID the policy belongs to
Example:
"550e8400-e29b-41d4-a716-446655440001"
Policy name
Example:
"Production Security Policy"
Priority (lower = higher priority)
Example:
10
Policy configuration
Example:
{ "rules": [], "exclusions": [] }Whether the policy is enabled
Example:
true
Creation timestamp
Example:
"2024-01-15T10:30:00Z"
Last update timestamp
Example:
"2024-01-15T10:30:00Z"
Project IDs targeted by this policy (for PROJECT scope)
Example:
["550e8400-e29b-41d4-a716-446655440002"]Team IDs targeted by this policy (for TEAM scope)
Example:
["550e8400-e29b-41d4-a716-446655440003"]Policy description
Example:
"Security policy for production environment"
User ID who created the policy
User ID who last updated the policy