v1

latestOpenAPI 3.1.02026-08-06330343826.1 KB
Policy

Assets Compliance For Policy Rules Under Policy Group

Retrieves asset resources with rule compliance status against all rules under the specified policy group.

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

Path parameters

groupIdinteger required

The identifier of the policy group.

Example:71

The identifier of the policy group.

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