Search audit log entries

Search your audit log entries. The query parameters let you restrict the results that return by date ranges, or a full-text search query. The request body lets you restrict the results that return by resource specifiers.

LaunchDarkly uses a resource specifier syntax to name resources or collections of resources. To learn more, read About the resource specifier syntax.

Headers

AuthorizationstringRequired

Query parameters

beforelongOptional

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned occurred before the timestamp.

afterlongOptional

A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned occurred after the timestamp.

qstringOptional

Text to search for. You can search for the full or partial name of the resource.

limitlongOptional

A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.

Request

This endpoint expects a list of objects.
effectenumRequired

Whether this statement should allow or deny actions on the resources.

Allowed values:
resourceslist of stringsOptional

Resource specifier strings

notResourceslist of stringsOptional

Targeted resources are the resources NOT in this list. The resources field must be empty to use this field.

actionslist of stringsOptional

Actions to perform on a resource

notActionslist of stringsOptional

Targeted actions are the actions NOT in this list. The actions field must be empty to use this field.

Response

Audit log entries response

itemslist of objects

An array of audit log entries

Errors