diff --git a/sonarqube/qualityprofiles/qualityprofiles_gen.go b/sonarqube/qualityprofiles/qualityprofiles_gen.go index 4174afd..aaf6712 100644 --- a/sonarqube/qualityprofiles/qualityprofiles_gen.go +++ b/sonarqube/qualityprofiles/qualityprofiles_gen.go @@ -18,6 +18,7 @@ type ActivateRuleRequest struct { // ActivateRulesRequest Bulk-activate rules on one quality profile.
Requires one of the following permissions: type ActivateRulesRequest struct { Activation string `form:"activation,omitempty"` // Filter rules that are activated or deactivated on the selected Quality profile. Ignored if the parameter 'qprofile' is not set. + ActiveImpactSeverities string `form:"active_impactSeverities,omitempty"` // Since 2025.1;Comma-separated list of Activation Software Quality Severities, i.e the impact severity of rules in Quality profiles. ActiveSeverities string `form:"active_severities,omitempty"` // Comma-separated list of activation severities, i.e the severity of rules in Quality profiles. Asc string `form:"asc,omitempty"` // Ascending sort AvailableSince string `form:"available_since,omitempty"` // Filters rules added since date. Format is yyyy-MM-dd @@ -171,6 +172,7 @@ type DeactivateRuleRequest struct { // DeactivateRulesRequest Bulk deactivate rules on Quality profiles.
Requires one of the following permissions: type DeactivateRulesRequest struct { Activation string `form:"activation,omitempty"` // Filter rules that are activated or deactivated on the selected Quality profile. Ignored if the parameter 'qprofile' is not set. + ActiveImpactSeverities string `form:"active_impactSeverities,omitempty"` // Since 2025.1;Comma-separated list of Activation Software Quality Severities, i.e the impact severity of rules in Quality profiles. ActiveSeverities string `form:"active_severities,omitempty"` // Comma-separated list of activation severities, i.e the severity of rules in Quality profiles. Asc string `form:"asc,omitempty"` // Ascending sort AvailableSince string `form:"available_since,omitempty"` // Filters rules added since date. Format is yyyy-MM-dd diff --git a/sonarqube/rules/rules_gen.go b/sonarqube/rules/rules_gen.go index d273c37..02f7b6e 100644 --- a/sonarqube/rules/rules_gen.go +++ b/sonarqube/rules/rules_gen.go @@ -76,6 +76,7 @@ type RepositoriesResponse struct { // SearchRequest Search for a collection of relevant rules matching a specified query.
type SearchRequest struct { Activation string `url:"activation,omitempty"` // Filter rules that are activated or deactivated on the selected Quality profile. Ignored if the parameter 'qprofile' is not set. + ActiveImpactSeverities string `url:"active_impactSeverities,omitempty"` // Since 2025.1;Comma-separated list of Activation Software Quality Severities, i.e the impact severity of rules in Quality profiles. ActiveSeverities string `url:"active_severities,omitempty"` // Comma-separated list of activation severities, i.e the severity of rules in Quality profiles. Asc string `url:"asc,omitempty"` // Ascending sort AvailableSince string `url:"available_since,omitempty"` // Filters rules added since date. Format is yyyy-MM-dd diff --git a/sonarqube/rules_gen.go b/sonarqube/rules_gen.go index de8157d..c5ab965 100644 --- a/sonarqube/rules_gen.go +++ b/sonarqube/rules_gen.go @@ -70,6 +70,7 @@ func (s *Rules) Repositories(ctx context.Context, r rules.RepositoriesRequest) ( // Since 4.4 // Changelog: // +// 2025.2: The facet 'active_impactSeverities' has been added. // 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'impactSeverities' of 'facets' have been added // 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added // 10.8: Parameter 'severities' now supports values: 'INFO','BLOCKER'