Skip to main content
Version: main-dev

trivy.output

Title: trivy.output

Typeobject
Additional propertiesNot allowed

Description: Vulnerability scan results from Trivy.

PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ analyzerNoconstNo-Unique identifier for the Trivy analyzer.
+ repositoryNostringNo-The image repository that was analyzed.
+ tagNostringNo-The image tag that was analyzed.
+ trivy_versionNostringNo-Version of the Trivy CLI tool used.
+ vulnerability_countNointegerNo-Total number of vulnerabilities found.
+ critical_countNointegerNo-Total number of Critical severity vulnerabilities.
+ high_countNointegerNo-Total number of High severity vulnerabilities.
+ medium_countNointegerNo-Total number of Medium severity vulnerabilities.
+ low_countNointegerNo-Total number of Low severity vulnerabilities.
+ unknown_countNointegerNo-Total number of Unknown severity vulnerabilities.
+ fixed_countNointegerNo-Total number of vulnerabilities with available fixes.
+ secrets_countNointegerNo-Total number of secrets or credentials found.
+ targetsNoarray of objectNo--

1. Required Property analyzer

Typeconst

Description: Unique identifier for the Trivy analyzer.

Specific value: "trivy"

2. Required Property repository

Typestring

Description: The image repository that was analyzed.

3. Required Property tag

Typestring

Description: The image tag that was analyzed.

4. Required Property trivy_version

Typestring

Description: Version of the Trivy CLI tool used.

5. Required Property vulnerability_count

Typeinteger

Description: Total number of vulnerabilities found.

Restrictions
Minimum≥ 0

6. Required Property critical_count

Typeinteger

Description: Total number of Critical severity vulnerabilities.

Restrictions
Minimum≥ 0

7. Required Property high_count

Typeinteger

Description: Total number of High severity vulnerabilities.

Restrictions
Minimum≥ 0

8. Required Property medium_count

Typeinteger

Description: Total number of Medium severity vulnerabilities.

Restrictions
Minimum≥ 0

9. Required Property low_count

Typeinteger

Description: Total number of Low severity vulnerabilities.

Restrictions
Minimum≥ 0

10. Required Property unknown_count

Typeinteger

Description: Total number of Unknown severity vulnerabilities.

Restrictions
Minimum≥ 0

11. Required Property fixed_count

Typeinteger

Description: Total number of vulnerabilities with available fixes.

Restrictions
Minimum≥ 0

12. Required Property secrets_count

Typeinteger

Description: Total number of secrets or credentials found.

Restrictions
Minimum≥ 0

13. Required Property targets

Typearray of object
Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
targets items-

13.1. targets items

Typeobject
Additional propertiesAny type: allowed
PropertyPatternTypeDeprecatedDefinitionTitle/Description
- SecretsNoarray of object or nullNo-List of secrets discovered in this target.
+ TargetNostringNo-The scan target (e.g., a file path or OS distribution name).
+ VulnerabilitiesNoarray of object or nullNo-List of vulnerabilities discovered in this target.

13.1.1. Property Secrets

Typearray of object or null

Description: List of secrets discovered in this target.

Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
Secrets items-
13.1.1.1. Secrets items
Typeobject
Additional propertiesAny type: allowed
PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ RuleIDNostringNo--
+ TitleNostringNo--
+ SeverityNostringNo--
+ MatchNostringNo--
13.1.1.1.1. Property RuleID
Typestring
13.1.1.1.2. Property Title
Typestring
13.1.1.1.3. Property Severity
Typestring
13.1.1.1.4. Property Match
Typestring

13.1.2. Property Target

Typestring

Description: The scan target (e.g., a file path or OS distribution name).

13.1.3. Property Vulnerabilities

Typearray of object or null

Description: List of vulnerabilities discovered in this target.

Array restrictions
Min itemsN/A
Max itemsN/A
Items unicityFalse
Additional itemsFalse
Tuple validationSee below
Each item of this array must beDescription
Vulnerabilities items-
13.1.3.1. Vulnerabilities items
Typeobject
Additional propertiesAny type: allowed
PropertyPatternTypeDeprecatedDefinitionTitle/Description
+ VulnerabilityIDNostringNo-CVE ID or tool-specific vulnerability identifier.
+ PkgNameNostringNo-Name of the affected package.
+ InstalledVersionNostringNo-Version of the package installed in the image.
- FixedVersionNostringNo-Version of the package that contains a fix, if available.
+ SeverityNostringNo-Severity level assigned by Trivy.
- TitleNostringNo-Short title describing the vulnerability.
- DescriptionNostringNo-Full description of the vulnerability.
13.1.3.1.1. Property VulnerabilityID
Typestring

Description: CVE ID or tool-specific vulnerability identifier.

13.1.3.1.2. Property PkgName
Typestring

Description: Name of the affected package.

13.1.3.1.3. Property InstalledVersion
Typestring

Description: Version of the package installed in the image.

13.1.3.1.4. Property FixedVersion
Typestring

Description: Version of the package that contains a fix, if available.

13.1.3.1.5. Property Severity
Typestring

Description: Severity level assigned by Trivy.

13.1.3.1.6. Property Title
Typestring

Description: Short title describing the vulnerability.

13.1.3.1.7. Property Description
Typestring

Description: Full description of the vulnerability.


Generated using json-schema-for-humans on 2026-03-21 at 11:43:37 +0000

  • 1. Required Property analyzer
  • 2. Required Property repository
  • 3. Required Property tag
  • 4. Required Property trivy_version
  • 5. Required Property vulnerability_count
  • 6. Required Property critical_count
  • 7. Required Property high_count
  • 8. Required Property medium_count
  • 9. Required Property low_count
  • 10. Required Property unknown_count
  • 11. Required Property fixed_count
  • 12. Required Property secrets_count
  • 13. Required Property targets
    • 13.1. targets items