aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main
diff options
context:
space:
mode:
authorAnita Stanisz <106669481+anita-stanisz-sonarsource@users.noreply.github.com>2024-11-26 16:41:55 +0100
committersonartech <sonartech@sonarsource.com>2024-11-29 20:03:07 +0000
commit41f89aeb5b6d67f6c9329771ee097766943f130f (patch)
treed4247c6206a22b56e6b886ee208dddceb3bc2c6a /sonar-ws/src/main
parent559fa67b8ecaf77462beca6486d275fafbfe9633 (diff)
downloadsonarqube-41f89aeb5b6d67f6c9329771ee097766943f130f.tar.gz
sonarqube-41f89aeb5b6d67f6c9329771ee097766943f130f.zip
SONAR-23619 Add aiCodeAssurance field to search quality gate endpoint (#12362)
Diffstat (limited to 'sonar-ws/src/main')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualitygates.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualitygates.proto b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
index 3895e02c57d..7d72961142a 100644
--- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
@@ -150,6 +150,14 @@ message SearchResponse {
optional bool selected = 3;
optional string key = 4;
optional bool isAiCodeAssured = 5;
+ optional AiCodeAssurance aiCodeAssurance = 6;
+ }
+
+ enum AiCodeAssurance {
+ UNKNOWN_AI_CODE_ASSURANCE = 0;
+ NONE = 1;
+ CONTAINS_AI_CODE = 2;
+ AI_CODE_ASSURED = 3;
}
}