Documentation ¶
Index ¶
- type Note
- type NoteArgs
- type NoteAttestationAuthority
- type NoteAttestationAuthorityArgs
- func (NoteAttestationAuthorityArgs) ElementType() reflect.Type
- func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutput() NoteAttestationAuthorityOutput
- func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutputWithContext(ctx context.Context) NoteAttestationAuthorityOutput
- func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput
- func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput
- type NoteAttestationAuthorityHint
- type NoteAttestationAuthorityHintArgs
- func (NoteAttestationAuthorityHintArgs) ElementType() reflect.Type
- func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutput() NoteAttestationAuthorityHintOutput
- func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintOutput
- func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput
- func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput
- type NoteAttestationAuthorityHintInput
- type NoteAttestationAuthorityHintOutput
- func (NoteAttestationAuthorityHintOutput) ElementType() reflect.Type
- func (o NoteAttestationAuthorityHintOutput) HumanReadableName() pulumi.StringOutput
- func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutput() NoteAttestationAuthorityHintOutput
- func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintOutput
- func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput
- func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput
- type NoteAttestationAuthorityHintPtrInput
- type NoteAttestationAuthorityHintPtrOutput
- func (o NoteAttestationAuthorityHintPtrOutput) Elem() NoteAttestationAuthorityHintOutput
- func (NoteAttestationAuthorityHintPtrOutput) ElementType() reflect.Type
- func (o NoteAttestationAuthorityHintPtrOutput) HumanReadableName() pulumi.StringPtrOutput
- func (o NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput
- func (o NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput
- type NoteAttestationAuthorityInput
- type NoteAttestationAuthorityOutput
- func (NoteAttestationAuthorityOutput) ElementType() reflect.Type
- func (o NoteAttestationAuthorityOutput) Hint() NoteAttestationAuthorityHintOutput
- func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutput() NoteAttestationAuthorityOutput
- func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutputWithContext(ctx context.Context) NoteAttestationAuthorityOutput
- func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput
- func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput
- type NoteAttestationAuthorityPtrInput
- type NoteAttestationAuthorityPtrOutput
- func (o NoteAttestationAuthorityPtrOutput) Elem() NoteAttestationAuthorityOutput
- func (NoteAttestationAuthorityPtrOutput) ElementType() reflect.Type
- func (o NoteAttestationAuthorityPtrOutput) Hint() NoteAttestationAuthorityHintPtrOutput
- func (o NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput
- func (o NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput
- type NoteRelatedUrl
- type NoteRelatedUrlArgs
- type NoteRelatedUrlArray
- type NoteRelatedUrlArrayInput
- type NoteRelatedUrlArrayOutput
- func (NoteRelatedUrlArrayOutput) ElementType() reflect.Type
- func (o NoteRelatedUrlArrayOutput) Index(i pulumi.IntInput) NoteRelatedUrlOutput
- func (o NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutput() NoteRelatedUrlArrayOutput
- func (o NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutputWithContext(ctx context.Context) NoteRelatedUrlArrayOutput
- type NoteRelatedUrlInput
- type NoteRelatedUrlOutput
- func (NoteRelatedUrlOutput) ElementType() reflect.Type
- func (o NoteRelatedUrlOutput) Label() pulumi.StringPtrOutput
- func (o NoteRelatedUrlOutput) ToNoteRelatedUrlOutput() NoteRelatedUrlOutput
- func (o NoteRelatedUrlOutput) ToNoteRelatedUrlOutputWithContext(ctx context.Context) NoteRelatedUrlOutput
- func (o NoteRelatedUrlOutput) Url() pulumi.StringOutput
- type NoteState
- type Occurence
- type OccurenceArgs
- type OccurenceAttestation
- type OccurenceAttestationArgs
- func (OccurenceAttestationArgs) ElementType() reflect.Type
- func (i OccurenceAttestationArgs) ToOccurenceAttestationOutput() OccurenceAttestationOutput
- func (i OccurenceAttestationArgs) ToOccurenceAttestationOutputWithContext(ctx context.Context) OccurenceAttestationOutput
- func (i OccurenceAttestationArgs) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput
- func (i OccurenceAttestationArgs) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput
- type OccurenceAttestationInput
- type OccurenceAttestationOutput
- func (OccurenceAttestationOutput) ElementType() reflect.Type
- func (o OccurenceAttestationOutput) SerializedPayload() pulumi.StringOutput
- func (o OccurenceAttestationOutput) Signatures() OccurenceAttestationSignatureArrayOutput
- func (o OccurenceAttestationOutput) ToOccurenceAttestationOutput() OccurenceAttestationOutput
- func (o OccurenceAttestationOutput) ToOccurenceAttestationOutputWithContext(ctx context.Context) OccurenceAttestationOutput
- func (o OccurenceAttestationOutput) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput
- func (o OccurenceAttestationOutput) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput
- type OccurenceAttestationPtrInput
- type OccurenceAttestationPtrOutput
- func (o OccurenceAttestationPtrOutput) Elem() OccurenceAttestationOutput
- func (OccurenceAttestationPtrOutput) ElementType() reflect.Type
- func (o OccurenceAttestationPtrOutput) SerializedPayload() pulumi.StringPtrOutput
- func (o OccurenceAttestationPtrOutput) Signatures() OccurenceAttestationSignatureArrayOutput
- func (o OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput
- func (o OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput
- type OccurenceAttestationSignature
- type OccurenceAttestationSignatureArgs
- func (OccurenceAttestationSignatureArgs) ElementType() reflect.Type
- func (i OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutput() OccurenceAttestationSignatureOutput
- func (i OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutputWithContext(ctx context.Context) OccurenceAttestationSignatureOutput
- type OccurenceAttestationSignatureArray
- func (OccurenceAttestationSignatureArray) ElementType() reflect.Type
- func (i OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutput() OccurenceAttestationSignatureArrayOutput
- func (i OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutputWithContext(ctx context.Context) OccurenceAttestationSignatureArrayOutput
- type OccurenceAttestationSignatureArrayInput
- type OccurenceAttestationSignatureArrayOutput
- func (OccurenceAttestationSignatureArrayOutput) ElementType() reflect.Type
- func (o OccurenceAttestationSignatureArrayOutput) Index(i pulumi.IntInput) OccurenceAttestationSignatureOutput
- func (o OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutput() OccurenceAttestationSignatureArrayOutput
- func (o OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutputWithContext(ctx context.Context) OccurenceAttestationSignatureArrayOutput
- type OccurenceAttestationSignatureInput
- type OccurenceAttestationSignatureOutput
- func (OccurenceAttestationSignatureOutput) ElementType() reflect.Type
- func (o OccurenceAttestationSignatureOutput) PublicKeyId() pulumi.StringOutput
- func (o OccurenceAttestationSignatureOutput) Signature() pulumi.StringPtrOutput
- func (o OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutput() OccurenceAttestationSignatureOutput
- func (o OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutputWithContext(ctx context.Context) OccurenceAttestationSignatureOutput
- type OccurenceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Note ¶
type Note struct { pulumi.CustomResourceState // Note kind that represents a logical attestation "role" or "authority". // For example, an organization might have one AttestationAuthority for // "QA" and one for "build". This Note is intended to act strictly as a // grouping mechanism for the attached Occurrences (Attestations). This // grouping mechanism also provides a security boundary, since IAM ACLs // gate the ability for a principle to attach an Occurrence to a given // Note. It also provides a single point of lookup to find all attached // Attestation Occurrences, even if they don't all live in the same // project. Structure is documented below. AttestationAuthority NoteAttestationAuthorityOutput `pulumi:"attestationAuthority"` // The time this note was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Time of expiration for this note. Leave empty if note does not expire. ExpirationTime pulumi.StringPtrOutput `pulumi:"expirationTime"` // The type of analysis this note describes Kind pulumi.StringOutput `pulumi:"kind"` // A detailed description of the note LongDescription pulumi.StringPtrOutput `pulumi:"longDescription"` // The name of the note. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Names of other notes related to this note. RelatedNoteNames pulumi.StringArrayOutput `pulumi:"relatedNoteNames"` // URLs associated with this note and related metadata. Structure is documented below. RelatedUrls NoteRelatedUrlArrayOutput `pulumi:"relatedUrls"` // A one sentence description of the note. ShortDescription pulumi.StringPtrOutput `pulumi:"shortDescription"` // The time this note was last updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
A Container Analysis note is a high-level piece of metadata that describes a type of analysis that can be done for a resource.
To get more information about Note, see:
* [API documentation](https://cloud.google.com/container-analysis/api/reference/rest/) * How-to Guides
- [Official Documentation](https://cloud.google.com/container-analysis/)
- [Creating Attestations (Occurrences)](https://cloud.google.com/binary-authorization/docs/making-attestations)
## Example Usage
### Container Analysis Note Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/containeranalysis" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { note, err := containeranalysis.NewNote(ctx, "note", &containeranalysis.NoteArgs{ AttestationAuthority: &containeranalysis.NoteAttestationAuthorityArgs{ Hint: &containeranalysis.NoteAttestationAuthorityHintArgs{ HumanReadableName: pulumi.String("Attestor Note"), }, }, }) if err != nil { return err } return nil }) }
```
### Container Analysis Note Attestation Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/containeranalysis" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { note, err := containeranalysis.NewNote(ctx, "note", &containeranalysis.NoteArgs{ AttestationAuthority: &containeranalysis.NoteAttestationAuthorityArgs{ Hint: &containeranalysis.NoteAttestationAuthorityHintArgs{ HumanReadableName: pulumi.String("Attestor Note"), }, }, ExpirationTime: pulumi.String("2120-10-02T15:01:23.045123456Z"), LongDescription: pulumi.String("a longer description of test note"), RelatedUrls: containeranalysis.NoteRelatedUrlArray{ &containeranalysis.NoteRelatedUrlArgs{ Label: pulumi.String("foo"), Url: pulumi.String("some.url"), }, &containeranalysis.NoteRelatedUrlArgs{ Url: pulumi.String("google.com"), }, }, ShortDescription: pulumi.String("test note"), }) if err != nil { return err } return nil }) }
```
func GetNote ¶
func GetNote(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NoteState, opts ...pulumi.ResourceOption) (*Note, error)
GetNote gets an existing Note resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type NoteArgs ¶
type NoteArgs struct { // Note kind that represents a logical attestation "role" or "authority". // For example, an organization might have one AttestationAuthority for // "QA" and one for "build". This Note is intended to act strictly as a // grouping mechanism for the attached Occurrences (Attestations). This // grouping mechanism also provides a security boundary, since IAM ACLs // gate the ability for a principle to attach an Occurrence to a given // Note. It also provides a single point of lookup to find all attached // Attestation Occurrences, even if they don't all live in the same // project. Structure is documented below. AttestationAuthority NoteAttestationAuthorityInput // Time of expiration for this note. Leave empty if note does not expire. ExpirationTime pulumi.StringPtrInput // A detailed description of the note LongDescription pulumi.StringPtrInput // The name of the note. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Names of other notes related to this note. RelatedNoteNames pulumi.StringArrayInput // URLs associated with this note and related metadata. Structure is documented below. RelatedUrls NoteRelatedUrlArrayInput // A one sentence description of the note. ShortDescription pulumi.StringPtrInput }
The set of arguments for constructing a Note resource.
func (NoteArgs) ElementType ¶
type NoteAttestationAuthority ¶
type NoteAttestationAuthority struct { // This submessage provides human-readable hints about the purpose of // the AttestationAuthority. Because the name of a Note acts as its // resource reference, it is important to disambiguate the canonical // name of the Note (which might be a UUID for security purposes) // from "readable" names more suitable for debug output. Note that // these hints should NOT be used to look up AttestationAuthorities // in security sensitive contexts, such as when looking up // Attestations to verify. Structure is documented below. Hint NoteAttestationAuthorityHint `pulumi:"hint"` }
type NoteAttestationAuthorityArgs ¶
type NoteAttestationAuthorityArgs struct { // This submessage provides human-readable hints about the purpose of // the AttestationAuthority. Because the name of a Note acts as its // resource reference, it is important to disambiguate the canonical // name of the Note (which might be a UUID for security purposes) // from "readable" names more suitable for debug output. Note that // these hints should NOT be used to look up AttestationAuthorities // in security sensitive contexts, such as when looking up // Attestations to verify. Structure is documented below. Hint NoteAttestationAuthorityHintInput `pulumi:"hint"` }
func (NoteAttestationAuthorityArgs) ElementType ¶
func (NoteAttestationAuthorityArgs) ElementType() reflect.Type
func (NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutput ¶
func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutput() NoteAttestationAuthorityOutput
func (NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutputWithContext ¶
func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityOutputWithContext(ctx context.Context) NoteAttestationAuthorityOutput
func (NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutput ¶
func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput
func (NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutputWithContext ¶
func (i NoteAttestationAuthorityArgs) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput
type NoteAttestationAuthorityHint ¶
type NoteAttestationAuthorityHint struct { // The human readable name of this Attestation Authority, for // example "qa". HumanReadableName string `pulumi:"humanReadableName"` }
type NoteAttestationAuthorityHintArgs ¶
type NoteAttestationAuthorityHintArgs struct { // The human readable name of this Attestation Authority, for // example "qa". HumanReadableName pulumi.StringInput `pulumi:"humanReadableName"` }
func (NoteAttestationAuthorityHintArgs) ElementType ¶
func (NoteAttestationAuthorityHintArgs) ElementType() reflect.Type
func (NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutput ¶
func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutput() NoteAttestationAuthorityHintOutput
func (NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutputWithContext ¶
func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintOutput
func (NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutput ¶ added in v3.2.0
func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput
func (NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutputWithContext ¶ added in v3.2.0
func (i NoteAttestationAuthorityHintArgs) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput
type NoteAttestationAuthorityHintInput ¶
type NoteAttestationAuthorityHintInput interface { pulumi.Input ToNoteAttestationAuthorityHintOutput() NoteAttestationAuthorityHintOutput ToNoteAttestationAuthorityHintOutputWithContext(context.Context) NoteAttestationAuthorityHintOutput }
NoteAttestationAuthorityHintInput is an input type that accepts NoteAttestationAuthorityHintArgs and NoteAttestationAuthorityHintOutput values. You can construct a concrete instance of `NoteAttestationAuthorityHintInput` via:
NoteAttestationAuthorityHintArgs{...}
type NoteAttestationAuthorityHintOutput ¶
type NoteAttestationAuthorityHintOutput struct{ *pulumi.OutputState }
func (NoteAttestationAuthorityHintOutput) ElementType ¶
func (NoteAttestationAuthorityHintOutput) ElementType() reflect.Type
func (NoteAttestationAuthorityHintOutput) HumanReadableName ¶
func (o NoteAttestationAuthorityHintOutput) HumanReadableName() pulumi.StringOutput
The human readable name of this Attestation Authority, for example "qa".
func (NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutput ¶
func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutput() NoteAttestationAuthorityHintOutput
func (NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutputWithContext ¶
func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintOutput
func (NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutput ¶ added in v3.2.0
func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput
func (NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext ¶ added in v3.2.0
func (o NoteAttestationAuthorityHintOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput
type NoteAttestationAuthorityHintPtrInput ¶ added in v3.2.0
type NoteAttestationAuthorityHintPtrInput interface { pulumi.Input ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput ToNoteAttestationAuthorityHintPtrOutputWithContext(context.Context) NoteAttestationAuthorityHintPtrOutput }
NoteAttestationAuthorityHintPtrInput is an input type that accepts NoteAttestationAuthorityHintArgs, NoteAttestationAuthorityHintPtr and NoteAttestationAuthorityHintPtrOutput values. You can construct a concrete instance of `NoteAttestationAuthorityHintPtrInput` via:
NoteAttestationAuthorityHintArgs{...} or: nil
func NoteAttestationAuthorityHintPtr ¶ added in v3.2.0
func NoteAttestationAuthorityHintPtr(v *NoteAttestationAuthorityHintArgs) NoteAttestationAuthorityHintPtrInput
type NoteAttestationAuthorityHintPtrOutput ¶ added in v3.2.0
type NoteAttestationAuthorityHintPtrOutput struct{ *pulumi.OutputState }
func (NoteAttestationAuthorityHintPtrOutput) ElementType ¶ added in v3.2.0
func (NoteAttestationAuthorityHintPtrOutput) ElementType() reflect.Type
func (NoteAttestationAuthorityHintPtrOutput) HumanReadableName ¶ added in v3.2.0
func (o NoteAttestationAuthorityHintPtrOutput) HumanReadableName() pulumi.StringPtrOutput
The human readable name of this Attestation Authority, for example "qa".
func (NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutput ¶ added in v3.2.0
func (o NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutput() NoteAttestationAuthorityHintPtrOutput
func (NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext ¶ added in v3.2.0
func (o NoteAttestationAuthorityHintPtrOutput) ToNoteAttestationAuthorityHintPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityHintPtrOutput
type NoteAttestationAuthorityInput ¶
type NoteAttestationAuthorityInput interface { pulumi.Input ToNoteAttestationAuthorityOutput() NoteAttestationAuthorityOutput ToNoteAttestationAuthorityOutputWithContext(context.Context) NoteAttestationAuthorityOutput }
NoteAttestationAuthorityInput is an input type that accepts NoteAttestationAuthorityArgs and NoteAttestationAuthorityOutput values. You can construct a concrete instance of `NoteAttestationAuthorityInput` via:
NoteAttestationAuthorityArgs{...}
type NoteAttestationAuthorityOutput ¶
type NoteAttestationAuthorityOutput struct{ *pulumi.OutputState }
func (NoteAttestationAuthorityOutput) ElementType ¶
func (NoteAttestationAuthorityOutput) ElementType() reflect.Type
func (NoteAttestationAuthorityOutput) Hint ¶
func (o NoteAttestationAuthorityOutput) Hint() NoteAttestationAuthorityHintOutput
This submessage provides human-readable hints about the purpose of the AttestationAuthority. Because the name of a Note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should NOT be used to look up AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify. Structure is documented below.
func (NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutput ¶
func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutput() NoteAttestationAuthorityOutput
func (NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutputWithContext ¶
func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityOutputWithContext(ctx context.Context) NoteAttestationAuthorityOutput
func (NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutput ¶
func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput
func (NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutputWithContext ¶
func (o NoteAttestationAuthorityOutput) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput
type NoteAttestationAuthorityPtrInput ¶
type NoteAttestationAuthorityPtrInput interface { pulumi.Input ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput ToNoteAttestationAuthorityPtrOutputWithContext(context.Context) NoteAttestationAuthorityPtrOutput }
NoteAttestationAuthorityPtrInput is an input type that accepts NoteAttestationAuthorityArgs, NoteAttestationAuthorityPtr and NoteAttestationAuthorityPtrOutput values. You can construct a concrete instance of `NoteAttestationAuthorityPtrInput` via:
NoteAttestationAuthorityArgs{...} or: nil
func NoteAttestationAuthorityPtr ¶
func NoteAttestationAuthorityPtr(v *NoteAttestationAuthorityArgs) NoteAttestationAuthorityPtrInput
type NoteAttestationAuthorityPtrOutput ¶
type NoteAttestationAuthorityPtrOutput struct{ *pulumi.OutputState }
func (NoteAttestationAuthorityPtrOutput) Elem ¶
func (o NoteAttestationAuthorityPtrOutput) Elem() NoteAttestationAuthorityOutput
func (NoteAttestationAuthorityPtrOutput) ElementType ¶
func (NoteAttestationAuthorityPtrOutput) ElementType() reflect.Type
func (NoteAttestationAuthorityPtrOutput) Hint ¶
This submessage provides human-readable hints about the purpose of the AttestationAuthority. Because the name of a Note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should NOT be used to look up AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify. Structure is documented below.
func (NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutput ¶
func (o NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutput() NoteAttestationAuthorityPtrOutput
func (NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutputWithContext ¶
func (o NoteAttestationAuthorityPtrOutput) ToNoteAttestationAuthorityPtrOutputWithContext(ctx context.Context) NoteAttestationAuthorityPtrOutput
type NoteRelatedUrl ¶ added in v3.9.0
type NoteRelatedUrlArgs ¶ added in v3.9.0
type NoteRelatedUrlArgs struct { // Label to describe usage of the URL Label pulumi.StringPtrInput `pulumi:"label"` // Specific URL associated with the resource. Url pulumi.StringInput `pulumi:"url"` }
func (NoteRelatedUrlArgs) ElementType ¶ added in v3.9.0
func (NoteRelatedUrlArgs) ElementType() reflect.Type
func (NoteRelatedUrlArgs) ToNoteRelatedUrlOutput ¶ added in v3.9.0
func (i NoteRelatedUrlArgs) ToNoteRelatedUrlOutput() NoteRelatedUrlOutput
func (NoteRelatedUrlArgs) ToNoteRelatedUrlOutputWithContext ¶ added in v3.9.0
func (i NoteRelatedUrlArgs) ToNoteRelatedUrlOutputWithContext(ctx context.Context) NoteRelatedUrlOutput
type NoteRelatedUrlArray ¶ added in v3.9.0
type NoteRelatedUrlArray []NoteRelatedUrlInput
func (NoteRelatedUrlArray) ElementType ¶ added in v3.9.0
func (NoteRelatedUrlArray) ElementType() reflect.Type
func (NoteRelatedUrlArray) ToNoteRelatedUrlArrayOutput ¶ added in v3.9.0
func (i NoteRelatedUrlArray) ToNoteRelatedUrlArrayOutput() NoteRelatedUrlArrayOutput
func (NoteRelatedUrlArray) ToNoteRelatedUrlArrayOutputWithContext ¶ added in v3.9.0
func (i NoteRelatedUrlArray) ToNoteRelatedUrlArrayOutputWithContext(ctx context.Context) NoteRelatedUrlArrayOutput
type NoteRelatedUrlArrayInput ¶ added in v3.9.0
type NoteRelatedUrlArrayInput interface { pulumi.Input ToNoteRelatedUrlArrayOutput() NoteRelatedUrlArrayOutput ToNoteRelatedUrlArrayOutputWithContext(context.Context) NoteRelatedUrlArrayOutput }
NoteRelatedUrlArrayInput is an input type that accepts NoteRelatedUrlArray and NoteRelatedUrlArrayOutput values. You can construct a concrete instance of `NoteRelatedUrlArrayInput` via:
NoteRelatedUrlArray{ NoteRelatedUrlArgs{...} }
type NoteRelatedUrlArrayOutput ¶ added in v3.9.0
type NoteRelatedUrlArrayOutput struct{ *pulumi.OutputState }
func (NoteRelatedUrlArrayOutput) ElementType ¶ added in v3.9.0
func (NoteRelatedUrlArrayOutput) ElementType() reflect.Type
func (NoteRelatedUrlArrayOutput) Index ¶ added in v3.9.0
func (o NoteRelatedUrlArrayOutput) Index(i pulumi.IntInput) NoteRelatedUrlOutput
func (NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutput ¶ added in v3.9.0
func (o NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutput() NoteRelatedUrlArrayOutput
func (NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutputWithContext ¶ added in v3.9.0
func (o NoteRelatedUrlArrayOutput) ToNoteRelatedUrlArrayOutputWithContext(ctx context.Context) NoteRelatedUrlArrayOutput
type NoteRelatedUrlInput ¶ added in v3.9.0
type NoteRelatedUrlInput interface { pulumi.Input ToNoteRelatedUrlOutput() NoteRelatedUrlOutput ToNoteRelatedUrlOutputWithContext(context.Context) NoteRelatedUrlOutput }
NoteRelatedUrlInput is an input type that accepts NoteRelatedUrlArgs and NoteRelatedUrlOutput values. You can construct a concrete instance of `NoteRelatedUrlInput` via:
NoteRelatedUrlArgs{...}
type NoteRelatedUrlOutput ¶ added in v3.9.0
type NoteRelatedUrlOutput struct{ *pulumi.OutputState }
func (NoteRelatedUrlOutput) ElementType ¶ added in v3.9.0
func (NoteRelatedUrlOutput) ElementType() reflect.Type
func (NoteRelatedUrlOutput) Label ¶ added in v3.9.0
func (o NoteRelatedUrlOutput) Label() pulumi.StringPtrOutput
Label to describe usage of the URL
func (NoteRelatedUrlOutput) ToNoteRelatedUrlOutput ¶ added in v3.9.0
func (o NoteRelatedUrlOutput) ToNoteRelatedUrlOutput() NoteRelatedUrlOutput
func (NoteRelatedUrlOutput) ToNoteRelatedUrlOutputWithContext ¶ added in v3.9.0
func (o NoteRelatedUrlOutput) ToNoteRelatedUrlOutputWithContext(ctx context.Context) NoteRelatedUrlOutput
func (NoteRelatedUrlOutput) Url ¶ added in v3.9.0
func (o NoteRelatedUrlOutput) Url() pulumi.StringOutput
Specific URL associated with the resource.
type NoteState ¶
type NoteState struct { // Note kind that represents a logical attestation "role" or "authority". // For example, an organization might have one AttestationAuthority for // "QA" and one for "build". This Note is intended to act strictly as a // grouping mechanism for the attached Occurrences (Attestations). This // grouping mechanism also provides a security boundary, since IAM ACLs // gate the ability for a principle to attach an Occurrence to a given // Note. It also provides a single point of lookup to find all attached // Attestation Occurrences, even if they don't all live in the same // project. Structure is documented below. AttestationAuthority NoteAttestationAuthorityPtrInput // The time this note was created. CreateTime pulumi.StringPtrInput // Time of expiration for this note. Leave empty if note does not expire. ExpirationTime pulumi.StringPtrInput // The type of analysis this note describes Kind pulumi.StringPtrInput // A detailed description of the note LongDescription pulumi.StringPtrInput // The name of the note. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Names of other notes related to this note. RelatedNoteNames pulumi.StringArrayInput // URLs associated with this note and related metadata. Structure is documented below. RelatedUrls NoteRelatedUrlArrayInput // A one sentence description of the note. ShortDescription pulumi.StringPtrInput // The time this note was last updated. UpdateTime pulumi.StringPtrInput }
func (NoteState) ElementType ¶
type Occurence ¶ added in v3.9.0
type Occurence struct { pulumi.CustomResourceState // Occurrence that represents a single "attestation". The authenticity // of an attestation can be verified using the attached signature. // If the verifier trusts the public key of the signer, then verifying // the signature is sufficient to establish trust. In this circumstance, // the authority to which this attestation is attached is primarily // useful for lookup (how to find this attestation if you already // know the authority and artifact to be verified) and intent (for // which authority this attestation was intended to sign. Structure is documented below. Attestation OccurenceAttestationOutput `pulumi:"attestation"` // The time when the repository was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The note kind which explicitly denotes which of the occurrence details are specified. This field can be used as a filter // in list requests. Kind pulumi.StringOutput `pulumi:"kind"` // The name of the occurrence. Name pulumi.StringOutput `pulumi:"name"` // The analysis note associated with this occurrence, in the form of // projects/[PROJECT]/notes/[NOTE_ID]. This field can be used as a // filter in list requests. NoteName pulumi.StringOutput `pulumi:"noteName"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // A description of actions that can be taken to remedy the note. Remediation pulumi.StringPtrOutput `pulumi:"remediation"` // Required. Immutable. A URI that represents the resource for which // the occurrence applies. For example, // https://gcr.io/project/image@sha256:123abc for a Docker image. ResourceUri pulumi.StringOutput `pulumi:"resourceUri"` // The time when the repository was last updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
An occurrence is an instance of a Note, or type of analysis that can be done for a resource.
To get more information about Occurrence, see:
* [API documentation](https://cloud.google.com/container-analysis/api/reference/rest/) * How-to Guides
- [Official Documentation](https://cloud.google.com/container-analysis/)
func GetOccurence ¶ added in v3.9.0
func GetOccurence(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OccurenceState, opts ...pulumi.ResourceOption) (*Occurence, error)
GetOccurence gets an existing Occurence resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOccurence ¶ added in v3.9.0
func NewOccurence(ctx *pulumi.Context, name string, args *OccurenceArgs, opts ...pulumi.ResourceOption) (*Occurence, error)
NewOccurence registers a new resource with the given unique name, arguments, and options.
type OccurenceArgs ¶ added in v3.9.0
type OccurenceArgs struct { // Occurrence that represents a single "attestation". The authenticity // of an attestation can be verified using the attached signature. // If the verifier trusts the public key of the signer, then verifying // the signature is sufficient to establish trust. In this circumstance, // the authority to which this attestation is attached is primarily // useful for lookup (how to find this attestation if you already // know the authority and artifact to be verified) and intent (for // which authority this attestation was intended to sign. Structure is documented below. Attestation OccurenceAttestationInput // The analysis note associated with this occurrence, in the form of // projects/[PROJECT]/notes/[NOTE_ID]. This field can be used as a // filter in list requests. NoteName pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // A description of actions that can be taken to remedy the note. Remediation pulumi.StringPtrInput // Required. Immutable. A URI that represents the resource for which // the occurrence applies. For example, // https://gcr.io/project/image@sha256:123abc for a Docker image. ResourceUri pulumi.StringInput }
The set of arguments for constructing a Occurence resource.
func (OccurenceArgs) ElementType ¶ added in v3.9.0
func (OccurenceArgs) ElementType() reflect.Type
type OccurenceAttestation ¶ added in v3.9.0
type OccurenceAttestation struct { // The serialized payload that is verified by one or // more signatures. A base64-encoded string. SerializedPayload string `pulumi:"serializedPayload"` // One or more signatures over serializedPayload. // Verifier implementations should consider this attestation // message verified if at least one signature verifies // serializedPayload. See Signature in common.proto for more // details on signature structure and verification. Structure is documented below. Signatures []OccurenceAttestationSignature `pulumi:"signatures"` }
type OccurenceAttestationArgs ¶ added in v3.9.0
type OccurenceAttestationArgs struct { // The serialized payload that is verified by one or // more signatures. A base64-encoded string. SerializedPayload pulumi.StringInput `pulumi:"serializedPayload"` // One or more signatures over serializedPayload. // Verifier implementations should consider this attestation // message verified if at least one signature verifies // serializedPayload. See Signature in common.proto for more // details on signature structure and verification. Structure is documented below. Signatures OccurenceAttestationSignatureArrayInput `pulumi:"signatures"` }
func (OccurenceAttestationArgs) ElementType ¶ added in v3.9.0
func (OccurenceAttestationArgs) ElementType() reflect.Type
func (OccurenceAttestationArgs) ToOccurenceAttestationOutput ¶ added in v3.9.0
func (i OccurenceAttestationArgs) ToOccurenceAttestationOutput() OccurenceAttestationOutput
func (OccurenceAttestationArgs) ToOccurenceAttestationOutputWithContext ¶ added in v3.9.0
func (i OccurenceAttestationArgs) ToOccurenceAttestationOutputWithContext(ctx context.Context) OccurenceAttestationOutput
func (OccurenceAttestationArgs) ToOccurenceAttestationPtrOutput ¶ added in v3.9.0
func (i OccurenceAttestationArgs) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput
func (OccurenceAttestationArgs) ToOccurenceAttestationPtrOutputWithContext ¶ added in v3.9.0
func (i OccurenceAttestationArgs) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput
type OccurenceAttestationInput ¶ added in v3.9.0
type OccurenceAttestationInput interface { pulumi.Input ToOccurenceAttestationOutput() OccurenceAttestationOutput ToOccurenceAttestationOutputWithContext(context.Context) OccurenceAttestationOutput }
OccurenceAttestationInput is an input type that accepts OccurenceAttestationArgs and OccurenceAttestationOutput values. You can construct a concrete instance of `OccurenceAttestationInput` via:
OccurenceAttestationArgs{...}
type OccurenceAttestationOutput ¶ added in v3.9.0
type OccurenceAttestationOutput struct{ *pulumi.OutputState }
func (OccurenceAttestationOutput) ElementType ¶ added in v3.9.0
func (OccurenceAttestationOutput) ElementType() reflect.Type
func (OccurenceAttestationOutput) SerializedPayload ¶ added in v3.9.0
func (o OccurenceAttestationOutput) SerializedPayload() pulumi.StringOutput
The serialized payload that is verified by one or more signatures. A base64-encoded string.
func (OccurenceAttestationOutput) Signatures ¶ added in v3.9.0
func (o OccurenceAttestationOutput) Signatures() OccurenceAttestationSignatureArrayOutput
One or more signatures over serializedPayload. Verifier implementations should consider this attestation message verified if at least one signature verifies serializedPayload. See Signature in common.proto for more details on signature structure and verification. Structure is documented below.
func (OccurenceAttestationOutput) ToOccurenceAttestationOutput ¶ added in v3.9.0
func (o OccurenceAttestationOutput) ToOccurenceAttestationOutput() OccurenceAttestationOutput
func (OccurenceAttestationOutput) ToOccurenceAttestationOutputWithContext ¶ added in v3.9.0
func (o OccurenceAttestationOutput) ToOccurenceAttestationOutputWithContext(ctx context.Context) OccurenceAttestationOutput
func (OccurenceAttestationOutput) ToOccurenceAttestationPtrOutput ¶ added in v3.9.0
func (o OccurenceAttestationOutput) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput
func (OccurenceAttestationOutput) ToOccurenceAttestationPtrOutputWithContext ¶ added in v3.9.0
func (o OccurenceAttestationOutput) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput
type OccurenceAttestationPtrInput ¶ added in v3.9.0
type OccurenceAttestationPtrInput interface { pulumi.Input ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput ToOccurenceAttestationPtrOutputWithContext(context.Context) OccurenceAttestationPtrOutput }
OccurenceAttestationPtrInput is an input type that accepts OccurenceAttestationArgs, OccurenceAttestationPtr and OccurenceAttestationPtrOutput values. You can construct a concrete instance of `OccurenceAttestationPtrInput` via:
OccurenceAttestationArgs{...} or: nil
func OccurenceAttestationPtr ¶ added in v3.9.0
func OccurenceAttestationPtr(v *OccurenceAttestationArgs) OccurenceAttestationPtrInput
type OccurenceAttestationPtrOutput ¶ added in v3.9.0
type OccurenceAttestationPtrOutput struct{ *pulumi.OutputState }
func (OccurenceAttestationPtrOutput) Elem ¶ added in v3.9.0
func (o OccurenceAttestationPtrOutput) Elem() OccurenceAttestationOutput
func (OccurenceAttestationPtrOutput) ElementType ¶ added in v3.9.0
func (OccurenceAttestationPtrOutput) ElementType() reflect.Type
func (OccurenceAttestationPtrOutput) SerializedPayload ¶ added in v3.9.0
func (o OccurenceAttestationPtrOutput) SerializedPayload() pulumi.StringPtrOutput
The serialized payload that is verified by one or more signatures. A base64-encoded string.
func (OccurenceAttestationPtrOutput) Signatures ¶ added in v3.9.0
func (o OccurenceAttestationPtrOutput) Signatures() OccurenceAttestationSignatureArrayOutput
One or more signatures over serializedPayload. Verifier implementations should consider this attestation message verified if at least one signature verifies serializedPayload. See Signature in common.proto for more details on signature structure and verification. Structure is documented below.
func (OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutput ¶ added in v3.9.0
func (o OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutput() OccurenceAttestationPtrOutput
func (OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutputWithContext ¶ added in v3.9.0
func (o OccurenceAttestationPtrOutput) ToOccurenceAttestationPtrOutputWithContext(ctx context.Context) OccurenceAttestationPtrOutput
type OccurenceAttestationSignature ¶ added in v3.9.0
type OccurenceAttestationSignature struct { // The identifier for the public key that verifies this // signature. MUST be an RFC3986 conformant // URI. * When possible, the key id should be an // immutable reference, such as a cryptographic digest. // Examples of valid values: // * OpenPGP V4 public key fingerprint. See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr // for more details on this scheme. // * `openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA` // * RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): // * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" PublicKeyId string `pulumi:"publicKeyId"` // The content of the signature, an opaque bytestring. // The payload that this signature verifies MUST be // unambiguously provided with the Signature during // verification. A wrapper message might provide the // payload explicitly. Alternatively, a message might // have a canonical serialization that can always be // unambiguously computed to derive the payload. Signature *string `pulumi:"signature"` }
type OccurenceAttestationSignatureArgs ¶ added in v3.9.0
type OccurenceAttestationSignatureArgs struct { // The identifier for the public key that verifies this // signature. MUST be an RFC3986 conformant // URI. * When possible, the key id should be an // immutable reference, such as a cryptographic digest. // Examples of valid values: // * OpenPGP V4 public key fingerprint. See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr // for more details on this scheme. // * `openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA` // * RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): // * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" PublicKeyId pulumi.StringInput `pulumi:"publicKeyId"` // The content of the signature, an opaque bytestring. // The payload that this signature verifies MUST be // unambiguously provided with the Signature during // verification. A wrapper message might provide the // payload explicitly. Alternatively, a message might // have a canonical serialization that can always be // unambiguously computed to derive the payload. Signature pulumi.StringPtrInput `pulumi:"signature"` }
func (OccurenceAttestationSignatureArgs) ElementType ¶ added in v3.9.0
func (OccurenceAttestationSignatureArgs) ElementType() reflect.Type
func (OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutput ¶ added in v3.9.0
func (i OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutput() OccurenceAttestationSignatureOutput
func (OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutputWithContext ¶ added in v3.9.0
func (i OccurenceAttestationSignatureArgs) ToOccurenceAttestationSignatureOutputWithContext(ctx context.Context) OccurenceAttestationSignatureOutput
type OccurenceAttestationSignatureArray ¶ added in v3.9.0
type OccurenceAttestationSignatureArray []OccurenceAttestationSignatureInput
func (OccurenceAttestationSignatureArray) ElementType ¶ added in v3.9.0
func (OccurenceAttestationSignatureArray) ElementType() reflect.Type
func (OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutput ¶ added in v3.9.0
func (i OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutput() OccurenceAttestationSignatureArrayOutput
func (OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutputWithContext ¶ added in v3.9.0
func (i OccurenceAttestationSignatureArray) ToOccurenceAttestationSignatureArrayOutputWithContext(ctx context.Context) OccurenceAttestationSignatureArrayOutput
type OccurenceAttestationSignatureArrayInput ¶ added in v3.9.0
type OccurenceAttestationSignatureArrayInput interface { pulumi.Input ToOccurenceAttestationSignatureArrayOutput() OccurenceAttestationSignatureArrayOutput ToOccurenceAttestationSignatureArrayOutputWithContext(context.Context) OccurenceAttestationSignatureArrayOutput }
OccurenceAttestationSignatureArrayInput is an input type that accepts OccurenceAttestationSignatureArray and OccurenceAttestationSignatureArrayOutput values. You can construct a concrete instance of `OccurenceAttestationSignatureArrayInput` via:
OccurenceAttestationSignatureArray{ OccurenceAttestationSignatureArgs{...} }
type OccurenceAttestationSignatureArrayOutput ¶ added in v3.9.0
type OccurenceAttestationSignatureArrayOutput struct{ *pulumi.OutputState }
func (OccurenceAttestationSignatureArrayOutput) ElementType ¶ added in v3.9.0
func (OccurenceAttestationSignatureArrayOutput) ElementType() reflect.Type
func (OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutput ¶ added in v3.9.0
func (o OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutput() OccurenceAttestationSignatureArrayOutput
func (OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutputWithContext ¶ added in v3.9.0
func (o OccurenceAttestationSignatureArrayOutput) ToOccurenceAttestationSignatureArrayOutputWithContext(ctx context.Context) OccurenceAttestationSignatureArrayOutput
type OccurenceAttestationSignatureInput ¶ added in v3.9.0
type OccurenceAttestationSignatureInput interface { pulumi.Input ToOccurenceAttestationSignatureOutput() OccurenceAttestationSignatureOutput ToOccurenceAttestationSignatureOutputWithContext(context.Context) OccurenceAttestationSignatureOutput }
OccurenceAttestationSignatureInput is an input type that accepts OccurenceAttestationSignatureArgs and OccurenceAttestationSignatureOutput values. You can construct a concrete instance of `OccurenceAttestationSignatureInput` via:
OccurenceAttestationSignatureArgs{...}
type OccurenceAttestationSignatureOutput ¶ added in v3.9.0
type OccurenceAttestationSignatureOutput struct{ *pulumi.OutputState }
func (OccurenceAttestationSignatureOutput) ElementType ¶ added in v3.9.0
func (OccurenceAttestationSignatureOutput) ElementType() reflect.Type
func (OccurenceAttestationSignatureOutput) PublicKeyId ¶ added in v3.9.0
func (o OccurenceAttestationSignatureOutput) PublicKeyId() pulumi.StringOutput
The identifier for the public key that verifies this signature. MUST be an RFC3986 conformant URI. * When possible, the key id should be an immutable reference, such as a cryptographic digest. Examples of valid values: * OpenPGP V4 public key fingerprint. See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. * `openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA` * RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"
func (OccurenceAttestationSignatureOutput) Signature ¶ added in v3.9.0
func (o OccurenceAttestationSignatureOutput) Signature() pulumi.StringPtrOutput
The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
func (OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutput ¶ added in v3.9.0
func (o OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutput() OccurenceAttestationSignatureOutput
func (OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutputWithContext ¶ added in v3.9.0
func (o OccurenceAttestationSignatureOutput) ToOccurenceAttestationSignatureOutputWithContext(ctx context.Context) OccurenceAttestationSignatureOutput
type OccurenceState ¶ added in v3.9.0
type OccurenceState struct { // Occurrence that represents a single "attestation". The authenticity // of an attestation can be verified using the attached signature. // If the verifier trusts the public key of the signer, then verifying // the signature is sufficient to establish trust. In this circumstance, // the authority to which this attestation is attached is primarily // useful for lookup (how to find this attestation if you already // know the authority and artifact to be verified) and intent (for // which authority this attestation was intended to sign. Structure is documented below. Attestation OccurenceAttestationPtrInput // The time when the repository was created. CreateTime pulumi.StringPtrInput // The note kind which explicitly denotes which of the occurrence details are specified. This field can be used as a filter // in list requests. Kind pulumi.StringPtrInput // The name of the occurrence. Name pulumi.StringPtrInput // The analysis note associated with this occurrence, in the form of // projects/[PROJECT]/notes/[NOTE_ID]. This field can be used as a // filter in list requests. NoteName pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // A description of actions that can be taken to remedy the note. Remediation pulumi.StringPtrInput // Required. Immutable. A URI that represents the resource for which // the occurrence applies. For example, // https://gcr.io/project/image@sha256:123abc for a Docker image. ResourceUri pulumi.StringPtrInput // The time when the repository was last updated. UpdateTime pulumi.StringPtrInput }
func (OccurenceState) ElementType ¶ added in v3.9.0
func (OccurenceState) ElementType() reflect.Type