Skip to main content

alphaPolicyAttributeValues

Alpha: this API can change or be removed at any time, without notice.

List the values that a policy condition can name for one attribute key, across your organization, ordered by value. Use it to suggest values while a policy is written. A condition can also name a value that is not in this list.

KeyValues
md-projectProject identifiers
md-environmentEnvironment identifiers, such as prod, each listed once
md-componentComponent identifiers, such as database, each listed once
md-instanceInstance identifiers
md-repoRepository names
md-bundleBundle names and every published version as name@version, deployed or not
md-resource-typeResource type names and every version as name@version
md-repo-artifact-typebundle and resource-type
md-idFull identifiers of projects, environments, components, and instances, such as api-prod, and repository names
A custom attribute keyThe values declared for the attribute

Any other key returns an empty page. Requires the organization:manageGroups action.

graphql
alphaPolicyAttributeValues(
organizationId: ID!
key: String!
filter: AlphaPolicyAttributeValueFilter
cursor: Cursor
): AlphaPolicyAttributeValuesPage

Arguments​

alphaPolicyAttributeValues.organizationId ● ID! non-null scalar {#organization-id}​

Your organization's unique identifier.

alphaPolicyAttributeValues.key ● String! non-null scalar {#key}​

The attribute key, for example md-environment or TEAM.

alphaPolicyAttributeValues.filter ● AlphaPolicyAttributeValueFilter input {#filter}​

Narrow the values by their text.

alphaPolicyAttributeValues.cursor ● Cursor input {#cursor}​

Cursor from a previous page's cursor.next or cursor.previous.

Type​

AlphaPolicyAttributeValuesPage object​

Alpha: this API can change or be removed at any time, without notice.

A page of AlphaPolicyAttributeValue items.