Policies

List policies

List all saved policy bundles

get/policies

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /policies
  • Auth
    none declared

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

Changes

No recorded changes to this operation across all 70 revisions of this API.