Documentation ¶
Index ¶
- func CountEnrichedMessages(responses []*v1.EnrichedLaunchToolResponse) int
- func CountNewMessages(responses []*v1.EnrichedLaunchToolResponse) int
- func CountRawMessages(responses []*v1.LaunchToolResponse) int
- func GetEnrichedScanInfo(response *v1.EnrichedLaunchToolResponse) *v1.ScanInfo
- func GetRawScanInfo(response *v1.LaunchToolResponse) *v1.ScanInfo
- func ProcessEnrichedMessages(responses []*v1.EnrichedLaunchToolResponse) ([]string, error)
- func ProcessRawMessages(responses []*v1.LaunchToolResponse) ([]string, error)
- func PushMessage(b string, webhook string)
- func PushMetrics(scanUUID string, issuesNo int, scanStartTime time.Time, newMsgs int, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountEnrichedMessages ¶
func CountEnrichedMessages(responses []*v1.EnrichedLaunchToolResponse) int
CountEnrichedMessages a counter for enriched tool responses.
func CountNewMessages ¶
func CountNewMessages(responses []*v1.EnrichedLaunchToolResponse) int
CountNewMessages a counter for enriched tool responses, returns how many messages were never seen before.
func CountRawMessages ¶
func CountRawMessages(responses []*v1.LaunchToolResponse) int
CountRawMessages a counter for un-enriched tool responses.
func GetEnrichedScanInfo ¶
func GetEnrichedScanInfo(response *v1.EnrichedLaunchToolResponse) *v1.ScanInfo
GetEnrichedScanInfo returns the enriched tool response scan info.
func GetRawScanInfo ¶
func GetRawScanInfo(response *v1.LaunchToolResponse) *v1.ScanInfo
GetRawScanInfo returns the non-enriched tool response scan info.
func ProcessEnrichedMessages ¶
func ProcessEnrichedMessages(responses []*v1.EnrichedLaunchToolResponse) ([]string, error)
ProcessEnrichedMessages returns a list of stringified v1.EnrichedLaunchToolResponse.
func ProcessRawMessages ¶
func ProcessRawMessages(responses []*v1.LaunchToolResponse) ([]string, error)
ProcessRawMessages returns a list of stringified v1.LaunchToolResponse.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.