Skip to content

Trivy Service Monitor 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/main/config/schemas/config.yaml#/properties/trivy/properties/serviceMonitor

Configure the service monitor collecting metrics from 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 Service Monitor)

PROPERTIES:

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

enabled

enabled

TYPE:

boolean (Trivy Service Monitor Enabled)

DEFAULTS:

The default value is:

true

interval

An amount of time

interval

TYPE:

string (Time Range)

CONSTRAINTS:

pattern: the string must match the following regular expression:

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

try pattern

EXAMPLES:

300s
72h
3d

Return to the root config schema


Generated Sun Jun 23 03:48:25 UTC 2024 from elastisys/compliantkubernetes-apps@main