v1

latestSwagger 2.0Apache 2.02026-07-13112149159.3 KB
Policies

List policies

List all saved policy bundles

get/policies

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

Policy listing

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