Show / Hide Table of Contents

Class Link

This corresponds to an in-toto link.

Inheritance
object
Link
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ContainerAnalysis.v1beta1.Data
Assembly: Google.Apis.ContainerAnalysis.v1beta1.dll
Syntax
public class Link : IDirectResponseSchema

Properties

Byproducts

ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.

Declaration
[JsonProperty("byproducts")]
public virtual ByProducts Byproducts { get; set; }
Property Value
Type Description
ByProducts

Command

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"]

Declaration
[JsonProperty("command")]
public virtual IList<string> Command { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Environment

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": "", "": "..." } }

Declaration
[JsonProperty("environment")]
public virtual Environment Environment { get; set; }
Property Value
Type Description
Environment

Materials

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...", : } } ]

Declaration
[JsonProperty("materials")]
public virtual IList<GrafeasV1beta1IntotoArtifact> Materials { get; set; }
Property Value
Type Description
IList<GrafeasV1beta1IntotoArtifact>

Products

Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.

Declaration
[JsonProperty("products")]
public virtual IList<GrafeasV1beta1IntotoArtifact> Products { get; set; }
Property Value
Type Description
IList<GrafeasV1beta1IntotoArtifact>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX