diff --git a/sonarqube/measures/measures_gen.go b/sonarqube/measures/measures_gen.go
index f01b3bc..214d1c7 100644
--- a/sonarqube/measures/measures_gen.go
+++ b/sonarqube/measures/measures_gen.go
@@ -53,7 +53,7 @@ type ComponentTreeRequest struct {
Asc string `url:"asc,omitempty"` // Ascending sort
Branch string `url:"branch,omitempty"` // Since 6.6;Branch key. Not available in the community edition.
Component string `url:"component"` // Component key. The search is based on this component.
- MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only new_maintainability_issues, new_security_issues, new_reliability_issues, security_issues, maintainability_issues, reliability_issues metrics are supported
+ MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only new_reliability_issues, new_security_issues, new_maintainability_issues, reliability_issues, maintainability_issues, security_issues metrics are supported
MetricPeriodSort string `url:"metricPeriodSort,omitempty"` // Since 5.5;Sort measures by leak period or not ?. The 's' parameter must contain the 'metricPeriod' value.
MetricSort string `url:"metricSort,omitempty"` // Metric key to sort by. The 's' parameter must contain the 'metric' or 'metricPeriod' value. It must be part of the 'metricKeys' parameter
MetricSortFilter string `url:"metricSortFilter,omitempty"` // Filter components. Sort must be on a metric. Possible values are:
- all: return all components
- withMeasuresOnly: filter out components that do not have a measure on the sorted metric
diff --git a/sonarqube/measures_gen.go b/sonarqube/measures_gen.go
index 7d8e088..a039c57 100644
--- a/sonarqube/measures_gen.go
+++ b/sonarqube/measures_gen.go
@@ -17,7 +17,7 @@ type Measures service
// Since 5.4
// Changelog:
//
-// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_security_review_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_security_review_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
+// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.5: The metrics 'new_blocker_violations', 'new_critical_violations', 'new_major_violations', 'new_minor_violations', 'new_info_violations', 'blocker_violations', 'critical_violations', 'major_violations', 'minor_violations', 'info_violations' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
// 10.5: Added new accepted values for the 'metricKeys' param: 'new_maintainability_issues', 'new_reliability_issues', 'new_security_issues'
// 10.4: The metrics 'bugs', 'new_bugs', 'vulnerabilities', 'new_vulnerabilities', 'code_smells', 'new_code_smells', 'high_impact_accepted_issues' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
@@ -60,7 +60,7 @@ func (s *Measures) Component(ctx context.Context, r measures.ComponentRequest) (
// Changelog:
//
// 10.7: Number of metric keys is limited to 25
-// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_security_review_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_security_review_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
+// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.5: Added new accepted values for the 'metricKeys' param: 'new_maintainability_issues', 'new_reliability_issues', 'new_security_issues'
// 10.5: The metrics 'new_blocker_violations', 'new_critical_violations', 'new_major_violations', 'new_minor_violations', 'new_info_violations', 'blocker_violations', 'critical_violations', 'major_violations', 'minor_violations', 'info_violations' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
// 10.5: Added new accepted values for the 'metricKeys' param: 'maintainability_issues', 'reliability_issues', 'security_issues'
@@ -129,7 +129,7 @@ func (s *Measures) ComponentTreeAll(ctx context.Context, r measures.ComponentTre
// Since 6.3
// Changelog:
//
-// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_security_review_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_security_review_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
+// 10.7: Added new accepted values for the 'metricKeys' param: 'software_quality_maintainability_debt_ratio', 'software_quality_maintainability_rating', 'software_quality_reliability_rating', 'software_quality_security_rating', 'software_quality_maintainability_remediation_effort', 'software_quality_reliability_remediation_effort', 'software_quality_security_remediation_effort', 'effort_to_reach_software_quality_maintainability_rating_a', 'new_software_quality_maintainability_debt_ratio', 'new_software_quality_maintainability_rating', 'new_software_quality_reliability_rating', 'new_software_quality_security_rating', 'new_software_quality_maintainability_remediation_effort', 'new_software_quality_reliability_remediation_effort', 'new_software_quality_security_remediation_effort'
// 10.5: The metrics 'new_blocker_violations', 'new_critical_violations', 'new_major_violations', 'new_minor_violations', 'new_info_violations', 'blocker_violations', 'critical_violations', 'major_violations', 'minor_violations', 'info_violations' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
// 10.5: Added new accepted values for the 'metricKeys' param: 'new_maintainability_issues', 'new_reliability_issues', 'new_security_issues'
// 10.4: The metrics 'bugs', 'new_bugs', 'vulnerabilities', 'new_vulnerabilities', 'code_smells', 'new_code_smells', 'high_impact_accepted_issues' are now deprecated without exact replacement. Use 'maintainability_issues', 'reliability_issues' and 'security_issues' instead.
diff --git a/sonarqube/qualitygates/qualitygates_gen.go b/sonarqube/qualitygates/qualitygates_gen.go
index a40c5f4..ef33eed 100644
--- a/sonarqube/qualitygates/qualitygates_gen.go
+++ b/sonarqube/qualitygates/qualitygates_gen.go
@@ -37,7 +37,7 @@ type CreateResponse struct {
type CreateConditionRequest struct {
Error string `form:"error"` // Condition error threshold
GateName string `form:"gateName"` // Name of the quality gate
- Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:- INT
- MILLISEC
- RATING
- WORK_DUR
- FLOAT
- PERCENT
- LEVEL
Following metrics are forbidden:- new_software_quality_reliability_remediation_effort
- software_quality_maintainability_debt_ratio
- software_quality_security_remediation_effort
- software_quality_security_review_rating
- new_software_quality_maintainability_debt_ratio
- effort_to_reach_software_quality_maintainability_rating_a
- new_software_quality_security_rating
- new_software_quality_security_review_rating
- software_quality_maintainability_remediation_effort
- new_security_hotspots
- alert_status
- software_quality_maintainability_rating
- software_quality_reliability_rating
- new_software_quality_reliability_rating
- new_software_quality_security_remediation_effort
- software_quality_security_rating
- new_software_quality_maintainability_rating
- new_software_quality_maintainability_remediation_effort
- software_quality_reliability_remediation_effort
- security_hotspots
+ Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:- INT
- MILLISEC
- RATING
- WORK_DUR
- FLOAT
- PERCENT
- LEVEL
Following metrics are forbidden:- alert_status
- software_quality_maintainability_rating
- new_software_quality_maintainability_rating
- new_security_hotspots
- software_quality_security_rating
- new_software_quality_security_rating
- new_software_quality_reliability_rating
- software_quality_security_remediation_effort
- effort_to_reach_software_quality_maintainability_rating_a
- new_software_quality_maintainability_remediation_effort
- software_quality_maintainability_remediation_effort
- new_software_quality_security_remediation_effort
- software_quality_reliability_rating
- software_quality_maintainability_debt_ratio
- new_software_quality_reliability_remediation_effort
- new_software_quality_maintainability_debt_ratio
- software_quality_reliability_remediation_effort
- security_hotspots
Op string `form:"op,omitempty"` // Condition operator:
- LT = is lower than
- GT = is greater than
}
@@ -281,6 +281,6 @@ type ShowResponse struct {
type UpdateConditionRequest struct {
Error string `form:"error"` // Condition error threshold
Id string `form:"id"` // Condition ID
- Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:- INT
- MILLISEC
- RATING
- WORK_DUR
- FLOAT
- PERCENT
- LEVEL
Following metrics are forbidden:- new_software_quality_reliability_remediation_effort
- software_quality_maintainability_debt_ratio
- software_quality_security_remediation_effort
- software_quality_security_review_rating
- new_software_quality_maintainability_debt_ratio
- effort_to_reach_software_quality_maintainability_rating_a
- new_software_quality_security_rating
- new_software_quality_security_review_rating
- software_quality_maintainability_remediation_effort
- new_security_hotspots
- alert_status
- software_quality_maintainability_rating
- software_quality_reliability_rating
- new_software_quality_reliability_rating
- new_software_quality_security_remediation_effort
- software_quality_security_rating
- new_software_quality_maintainability_rating
- new_software_quality_maintainability_remediation_effort
- software_quality_reliability_remediation_effort
- security_hotspots
+ Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:- INT
- MILLISEC
- RATING
- WORK_DUR
- FLOAT
- PERCENT
- LEVEL
Following metrics are forbidden:- alert_status
- software_quality_maintainability_rating
- new_software_quality_maintainability_rating
- new_security_hotspots
- software_quality_security_rating
- new_software_quality_security_rating
- new_software_quality_reliability_rating
- software_quality_security_remediation_effort
- effort_to_reach_software_quality_maintainability_rating_a
- new_software_quality_maintainability_remediation_effort
- software_quality_maintainability_remediation_effort
- new_software_quality_security_remediation_effort
- software_quality_reliability_rating
- software_quality_maintainability_debt_ratio
- new_software_quality_reliability_remediation_effort
- new_software_quality_maintainability_debt_ratio
- software_quality_reliability_remediation_effort
- security_hotspots
Op string `form:"op,omitempty"` // Condition operator:
- LT = is lower than
- GT = is greater than
}