Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowanceReport ¶
type Finding ¶
type Finding struct {
Rule string `json:"rule"`
Class string `json:"class"`
Path string `json:"path"`
PathSHA256 string `json:"pathSHA256"`
PathBase64URL string `json:"pathBase64url"`
Line int `json:"line,omitempty"`
Column int `json:"column,omitempty"`
SourceVariant string `json:"sourceVariant"`
ContentSHA256 string `json:"contentSHA256"`
Message string `json:"message"`
}
type NonTextAllowance ¶
type Options ¶
type Options struct {
Root string
Scope Scope
Files []string
Base string
Head string
RemoteName string
RemoteURLSHA256 string
RemoteRefs []string
PushUpdates []PushUpdate
NonTextAllowances []NonTextAllowance
RecurseGitlinks bool
OutputFormat string
ReportPath string
// contains filtered or unexported fields
}
type PathIdentity ¶
type PushUpdate ¶
type Report ¶
type Report struct {
SchemaVersion string `json:"schemaVersion"`
Command string `json:"command"`
GeneratedAt string `json:"generatedAt"`
Status string `json:"status"`
Passed bool `json:"passed"`
Scope Scope `json:"scope"`
ScannedFiles []PathIdentity `json:"scannedFiles"`
ScannedInputs []ScannedInput `json:"scannedInputs"`
NonTextAllowances []AllowanceReport `json:"nonTextAllowances"`
Findings []Finding `json:"findings"`
}
type ScannedInput ¶
Click to show internal directories.
Click to hide internal directories.