Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extra ¶
type Extra struct {
Message string `json:"message"`
Metavars Metavars `json:"metavars"`
Metadata Metadata `json:"metadata"`
Severity string `json:"severity"`
Lines string `json:"lines"`
}
Extra contains extra info needed for semgrep issue
type Metadata ¶
type Metadata struct {
}
Metadata currently is empty, however, could represent semgrep issue metadata going forward.
type Metavars ¶
type Metavars struct {
}
Metavars currently is empty but could represent more metavariables for semgrep
type SemgrepIssue ¶
type SemgrepIssue struct {
CheckID string `json:"check_id"`
Path string `json:"path"`
Start Position `json:"start"`
End Position `json:"end"`
Extra Extra `json:"extra"`
}
SemgrepIssue represents a semgrep issue
type SemgrepResults ¶
type SemgrepResults struct {
Results []SemgrepIssue `'json:"results"`
}
SemgrepResults represents a series of semgrep issues
Click to show internal directories.
Click to hide internal directories.