Skip to content

Search audit records

GET
/v2/compliance/decisions

Search for audit records with pagination and optional filtering.

search
string

Search term to filter.

Example
My item
page[number]
number

Page number (starts at 1)

Example
1
page[size]
number

Items per page

Example
10

List of audit records with pagination information.

object
items
required

List of policy evaluations

Array<object>
object
id
required

The ID of the policy evaluation

string
82c4fce1-d2c7-48cb-a647-6993dbe37819
request
required

The original request that was evaluated

object
{
"userId": "user123",
"resource": "document.pdf",
"action": "read"
}
reports
required

List of policy reports

Array<object>
object
act
required

The action taken by the policy

string
Allowed values: ALLOW DENY REPORT
ALLOW
why
required

The reason for the policy decision

string
User has sufficient permissions
[
{
"act": "REPORT",
"why": "Access logged for audit purposes"
}
]
allows
required

List of allowed actions

Array<object>
object
act
required

The action taken by the policy

string
Allowed values: ALLOW DENY REPORT
ALLOW
why
required

The reason for the policy decision

string
User has sufficient permissions
[
{
"act": "ALLOW",
"why": "User has read permission"
}
]
denies
required

List of denied actions

Array<object>
object
act
required

The action taken by the policy

string
Allowed values: ALLOW DENY REPORT
ALLOW
why
required

The reason for the policy decision

string
User has sufficient permissions
[
{
"act": "DENY",
"why": "User lacks write permission"
}
]
decision
required

Overall decision of the policy evaluation

boolean
true
page
required

Pagination information

object
number
required

Page number (starts at 1)

number
1
size
required

Items per page

number
10
totalPages
required

Total number of items

number
100
totalCount
required

Total number of pages

number
10
hasNext
required

Whether there is a next page

boolean
true
hasPrev
required

Whether there is a previous page

boolean

Bad Request

Unauthorized

Forbidden

Not Found

Internal Server Error