Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finding ¶
type Finding struct {
ID string `json:"id"`
Time string `json:"time"`
TimestampMillis int64 `json:"timestampMillis"`
Type string `json:"type"`
Confidence string `json:"confidence"`
RuleName string `json:"ruleName"`
Value string `json:"value"`
URL string `json:"url,omitempty"`
Details map[string]string `json:"details,omitempty"`
}
type ScanContext ¶ added in v1.3.2
type ScanContext struct {
TargetURL string
Options []ScanOption
}
ScanContext describes the target and effective settings for one scan.
type ScanOption ¶ added in v1.3.2
ScanOption is a non-positional scan flag and its effective value.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func StartIfEnabled ¶
func StartWithContext ¶ added in v1.3.2
func StartWithContext(scanContext ScanContext) (*Server, error)
StartWithContext starts a findings UI server and attaches sanitized scan context.
func StartWithContextIfEnabled ¶ added in v1.3.2
func StartWithContextIfEnabled(enabled bool, scanContext ScanContext) *Server
StartWithContextIfEnabled starts the findings UI with scan context when enabled.
Click to show internal directories.
Click to hide internal directories.