POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}

Set deployment records for a given cluster.

Servers

Path parameters

Name Type Required Description
cluster String Yes

The cluster name.

org String Yes

The organization name. The name is not case sensitive.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
physical_environment String No

The physical region of the deployment.

logical_environment String No

The stage of the deployment.

deployments[] Array No

The list of deployments to record.

deployments[].github_repository String No

The name of the GitHub repository associated with the artifact. This should be used when there are no provenance attestations available for the artifact. The repository must belong to the organization specified in the path parameter.

If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter.

deployments[].runtime_risks[] Array No

A list of runtime risks associated with the deployment.

deployments[].name String No

The name of the artifact.

deployments[].digest String No

The hex encoded digest of the artifact.

deployments[].version String No

The artifact version.

deployments[].deployment_name String No

The name of the deployment.

deployments[].tags Object No

Key-value pairs to tag the deployment record.

deployments[].status String No

The deployment status of the artifact.

Valid values:

  • "deployed"
  • "decommissioned"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.