Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApplicabilityRuleIdPrefix = "applic_" ApplicabilitySarifPropertyKey = "applicability" DynamicTokenValidationMinXrayVersion = "3.101.0" TokenValidationStatusForNonTokens = "Not a token" )
View Source
const SastFingerprintKey = "precise_sink_and_sink_function"
Variables ¶
View Source
var TokenValidationOrder = map[string]int{
"Active": 1,
"Unsupported": 2,
"Unavailable": 3,
"Inactive": 4,
"Not a token": 5,
"": 6,
}
Functions ¶
func ConvertApplicableToScore ¶ added in v1.6.0
Types ¶
type ApplicabilityStatus ¶
type ApplicabilityStatus string
const ( Applicable ApplicabilityStatus = "Applicable" NotApplicable ApplicabilityStatus = "Not Applicable" ApplicabilityUndetermined ApplicabilityStatus = "Undetermined" NotCovered ApplicabilityStatus = "Not Covered" MissingContext ApplicabilityStatus = "Missing Context" 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 GetJasScanTypes ¶ added in v1.12.0
func GetJasScanTypes() []JasScanType
func SubScanTypeToJasScanType ¶ added in v1.12.0
func SubScanTypeToJasScanType(subScanType utils.SubScanType) JasScanType
func (JasScanType) String ¶
func (jst JasScanType) String() string
type TokenValidationStatus ¶ added in v1.10.0
type TokenValidationStatus string
const ( Active TokenValidationStatus = "Active" Inactive TokenValidationStatus = "Inactive" Unsupported TokenValidationStatus = "Unsupported" NotAToken TokenValidationStatus = TokenValidationStatusForNonTokens )
func (TokenValidationStatus) String ¶ added in v1.10.0
func (tvs TokenValidationStatus) String() string
func (TokenValidationStatus) ToString ¶ added in v1.10.0
func (tvs TokenValidationStatus) ToString() string
Click to show internal directories.
Click to hide internal directories.