Documentation ¶
Index ¶
Constants ¶
View Source
const ( VULNERABILITY = "vulnerability" SBOM = "sbom" SECRET = "secret" MALWARE = "malware" COMPLIANCE = "compliance" CLOUD_COMPLIANCE = "cloud_compliance" )
View Source
const ( SYFT_JSON = "syft-json" SPDX_JSON_2_2 = "spdx-json@2.2" SPDX_JSON_2_3 = "spdx-json@2.3" CYCLONEDX_JSON_1_5 = "cyclonedx-json@1.5" )
Variables ¶
View Source
var ( //go:embed assets/df-logo.png DeepfenceLogo []byte )
View Source
var ErrNotImplemented = errors.New("not implemented")
View Source
var ErrUnknownReportType = errors.New("unknown report type")
View Source
var (
ErrUnknownSbomFormat = errors.New("unknown sbom format")
)
View Source
var ErrUnknownScanType = errors.New("unknown scan type")
View Source
var ErrorMaxRecords = errors.New("number of records in result is greater than ReportRecordsMax, apply more filters to reduce number of records in results")
Functions ¶
Types ¶
type Info ¶
type Info[T any] struct { ScanType string Title string StartTime string EndTime string AppliedFilters sdkUtils.ReportFilters NodeWiseData NodeWiseData[T] }
type NodeWiseData ¶
type ScanData ¶
type ScanData[T any] struct { ScanInfo model.ScanResultsCommon ScanResults []T }
Click to show internal directories.
Click to hide internal directories.