v1

latestSwagger 2.0Apache 2.02026-07-13112149159.3 KB
Policies

Get specific policy

Get the policy bundle content

get/policies/{policyId}

Path parameters

policyIdstring required

Query parameters

detailboolean

Include policy bundle detail in the form of the full bundle content for each entry

Headers

x-anchore-accountstring

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

Response

A list with a single fetched policy bundle record

created_atstring date-time
last_updatedstring date-time
policyIdstring

The bundle's identifier

activeboolean

True if the bundle is currently defined to be used automatically

userIdstring

UserId of the user that owns the bundle

policy_sourcestring

Source location of where the policy bundle originated