Get policy status
GET {{base_url}}/api/policy_management/v4/applications
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
policy_id | string | ||
policy_type | string | ||
execution_state | string | ||
deployment_states | string | ||
status | string | ||
include_multiple_applications_conflict | boolean | ||
include_validation_issues | boolean | ||
include_deployment_errors | boolean | ||
include_running_blockers | boolean | ||
include_status_events | boolean | ||
include_propagated | boolean | ||
include_aggregate | boolean |
RESPONSES
status: OK
{"items":[[{"id":"819a0ec2-9e00-4bf5-8b57-2de655be8f7e","created_at":"2021-04-05T10:38:06.27671437Z","updated_at":"2021-04-05T10:38:06.276747077Z","deleted_at":null,"enabled":true,"deployment":{"state":"deployed"},"running":{"state":"idle"},"status":"ok","agent_id":"b757f01e-0b14-4788-b9a0-2671469517d7","context":{"id":"0817bef5-05ae-4f1f-9b31-1c092f11c12b","type":"resource.machine"},"policy":{"id":"db3c2143-22de-4c5d-86b8-c9b38dcd5aa4","type":"policy.protection.total","name":"Protection Automation Training Test Plan"},"tenant_id":"1952007","context_tenant_id":"1952010","origin_contexts":["0817bef5-05ae-4f1f-9b31-1c092f11c12b"]}]],"paging":{"cursors":{"total":1}},"_links":[{"rel":"self","href":"/api/policy_management/v4/applications"}]}