v1

latestOpenAPI 3.1.02026-08-06330343826.1 KB
Policy

Policy Asset Results

Retrieves asset resources with rule compliance results for the specified policy.

get/api/3/policies/{policyId}/assets

Path parameters

policyIdinteger required

The identifier of the policy

Example:84

The identifier of the policy

Query parameters

applicableOnlyboolean

An optional boolean parameter indicating the assets retrieved should only include those with rule results of either PASS or FAIL. Default value is false, which will also include assets with a compliance status of NOT_APPLICABLE.

pageinteger

The index of the page (zero-based) to retrieve.

sizeinteger

The number of records per page to retrieve.

sortstring[]

The criteria to sort the records by, in the format: property[,ASC|DESC]. The default sort order is ascending. Multiple sort criteria can be specified using multiple sort query parameters.

Response

OK