JSON
Language-specific information about the way that SonarQube Cloud supports the analysis of JSON files.
Last updated
Was this helpful?
Language-specific information about the way that SonarQube Cloud supports the analysis of JSON files.
The analysis of JSON files is enabled for some organizations via a feature flag and will soon be enabled by default for all users. If you want to manually opt-in, you can set the sonar.featureflag.cloud-security-enable-generic-yaml-and-json-analyzer property to true.
By setting the above mentioned property to false, you can also opt-out of the analysis during this roll-out phase.
You can permanently disable the analysis by setting the sonar.json.activate property to false.
These properties do not affect analysis of language / framework specific YAML files.
In addition to this general JSON analysis, JSON files that are detected as belonging to the CloudFormation or Azure Resource Manager language-types are also analyzed by the dedicated analyzers.
To discover and update the JSON-specific properties, navigate in SonarQube Cloud to Your Project > Administration > General Settings > Languages > JSON. See Configuration overview for more information about setting properties.
Last updated
Was this helpful?
Was this helpful?

