diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2024-11-25 17:37:11 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-11-29 20:03:07 +0000 |
commit | fc439819420f8fc5d1c7479316ef6fc0454590d5 (patch) | |
tree | 1e7b77a98e1c20ea459126e896e863f9fdca9d0b /sonar-ws/src | |
parent | 41f89aeb5b6d67f6c9329771ee097766943f130f (diff) | |
download | sonarqube-fc439819420f8fc5d1c7479316ef6fc0454590d5.tar.gz sonarqube-fc439819420f8fc5d1c7479316ef6fc0454590d5.zip |
SONAR-23619 Add AiCodeAssurance in /api/components/search_project response
Diffstat (limited to 'sonar-ws/src')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-components.proto | 8 |
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; +} + |