Skip to content

Commit

Permalink
fix up yaml comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cnwaldron committed Nov 15, 2023
1 parent e94c957 commit 81910f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ spec:
type: string
required:
- artifact
- os
- scanner
- secrets
- summary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ spec:
type: array
required:
- artifact
- os
- scanner
- summary
- updateTimestamp
Expand Down
9 changes: 4 additions & 5 deletions pkg/apis/aquasecurity/v1alpha1/vulnerability_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,17 @@ type Artifact struct {
MimeType string `json:"mimeType,omitempty"`
}

// OS represents a standalone, executable package of software that
// includes everything needed to run an application.
// OS is the Operating System of the Artifact
type OS struct {
// Repository is the name of the repository in the Artifact registry.
// Family is the Operating System Family
// +optional
Family ostype.OSType `json:"family"`

// Digest is a unique and immutable identifier of an Artifact.
// Name is the generally the version of the OS
// +optional
Name string `json:"name,omitempty"`

// Tag is a mutable, human-readable string used to identify an Artifact.
// Eosl is the End of Service Life and is true if the OS version being used has reached it's end of service life
// +optional
Eosl bool `json:"eosl,omitempty"`
}
Expand Down

0 comments on commit 81910f5

Please sign in to comment.