aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main
diff options
context:
space:
mode:
authorantoine.vinot <antoine.vinot@sonarsource.com>2024-09-04 14:31:58 +0200
committersonartech <sonartech@sonarsource.com>2024-09-12 20:02:54 +0000
commit574637dc96a0655344a0623fa1aae861fe073a86 (patch)
treed6a3b299b9c243c8a4a1182ecc73cb07650a47fa /sonar-ws/src/main
parent1d44e3b465b8df3ad3a0c63d17b2b24ef529fd79 (diff)
downloadsonarqube-574637dc96a0655344a0623fa1aae861fe073a86.tar.gz
sonarqube-574637dc96a0655344a0623fa1aae861fe073a86.zip
SONAR-22914 Create and update APIs for CVEs
Diffstat (limited to 'sonar-ws/src/main')
-rw-r--r--sonar-ws/src/main/protobuf/ws-hotspots.proto1
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto1
2 files changed, 2 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-hotspots.proto b/sonar-ws/src/main/protobuf/ws-hotspots.proto
index ef4721c44dd..4b2779f41c3 100644
--- a/sonar-ws/src/main/protobuf/ws-hotspots.proto
+++ b/sonar-ws/src/main/protobuf/ws-hotspots.proto
@@ -50,6 +50,7 @@ message SearchWsResponse {
repeated sonarqube.ws.commons.Flow flows = 15;
optional string ruleKey = 16;
repeated sonarqube.ws.commons.MessageFormatting messageFormattings = 17;
+ optional string cveId = 18;
}
}
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index dcc65a70ee4..647d461b2b8 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -168,6 +168,7 @@ message Issue {
repeated sonarqube.ws.commons.Impact impacts = 42;
optional string issueStatus = 43;
optional bool prioritizedRule = 44;
+ optional string cveId = 45;
}
message Transitions {