Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SCCServiceClient ¶
type SCCServiceClient interface {
// contains filtered or unexported methods
}
func NewSCCClient ¶
type SccAsset ¶ added in v0.14.0
type SccAsset struct { Type string `json:"type,omitempty"` Service string `json:"service,omitempty"` Location string `json:"location,omitempty"` FullName string `json:"full_name,omitempty"` DisplayName string `json:"display_name,omitempty"` ParentDisplayName string `json:"parent_display_name,omitempty"` ProjectDisplayName string `json:"project_display_name,omitempty"` Organization string `json:"organization,omitempty"` }
type SccFinding ¶ added in v0.11.0
type SccFinding struct { Asset *SccAsset `json:"asset"` Finding *sccv2pb.Finding `json:"finding"` SccDetailURL string `json:"scc_detail_url"` Vulnerability *vulnmodel.Vulnerability `json:"vulnerability,omitempty"` RiskenTriage *triage.RiskenTriage `json:"risken_triage,omitempty"` }
type SqsHandler ¶
type SqsHandler struct {
// contains filtered or unexported fields
}
func NewSqsHandler ¶
func NewSqsHandler( fc finding.FindingServiceClient, ac alert.AlertServiceClient, gc google.GoogleServiceClient, sccc SCCServiceClient, vc *vuln.Client, includeLowSeverity bool, reduceScoreFindingClass []string, l logging.Logger, ) *SqsHandler
func (*SqsHandler) GetVulnerability ¶ added in v0.14.0
func (s *SqsHandler) GetVulnerability(ctx context.Context, cveID string) (*model.Vulnerability, error)
func (*SqsHandler) HandleMessage ¶
Click to show internal directories.
Click to hide internal directories.