Integration audit log subscriptions

Get audit log subscriptions by integration

GET
/api/v2/integrations/{integrationKey}

Get all audit log subscriptions associated with a given integration.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

integrationKey*string

The integration key

Formatstring

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/integrations/string"
{  "_links": {    "property1": {      "href": "string",      "type": "string"    },    "property2": {      "href": "string",      "type": "string"    }  },  "items": [    {      "_links": {        "property1": {          "href": "string",          "type": "string"        },        "property2": {          "href": "string",          "type": "string"        }      },      "_id": "1234a56b7c89d012345e678f",      "kind": "datadog",      "name": "Example Datadog integration",      "config": {        "property1": null,        "property2": null      },      "statements": [        {          "resources": [            "proj/*:env/*;qa_*:/flag/*"          ],          "notResources": [            "string"          ],          "actions": [            "*"          ],          "notActions": [            "string"          ],          "effect": "allow"        }      ],      "on": true,      "tags": [        "testing"      ],      "_access": {        "denied": [          {            "action": "string",            "reason": {              "resources": [                "proj/*:env/*;qa_*:/flag/*"              ],              "notResources": [                "string"              ],              "actions": [                "*"              ],              "notActions": [                "string"              ],              "effect": "allow",              "role_name": "string"            }          }        ],        "allowed": [          {            "action": "string",            "reason": {              "resources": [                "proj/*:env/*;qa_*:/flag/*"              ],              "notResources": [                "string"              ],              "actions": [                "*"              ],              "notActions": [                "string"              ],              "effect": "allow",              "role_name": "string"            }          }        ]      },      "_status": {        "successCount": 0,        "lastSuccess": 0,        "lastError": 0,        "errorCount": 0,        "errors": [          {            "statusCode": 0,            "responseBody": "string",            "timestamp": 0          }        ]      },      "url": "string",      "apiKey": "string"    }  ],  "key": "string"}