Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorValidation = errors.New("report failed validation")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Report ¶
type Report struct {
ProjectName string `json:"projectName"`
PipelineId string `json:"pipelineId"`
PipelineUrl string `json:"pipelineUrl"`
Timestamp string `json:"timestamp"`
Artifacts struct {
Grype grype.Artifact `json:"grype,omitempty"`
Semgrep semgrep.Artifact `json:"semgrep,omitempty"`
} `json:"artifacts"`
}
func (Report) WithConfig ¶
func (Report) WithSettings ¶
Click to show internal directories.
Click to hide internal directories.