-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_v1beta1_note.go
50 lines (47 loc) · 2.26 KB
/
model_v1beta1_note.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* proto/v1beta1/grafeas.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: version not set
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package gofeas
import (
"time"
)
// A type of analysis that can be done for a resource.
type V1beta1Note struct {
// Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Name string `json:"name,omitempty"`
// A one sentence description of this note.
ShortDescription string `json:"short_description,omitempty"`
// A detailed description of this note.
LongDescription string `json:"long_description,omitempty"`
// Output only. The type of analysis. This field can be used as a filter in list requests.
Kind *V1beta1NoteKind `json:"kind,omitempty"`
// URLs associated with this note.
RelatedUrl []V1beta1RelatedUrl `json:"related_url,omitempty"`
// Time of expiration for this note. Empty if note does not expire.
ExpirationTime time.Time `json:"expiration_time,omitempty"`
// Output only. The time this note was created. This field can be used as a filter in list requests.
CreateTime time.Time `json:"create_time,omitempty"`
// Output only. The time this note was last updated. This field can be used as a filter in list requests.
UpdateTime time.Time `json:"update_time,omitempty"`
// Other notes related to this note.
RelatedNoteNames []string `json:"related_note_names,omitempty"`
// A note describing a package vulnerability.
Vulnerability *VulnerabilityVulnerability `json:"vulnerability,omitempty"`
// A note describing build provenance for a verifiable build.
Build *BuildBuild `json:"build,omitempty"`
// A note describing a base image.
BaseImage *ImageBasis `json:"base_image,omitempty"`
// A note describing a package hosted by various package managers.
Package_ *PackagePackage `json:"package,omitempty"`
// A note describing something that can be deployed.
Deployable *DeploymentDeployable `json:"deployable,omitempty"`
// A note describing the initial analysis of a resource.
Discovery *DiscoveryDiscovery `json:"discovery,omitempty"`
// A note describing an attestation role.
AttestationAuthority *AttestationAuthority `json:"attestation_authority,omitempty"`
}