Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Finding ¶
type Finding struct { FilePath string VulnDetails []VulnDetail }
type Invocation ¶
type Invocation struct { ExecutionSuccessful bool `json:"executionSuccessful"` ToolExecutionNotifications []Notification `json:"toolExecutionNotifications"` }
type Notification ¶
type Result ¶
type Result struct { RuleID string `json:"ruleId"` Message struct { Text string `json:"text"` } `json:"message"` Locations []struct { PhysicalLocation struct { ArtifactLocation struct { URI string `json:"uri"` URIBaseID string `json:"uriBaseId"` } `json:"artifactLocation"` Region struct { StartLine int `json:"startLine"` StartColumn int `json:"startColumn"` EndLine int `json:"endLine"` EndColumn int `json:"endColumn"` } `json:"region"` } `json:"physicalLocation"` } `json:"locations"` Suppressions []struct { Kind string `json:"kind"` Status string `json:"status,omitempty"` GUID string `json:"guid,omitempty"` } `json:"suppressions,omitempty"` }
type Rule ¶
type Rule struct { DefaultConfiguration struct { Level string `json:"level"` } `json:"defaultConfiguration"` FullDescription struct { Text string `json:"text"` } `json:"fullDescription"` Help string `json:"help"` ID string `json:"id"` Name string `json:"name"` Properties RuleProperties `json:"properties"` ShortDescription struct { Text string `json:"text"` } `json:"shortDescription"` }
type RuleProperties ¶
type Run ¶
type Run struct { Invocations []Invocation `json:"invocations"` Results []Result `json:"results"` Tool struct { Driver struct { Name string `json:"name"` SemanticVersion string `json:"semanticVersion"` Rules []Rule `json:"rules"` } `json:"driver"` } `json:"tool"` }
type SemgrepReportSarif ¶
type SemgrepReportText ¶
Click to show internal directories.
Click to hide internal directories.