{"type":"api","title":"List the Organization's Policies","meta":{"id":"/apps/pubhub/media/cloud-security-apis-in-eft/83e8a10367d157243cd1c3e478b807cb81262a3d/eadd0b56-ea60-32bd-a1aa-155c29b52bed","info":{"title":"Cisco Cloudlock API","description":"The Cloudlock API provides data about an organization's activities, apps, incidents, and policies.","version":"1.0.0","contact":{"name":"Cloud Security Developer Community"}},"tags":[{"name":"Activities"},{"name":"Apps"},{"name":"Entities"},{"name":"Incidents"},{"name":"Incident Aggregates"},{"name":"Incident Entities"},{"name":"IP Libraries"},{"name":"Policies"}],"openapi":"3.0.0","servers":[{"url":"https://api.cloudlock.com/api/v2"}]},"spec":{"tags":["Policies"],"description":"Get all of the organization's configured policies.","operationId":"listPolicies","summary":"List the Organization's Policies","parameters":[{"name":"state","example":"active","in":"query","required":false,"description":"Provide a string that indicates the policy state.","schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"This is CloudLock Internal Identifier for a policy.","example":"G8qz0vb49V"},"name":{"type":"string","description":"The name of the policy.","example":"PCI - Alert"},"state":{"type":"string","description":"Indicates if the policy is active or inactive.","example":"Active, Inactive"},"description":{"type":"string","description":"The description of the policy.","example":"Apps whose authorized access scopes present potential security risks"},"created_at":{"type":"string","description":"The policy creation time, specified as a timestamp in UTC.","example":"2015-03-19T09:00:17.602482+00:00"},"updated_at":{"type":"string","description":"The policy updated time, specified as a timestamp in UTC.","example":"2015-03-19T09:00:17.602482+00:00"},"severity":{"type":"string","description":"The severity assigned to incidents of this policy.","example":"CRITICAL,WARNING,INFO,ALERT"}},"$$ref":"#/components/schemas/PoliciesCollection"}}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/400Error"},"401":{"description":"Unauthorized request","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/401Error"},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/403Error"},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/404Error"},"500":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}}}}},"$$ref":"#/components/responses/500Error"}},"__originalOperationId":"listPolicies","method":"get","path":"/policies"}}