latestOpenAPI 3.0.12026-08-064278250.7 KB

b635522b2393

audit-logs

Get a list of audit logs

Get a list of all audit logs in the specified workspace. This call supports pagination; default page size includes 20 logs.

get/v1/audit-logs/search

Query parameters

ticketIdsstring[]
[
  "GYDU-1212"
]
remediationboolean

Filter by whether the log was part of a remediation action.

Example:true

Filter by whether the log was part of a remediation action.

fromTimenumber

Start date/time (inclusive) in milliseconds.

Example:1754047435131

Start date/time (inclusive) in milliseconds.

toTimenumber

End date/time (inclusive) in milliseconds.

Example:1754047575801

End date/time (inclusive) in milliseconds.

typesstring[]
[
  "detectionLogs"
]
subTypesstring[]
[
  "markAsUnprocessed"
]
autoGeneratedboolean

Filter by whether the log was auto generated.

Example:true

Filter by whether the log was auto generated.

pageSizestring

API responses use pagination to reduce loading time. Return a maximum of this many items per page. Used only for the very first request subsequent request should use cursor value

API responses use pagination to reduce loading time. Return a maximum of this many items per page. Used only for the very first request subsequent request should use cursor value

cursorstring

A base64-encoded pagination cursor used to retrieve a specific page of results. This value should be taken from the nextPage or prevPage field in a previous response. If omitted, the API returns the first page of results. Use this parameter to navigate forward or backward through paginated data.

Example:eyJzIjoxLCJwIjowfQ==

A base64-encoded pagination cursor used to retrieve a specific page of results. This value should be taken from the nextPage or prevPage field in a previous response. If omitted, the API returns the first page of results. Use this parameter to navigate forward or backward through paginated data.

Headers

Workspacestring required

Response

Success

itemsAuditLogResponse[] — unresolved $ref
totalElementsinteger

The total number of records that exist for the request.

nextPagestring

A base64-encoded cursor value to retrieve the next page of results. To get the next page, pass this value in the cursor query parameter of your next request (e.g., ?cursor=nextPage).

prevPagestring

A base64-encoded cursor value to retrieve the previous page of results. To get the previous page, pass this value in the cursor query parameter of your request (e.g., ?cursor=prevPage).