circle-info
This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.

YAML

The analysis of YAML files is disabled by default. You can enable it by setting the sonar.yaml.activate property to true.

This property does not affect analysis of language / framework specific YAML files.

YAML files that are detected as belonging to CloudFormation, Kubernetes/Helm or Ansible will be additionally analyzed by the dedicated analyzers, next to this general YAML analysis.

Language-specific properties

Discover and update the YAML properties in Administration > Configuration > General Settings > Languages > YAML

Was this helpful?