jasutils

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ApplicabilityRuleIdPrefix = "applic_"
)

Variables

This section is empty.

Functions

func ApplicabilityRuleIdToCve

func ApplicabilityRuleIdToCve(sarifRuleId string) string

func CveToApplicabilityRuleId

func CveToApplicabilityRuleId(cveId string) string

Types

type ApplicabilityStatus

type ApplicabilityStatus string
const (
	Applicable                ApplicabilityStatus = "Applicable"
	NotApplicable             ApplicabilityStatus = "Not Applicable"
	ApplicabilityUndetermined ApplicabilityStatus = "Undetermined"
	NotCovered                ApplicabilityStatus = "Not Covered"
	NotScanned                ApplicabilityStatus = ""
)

func ConvertToApplicabilityStatus

func ConvertToApplicabilityStatus(status string) ApplicabilityStatus

func (ApplicabilityStatus) String

func (as ApplicabilityStatus) String() string

func (ApplicabilityStatus) ToString

func (as ApplicabilityStatus) ToString(pretty bool) string

type JasScanType

type JasScanType string
const (
	Applicability JasScanType = "Applicability"
	Secrets       JasScanType = "Secrets"
	IaC           JasScanType = "IaC"
	Sast          JasScanType = "Sast"
)

func (JasScanType) String

func (jst JasScanType) String() string

Jump to

Keyboard shortcuts

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