Retrieve all Audit Log Entries

View as Markdown

Get all Audit Log entries

User must have FORGE_PROVIDER_ADMIN or FORGE_TENANT_ADMIN authorization role.

Authentication

AuthorizationBearer
``` export JWT_BEARER_TOKEN="<jwt-bearer-token>" # Example org name: "acme-inc export ORG_NAME=<org-name> # Use the JWT bearer token in your API request auth header: curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://carbide-rest-api.carbide.svc.cluster.local/v2/org/$ORG_NAME/carbide/user/current ```

Path parameters

orgstringRequired

Query parameters

failedOnlybooleanOptional

Return only audit log entries that have failed status code (>= 400)

pageNumberintegerOptional>=1Defaults to 1
Page number for pagination query
pageSizeintegerOptional1-100
Page size for pagination query
orderByenumOptional
Ordering for pagination query
Allowed values:

Response

OK
idstringRead-onlyformat: "uuid"
Unique identifier
endpointstring
API endpoint
queryParamsstring
Query parameters
methodstring
HTTP method
bodystring
HTTP body in JSON format
statusCodeinteger
HTTP response status code
statusMessagestring
HTTP response status message
clientIPstring
Client IP address
userIDstring or nullformat: "uuid"
User ID that executed the API call
userobject
User that executed the API call
orgNamestring
Organization name
extraDataobject
Extra data in JSON format
timestampdatetime
API execution time
durationMsinteger
API execution duration in milliseconds
apiVersionstring
API version

Errors

403
Forbidden Error