Create an audit log subscription.<br /><br />For each subscription, you must specify the set of resources you wish to subscribe to audit log notifications for. You can describe these resources using a custom role policy. To learn more, read [Custom role concepts](https://launchdarkly.com/docs/home/account/role-concepts).
Request
This endpoint expects an object.
namestringRequired
A human-friendly name for your audit log subscription.
configmap from strings to anyRequired
statementslist of objectsOptional
The set of resources you wish to subscribe to audit log notifications for.
onbooleanOptional
Whether or not you want your subscription to actively send events.
tagslist of stringsOptional
An array of tags for this subscription.
urlstringOptional
Slack webhook receiver URL. Only necessary for legacy Slack webhook integrations.
apiKeystringOptional
Datadog API key. Only necessary for legacy Datadog webhook integrations.
Response
Integration response
_linksmap from strings to objectsOptional
The location and content type of related resources
_idstringOptional
The ID for this integration audit log subscription
kindstringOptional
The type of integration
namestringOptional
A human-friendly name for the integration
configmap from strings to anyOptional
Details on configuration for an integration of this type. Refer to the formVariables field in the corresponding manifest.json for a full list of fields for each integration.
statementslist of objectsOptional
Represents a Custom role policy, defining a resource kinds filter the integration audit log subscription responds to.
onbooleanOptional
Whether the integration is currently active
tagslist of stringsOptional
An array of tags for this integration
_accessobjectOptional
Details on the allowed and denied actions for this subscription
_statusobjectOptional
Details on the most recent successes and errors for this integration
urlstringOptional
Slack webhook receiver URL. Only used for legacy Slack webhook integrations.
apiKeystringOptional
Datadog API key. Only used for legacy Datadog webhook integrations.