Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEcosystemExclusions ¶ added in v1.18.1
func ValidateEcosystemExclusions(source string, field string, ecosystems []string, r reporter.Reporter)
ValidateEcosystemExclusions warns about ignore-ecosystems entries that will never match because they don't correspond to a known ecosystem. source and field name the origin of the entries (e.g. "config", "sca.ignore-ecosystems") for the warning message.
func ValidatePackageExclusions ¶ added in v1.18.1
ValidatePackageExclusions warns about ignore-packages entries that will never match because they're malformed or don't correspond to a known ecosystem. source and field name the origin of the entries (e.g. "config", "sca.ignore-packages") for the warning message.
Types ¶
type Exclusions ¶ added in v1.18.1
Exclusions holds the SCA scanning exclusions extracted from a unified config file.
func FetchExclusions ¶
func FetchExclusions(dir string, baseURL string, jwtToken string, exitOnFetchFailure bool, r reporter.Reporter) (Exclusions, string, error)
FetchExclusions returns ignore-path, ignore-ecosystem and ignore-package exclusions from local unified config and, when Datadog authentication is available, from the merged remote config.