Starting Sonar 10.2, Parameter 'types' is now deprecated (and 'severities', 'targetSeverity', 'active_severities').
We use types to bulk-activate (or bulk de-activate) rules on one quality profile. At the moment we have configured in all the rule files:
types=SECURITY_HOTSPOT,VULNERABILITY
The 10.2+ API has a new parameter for POST api/qualityprofiles/activate_rules:
"impactSoftwareQualities" (Comma-separated list of Software Qualities). With possible values:
MAINTAINABILITY
RELIABILITY
SECURITY
The old configured type: VULNERABILITY should be replaced by impactSoftwareQualities: SECURITY.
The old configured type: SECURITY_HOTSPOT should be replaced by impactSoftwareQualities: SECURITY_HOTSPOT.
Starting Sonar 10.2, Parameter
'types'
is now deprecated (and'severities', 'targetSeverity', 'active_severities'
). We use types to bulk-activate (or bulk de-activate) rules on one quality profile. At the moment we have configured in all the rule files:types=SECURITY_HOTSPOT,VULNERABILITY
The 10.2+ API has a new parameter for
POST api/qualityprofiles/activate_rules
:"impactSoftwareQualities"
(Comma-separated list of Software Qualities). With possible values:MAINTAINABILITY
RELIABILITY
SECURITY
The old configured
type: VULNERABILITY
should be replaced byimpactSoftwareQualities: SECURITY
.The old configured
type: SECURITY_HOTSPOT
should be replaced byimpactSoftwareQualities: SECURITY_HOTSPOT
.