aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2024-11-25 17:37:11 +0100
committersonartech <sonartech@sonarsource.com>2024-11-29 20:03:07 +0000
commitfc439819420f8fc5d1c7479316ef6fc0454590d5 (patch)
tree1e7b77a98e1c20ea459126e896e863f9fdca9d0b /sonar-ws/src/main
parent41f89aeb5b6d67f6c9329771ee097766943f130f (diff)
downloadsonarqube-fc439819420f8fc5d1c7479316ef6fc0454590d5.tar.gz
sonarqube-fc439819420f8fc5d1c7479316ef6fc0454590d5.zip
SONAR-23619 Add AiCodeAssurance in /api/components/search_project response
Diffstat (limited to 'sonar-ws/src/main')
-rw-r--r--sonar-ws/src/main/protobuf/ws-components.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto
index d3704c795f1..b93c95fd32e 100644
--- a/sonar-ws/src/main/protobuf/ws-components.proto
+++ b/sonar-ws/src/main/protobuf/ws-components.proto
@@ -116,9 +116,17 @@ message Component {
optional bool needIssueSync = 21;
optional bool isAiCodeAssured = 22;
optional bool isAiCodeFixEnabled = 23;
+ optional AiCodeAssurance aiCodeAssurance = 24;
message Tags {
repeated string tags = 1;
}
}
+enum AiCodeAssurance {
+ UNKNOWN_AI_CODE_ASSURANCE = 0;
+ CONTAINS_AI_CODE = 1;
+ AI_CODE_ASSURED = 2;
+ NONE = 3;
+}
+