Skip to main content
Get target compliance

Authorizations

Authorization
string
header
default:Token <token>
required

Token-based authentication with required prefix "Token ". Example: "Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b"

Query Parameters

assets
string[]

Comma separated list of assets <asset>,<asset>. Defaults to all assets visible to the user.

Maximum array length: 100
interval
enum<string>
required
  • 1m - Aggregated in 1 minute periods. Window must be <= 1 day
  • 5m - Aggregated in 5 minute periods. Window must be <= 1 day
  • 1h - Aggregated in 1 hour periods.
  • 1d - Aggregated in 1 day periods.
Available options:
1m,
5m,
1h,
1d
Minimum string length: 1
target_ids
integer[]

Comma separated list of target ids to narrow the response.

Maximum array length: 100
Required range: x >= 1
time_end
string<date-time>
required
time_start
string<date-time>
required

Response

200 - application/json
time_start
string<date-time>
required
time_end
string<date-time>
required
interval
enum<string>
required
  • 1m - Aggregated in 1 minute periods. Window must be <= 1 day
  • 5m - Aggregated in 5 minute periods. Window must be <= 1 day
  • 1h - Aggregated in 1 hour periods.
  • 1d - Aggregated in 1 day periods.
Available options:
1m,
5m,
1h,
1d
targets
object[]
required