templates

package
v0.0.76 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package templates contains template strings for evaluation details.

Index

Constants

This section is empty.

Variables

View Source
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`.

View Source
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.

View Source
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`.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

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