Help us shape the future of Go! Take the 2026 Go Developer Survey

adapter

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCvePolicy

func BuildCvePolicy(request *bean2.CreateVulnerabilityPolicyRequest, action bean3.PolicyAction, severity bean3.Severity, time time.Time, userId int32) *repository.CvePolicy

func BuildImageVulnerabilityResponse

func BuildImageVulnerabilityResponse(image string, vulnerabilities parser.Vulnerabilities, metadata *parser.Metadata) *parser.ImageVulnerability

func BuildMetadata

func BuildMetadata(status string, startedOn time.Time, scanToolName string) *parser.Metadata

func BuildVulnerabilitiesWrapperWithSummary

func BuildVulnerabilitiesWrapperWithSummary(allVulnerability []*bean.Vulnerabilities) *parser.Vulnerabilities

func ConvertBeanVulnerabilityToParserFormat

func ConvertBeanVulnerabilityToParserFormat(vulnerabilities []*bean.Vulnerabilities) []parser.Vulnerability

func ExecutionDetailsToResourceScanResponseDto

func ExecutionDetailsToResourceScanResponseDto(respFromExecutionDetail *bean.ImageScanExecutionDetail) (resp parser.ResourceScanResponseDto)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL