v1

latestOpenAPI 3.1.02026-08-06330343826.1 KB
Policy

Assets Compliance For Policy Rule

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

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

Path parameters

policyIdinteger required

The identifier of the policy

Example:84

The identifier of the policy

ruleIdinteger required

The identifier of the policy rule.

Example:53

The identifier of the policy rule.

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