Skip to content

Trivy Vulnerability Scanner Schema

Note

This is auto-generated documentation from a JSON schema that is under construction, this will improve over time.

Return to the root config schema

https://raw.githubusercontent.com/elastisys/compliantkubernetes-apps/v0.40.1/config/schemas/config.yaml#/properties/trivy/properties/vulnerabilityScanner

Configure the vulnerability scanner for Trivy.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Forbidden none config/schemas/config.yaml*

TYPE:

object (Trivy Vulnerability Scanner)

PROPERTIES:

Property Type Required Nullable Defined by
scanOnlyCurrentRevisions boolean Optional cannot be null Compliant Kubernetes Apps Config
scannerReportTTL string Optional cannot be null Compliant Kubernetes Apps Config

scanOnlyCurrentRevisions

scanOnlyCurrentRevisions

TYPE:

boolean (Trivy Scan Current Revisions)

DEFAULTS:

The default value is:

true

scannerReportTTL

An amount of time

scannerReportTTL

TYPE:

string (Time Range)

CONSTRAINTS:

pattern: the string must match the following regular expression:

^[0-9]+[hmsd]+$

try pattern

DEFAULTS:

The default value is:

"720h"

EXAMPLES:

300s
72h
3d

Return to the root config schema


Generated Thu Nov 14 16:18:57 UTC 2024 from elastisys/compliantkubernetes-apps@v0.40.1