Skip to content

Commit

Permalink
Merge pull request #33 from shijl0925/create-pull-request/patch
Browse files Browse the repository at this point in the history
Changes by create-pull-request action
  • Loading branch information
shijl0925 authored Dec 12, 2024
2 parents f66165f + 0b03526 commit 285e19c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sonarqube/qualityprofiles/qualityprofiles_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type ActivateRuleRequest struct {
// ActivateRulesRequest Bulk-activate rules on one quality profile.<br> Requires one of the following permissions:<ul> <li>'Administer Quality Profiles'</li> <li>Edit right on the specified quality profile</li></ul>
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
Expand Down Expand Up @@ -171,6 +172,7 @@ type DeactivateRuleRequest struct {
// DeactivateRulesRequest Bulk deactivate rules on Quality profiles.<br>Requires one of the following permissions:<ul> <li>'Administer Quality Profiles'</li> <li>Edit right on the specified quality profile</li></ul>
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
Expand Down
1 change: 1 addition & 0 deletions sonarqube/rules/rules_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ type RepositoriesResponse struct {
// SearchRequest Search for a collection of relevant rules matching a specified query.<br/>
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
Expand Down
1 change: 1 addition & 0 deletions sonarqube/rules_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 285e19c

Please sign in to comment.