Skip to main content

valid-yaml

Overview

This rule belongs to the yaml-syntax-validation ruleset and states that:

YAML data must follow standards defined in the official YAML specification.

PropertyValue
EnabledYes
Maximum SeverityBlocking
MessageYAML data is invalid.
CodeYAMLSYNTAX_V200
TypeValidation
Rule SystemSyntax
Broad CategoryMiscellaneous
Tagsyaml data syntax preliminary checks validation yaml

Suggested Fixes

  • Make sure that your YAML does not contain any syntax issues.
  • Make sure that your YAML does not contain any semantic issues.
  • Make sure that your YAML follows all rules specified in the official specification.

For More Information