Documentation
¶
Overview ¶
Package report serializes collected scan results to sarif and markdown. it's deliberately decoupled from the scan package: callers map their own results into report.Result, so report never imports a scanner type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Result ¶
type Result struct {
Target string
Module string
Severity string
Data json.RawMessage
}
Result is one module's output for one target. Data is whatever the scanner returned, carried as raw json so report stays free of scan types. Severity is the normalized rank ("critical".."info", or "" when the source carries none), passed in as a plain string so report keeps its independence from the finding package; the sarif writer maps it onto a sarif level.
Click to show internal directories.
Click to hide internal directories.