List audit logs
Returns a list of audit logs of an organization in Frontier.
Path Parameters
org_id string required
Query Parameters
source string
action string
start_time date-time
start_time and end_time are inclusive
end_time date-time
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
logs object[]
id A unique identifier of the audit log if not supplied will be autogenerated
source Source service generating the event required
The source service generating the event.
action Action performed, e.g. project.create, user.update, serviceuser.delete required
actor object
id string
type string
name string
target object
id string
type string
name string
context object
property name* string
created_at date-time
The time the log was created.
{
"logs": [
{
"id": "string",
"source": "auth",
"action": "string",
"actor": {
"id": "string",
"type": "string",
"name": "string"
},
"target": {
"id": "string",
"type": "string",
"name": "string"
},
"context": {},
"created_at": "2023-06-07T05:39:56.961Z"
}
]
}
Bad Request - The request was malformed or contained invalid parameters.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Unauthorized - Authentication is required
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Forbidden - User does not have permission to access the resource
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Not Found - The requested resource was not found
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Internal Server Error. Returned when theres is something wrong with Frontier server.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...