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.
| Key | Values |
|---|---|
md-project | Project identifiers |
md-environment | Environment identifiers, such as prod, each listed once |
md-component | Component identifiers, such as database, each listed once |
md-instance | Instance identifiers |
md-repo | Repository names |
md-bundle | Bundle names and every published version as name@version, deployed or not |
md-resource-type | Resource type names and every version as name@version |
md-repo-artifact-type | bundle and resource-type |
md-id | Full identifiers of projects, environments, components, and instances, such as api-prod, and repository names |
| A custom attribute key | The 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.