You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
denniebouman
changed the title
Update way of working for bulk-activate rules on one quality profile.
Update way of working for bulk-change rules on one quality profile.
Nov 7, 2023
wkoot
changed the title
Update way of working for bulk-change rules on one quality profile.
Update way of working for bulk-change rules on one quality profile
Dec 22, 2023
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
.The text was updated successfully, but these errors were encountered: