aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorDimitris <104737204+dimitris-kavvathas-sonarsource@users.noreply.github.com>2023-06-15 15:49:19 +0200
committersonartech <sonartech@sonarsource.com>2023-06-15 20:03:02 +0000
commita458479636767ad21136c071f038f1b5321ea991 (patch)
treeec279e8b330ad51115a5785773d3dabcc4ce3b42 /sonar-ws
parent35d653420f627e2c1cb53125c2752073dc23c46a (diff)
downloadsonarqube-a458479636767ad21136c071f038f1b5321ea991.tar.gz
sonarqube-a458479636767ad21136c071f038f1b5321ea991.zip
SONAR-18835 Make webhook secret private (#8479)
Co-authored-by: Ambroise C <ambroise.christea@sonarsource.com>
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-webhooks.proto8
1 files changed, 6 insertions, 2 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-webhooks.proto b/sonar-ws/src/main/protobuf/ws-webhooks.proto
index b67f893791f..256ef05d2a7 100644
--- a/sonar-ws/src/main/protobuf/ws-webhooks.proto
+++ b/sonar-ws/src/main/protobuf/ws-webhooks.proto
@@ -39,7 +39,9 @@ message ListResponseElement {
optional string name = 2;
optional string url = 3;
optional LatestDelivery latestDelivery = 4;
- optional string secret = 5;
+ // deprecated
+ // optional string secret = 5;
+ optional bool hasSecret = 6;
}
// GET api/webhooks/list
@@ -55,7 +57,9 @@ message CreateWsResponse {
optional string key = 1;
optional string name = 2;
optional string url = 3;
- optional string secret = 4;
+ // deprecated
+ // optional string secret = 4;
+ required bool hasSecret = 5;
}
}