diff options
author | Dimitris <104737204+dimitris-kavvathas-sonarsource@users.noreply.github.com> | 2023-06-15 15:49:19 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-07-03 20:03:25 +0000 |
commit | a7431823ca6954ea04fc663e6dcb6cd9e55cc11d (patch) | |
tree | 5ea137fb1992d53e946f334929d337b87146fbe6 /sonar-ws | |
parent | 7101b666dc952fce6dedece3a515d495adfdc84c (diff) | |
download | sonarqube-a7431823ca6954ea04fc663e6dcb6cd9e55cc11d.tar.gz sonarqube-a7431823ca6954ea04fc663e6dcb6cd9e55cc11d.zip |
SONAR-18835 Make webhook secret private (#8479)
Co-authored-by: Ambroise C <ambroise.christea@sonarsource.com>
(cherry picked from commit 441a87e76b1fab056a23b1773364063ab50e6978)
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-webhooks.proto | 8 |
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; } } |