GoogleApi.ContainerAnalysis.V1beta1.Model.Link (google_api_container_analysis v0.14.0) View Source

This corresponds to an in-toto link.

Attributes

  • byproducts (type: GoogleApi.ContainerAnalysis.V1beta1.Model.ByProducts.t, default: nil) - ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
  • command (type: list(String.t), default: nil) - This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren't directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: "command": ["git", "clone", "https://github.com/in-toto/demo-project.git"]
  • environment (type: GoogleApi.ContainerAnalysis.V1beta1.Model.Environment.t, default: nil) - This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: "environment": { "custom_values": { "variables": "", "filesystem": "", "workdir": "", "": "..." } }
  • materials (type: list(GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1IntotoArtifact.t), default: nil) - Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: "materials": [ { "resource_uri": "foo/bar", "hashes": { "sha256": "ebebf...", : } } ]
  • products (type: list(GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1IntotoArtifact.t), default: nil) - Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.