Policies

List Policies

get/policies

Query parameters

limitinteger

Limit Policies returned

page_cursorstring

Next/Prev page cursor

group_idstring

Filter to Policies granting this Group

resource_idstring

Filter to Policies granting access to this Resource

Response

Policy Response

Example response

{
  "data": [
    {
      "conditions": [
        {
          "operator": "is_in",
          "property": "remote_ip_location_region",
          "values": [
            "US",
            "CA"
          ]
        }
      ],
      "description": "Policy to allow something",
      "flow_log_uploads_enabled": true,
      "group_id": "88eae9ce-9179-48c6-8430-770e38dd4775",
      "id": "42a7f82f-831a-4a9d-8f17-c66c2bb6e205",
      "is_disabled": false,
      "resource_id": "a9f60587-793c-46ae-8525-597f43ab2fb1"
    },
    {
      "conditions": [],
      "description": "Policy to allow something else",
      "flow_log_uploads_enabled": false,
      "group_id": "343385a2-5437-4c66-8744-1332421ff736",
      "id": "6301d7d2-4938-4123-87de-282c01cca656",
      "is_disabled": true,
      "resource_id": "9876bd25-0f6c-48fb-a9fd-196ba9be86e5"
    }
  ],
  "metadata": {
    "limit": 10,
    "next_page": "98776234123",
    "prev_page": "123123425",
    "total": 100
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.