Documentation
¶
Index ¶
Constants ¶
View Source
const ( OperationWhenRule = "OperationWhenRule" OperationWhenTextContains = "OperationWhenTextContains" OperationWhenTextNotContains = "OperationWhenTextNotContains" OperationWhenLocationContains = "OperationWhenLocationContains" )
Variables ¶
View Source
var ( AppConfig *config.Config Logger hclog.Logger )
Global variables for configuration and the command.
View Source
var DOJO_TOKEN = os.Getenv("SCANIO_DEFECTDOJO_TOKEN")
Functions ¶
Types ¶
type ReportMetadata ¶ added in v0.2.0
type ReportMetadata struct {
git.RepositoryMetadata
scaniosarif.ToolMetadata
Title string
Time time.Time
SourceFolder string
SeverityInfo map[string]int
WebURL string
BranchURL string
CommitURL string
}
type RunOptionsReportPatch ¶
type RunOptionsReportPatch struct {
Input string `json:"input,omitempty"`
Output string `json:"output,omitempty"`
WhenRule string `json:"when_rule,omitempty"`
WhenTextContains []string `json:"when_text_contains,omitempty"`
WhenTextNotContains []string `json:"when_text_not_contains,omitempty"`
WhenLocationContains []string `json:"when_location_contains,omitempty"`
SetSeverity string `json:"set_severity,omitempty"`
Delete bool `json:"delete,omitempty"`
}
type ToHTMLOptions ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.