Stream Filtered Troubleshooting Data

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Stream webhooks troubleshooting data with a filter.

Security: Requires a valid admin user.

Usage: GET event/api/v1/troubleshooting?subscription=<subscription>&target=<URL>

Produces: application/json

Sample Output

GET event/api/v1/troubleshooting?subscription=mysub&target=github.com

{
   "timestamp": 1694520528315,
   "elapsed_millis": 208,
   "errors": [
       "error executing webhook: unexpected HTTP response status"
   ],
   "request": {
       "method": "POST",
       "url": "https://webhook-target/a9736bc8",
       "headers": {
           "Content-Type": "application/json"
       },
       "payload": "{\"domain\":\"artifact\",\"event_type\":\"deployed\",\"data\":{\"repo_key\":\"example-repo-local\",\"path\":\"some.log\",\"name\":\"some.log\",\"sha256\":\"069092736c73613a25917f582f8a2621b8495cb723914c85dc570761ce0846f8\",\"size\":353178},\"subscription_key\":\"test\",\"source\":\"jfrog/jfrt@01h9mspg5atsp402qqxm071zjv\"}",
       "retries_attempted": 0
   },
   "response": {
       "status": 404,
       "headers": {
           "Cache-Control": "no-cache, private",
           "Content-Type": "application/json",
           "Date": "Tue, 12 Sep 2023 12:08:48 GMT",
           "Server": "nginx",
           "Vary": "Accept-Encoding"
       },
       "body": "{\"success\":false,\"error\":{\"message\":\"Alias a9736bc8 not found\",\"id\":null}}"
   },
   "event": {
       "id": "01HA4MPK6XVKTD0XMS9SVM1GER",
       "subscription_key": "test",
       "domain": "artifact",
       "event_type": "deployed",
       "data": "{\"repo_key\":\"example-repo-local\",\"path\":\"some.log\",\"name\":\"some.log\",\"sha256\":\"069092736c73613a25917f582f8a2621b8495cb723914c85dc570761ce0846f8\",\"size\":353178}",
       "source": "jfrog/jfrt@01h9mspg5atsp402qqxm071zjv"
   }
}