Authorizations
Bearer token for authentication
Path Parameters
The name of the policy group to retrieve
Query Parameters
if set, it will return the policy with the given digest otherwise it will return the latest version
If set, returns the policy group with the given digest; otherwise returns the latest version
Organization owning this policy group (empty for best effort fallback)
Organization owning this policy group (empty for best effort fallback)
Response
A successful response.
Response containing a policy group and its metadata
The digest of the policy group
{
"format": "FORMAT_UNSPECIFIED",
"body": "body"
}
{
"version_references": [
{
"digest": "digest",
"created_at": "2000-01-23T04:56:07.000Z"
},
{
"digest": "digest",
"created_at": "2000-01-23T04:56:07.000Z"
}
],
"attestation": [
{ "with": { "key": "with" }, "ref": "ref" },
{ "with": { "key": "with" }, "ref": "ref" }
],
"materials": [
{
"name": "name",
"policies": [
{ "with": { "key": "with" }, "ref": "ref" },
{ "with": { "key": "with" }, "ref": "ref" }
],
"type": "type"
},
{
"name": "name",
"policies": [
{ "with": { "key": "with" }, "ref": "ref" },
{ "with": { "key": "with" }, "ref": "ref" }
],
"type": "type"
}
],
"raw_group": {
"format": "FORMAT_UNSPECIFIED",
"body": "body"
},
"builtin": true,
"organization_id": "organization_id",
"digest": "digest",
"name": "name",
"description": "description",
"organization_name": "organization_name",
"category": "category",
"latest": true
}
Whether this is the latest version of the policy group (deprecated)
ID of the organization owning this policy group (deprecated)
Name of the organization owning this policy group
Whether this policy group is builtin (deprecated)
References to all versions of this policy group (deprecated)
JSON schema of the inputs required by the policy group