Documentation ¶
Overview ¶
Package templates contains template strings for evaluation details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var InvisibleCharactersTemplate string
InvisibleCharactersTemplate is the template for details of the `homoglyphs` evaluation engine of type `invisible_characters`.
This template expects a list of Violations named `violations`.
var JqTemplate string
JqTemplate is the template for details of the `jq` evaluation engine.
This template expects three parameters, `path`, `expected`, and `actual`, which are strings.
var MixedScriptsTemplate string
MixedScriptsTemplate is the template for details of the `homoglyphs` evaluation engine of type `mixed_scripts`.
This template expects a list of Violations named `violations`.
var RegoConstraints string
RegoConstraints is the template for details of the `rego` evaluation engine of type `constraints`.
It expects a list of strings named `violations` to be set.
var RegoDenyByDefaultTemplate string
RegoDenyByDefaultTemplate is the template for details of the `rego` evaluation engine of type `deny-by-default`.
It expects a `message` scalar values to be set. It optionally accepts an `entityName` string.
var TrustyTemplate string
TrustyTemplate is the template for evaluation details of the `trusty` evaluation engine.
This template accepts two parameters, `lowScoringPackages` and `maliciousPackages`, which must be list of strings.
var VulncheckTemplate string
VulncheckTemplate is the template for evaluation details of the `vulncheck` evaluation engine.
It expects a list of strings value named `packages`.
Functions ¶
This section is empty.
Types ¶
This section is empty.