Documentation ¶
Index ¶
- type CveTools
- func (cv *CveTools) DetectAppVul(path string, apps []detectors.AppFeatureVersion, namespace string) []vulFullReport
- func (cv *CveTools) ScanAppPackage(req *share.ScanAppRequest, namespace string) (*share.ScanResult, error)
- func (cv *CveTools) ScanAwsLambda(req *share.ScanAwsLambdaRequest, imgPath string) (*share.ScanResult, error)
- func (cv *CveTools) ScanImage(ctx context.Context, req *share.ScanImageRequest, imgPath string) (*share.ScanResult, error)
- func (cv *CveTools) ScanImageData(data *share.ScanData) (*share.ScanResult, error)
- type SortBy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CveTools ¶
type CveTools struct { TbPath string RtSock string CveDBVersion string CveDBCreateTime string UpdateMux sync.RWMutex Update updateData SupportOs utils.Set ScanTool *scan.ScanUtil }
func NewCveTools ¶
NewCveTools establishs the initialization of cve tool
func (*CveTools) DetectAppVul ¶
func (cv *CveTools) DetectAppVul(path string, apps []detectors.AppFeatureVersion, namespace string) []vulFullReport
func (*CveTools) ScanAppPackage ¶
func (cv *CveTools) ScanAppPackage(req *share.ScanAppRequest, namespace string) (*share.ScanResult, error)
ScanAppPackage helps scanning application packages
func (*CveTools) ScanAwsLambda ¶
func (cv *CveTools) ScanAwsLambda(req *share.ScanAwsLambdaRequest, imgPath string) (*share.ScanResult, error)
ScanAwsLambda helps the AWS Lambda scanning
func (*CveTools) ScanImage ¶
func (cv *CveTools) ScanImage(ctx context.Context, req *share.ScanImageRequest, imgPath string) (*share.ScanResult, error)
ScanImage helps the Image scanning
func (*CveTools) ScanImageData ¶
ScanImageData helps scanning image data
Click to show internal directories.
Click to hide internal directories.