You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/en/open_source/notification_webhooks/how_to.md
+4-24Lines changed: 4 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,30 +10,10 @@ Webhooks are HTTP requests coming from the DefectDojo instance towards a user-de
10
10
11
11
It is not unusual that in some cases a webhook can not be delivered. It is usually connected to network issues, server misconfiguration, or running upgrades on the server. DefectDojo needs to react to these outages. It might temporarily or permanently disable related endpoints. The following graph shows how it might change the status of the webhook definition based on HTTP responses (or manual user interaction).
STATUS_ACTIVE_TMP --HTTP 5xx <br>or HTTP 429 <br>or Timeout <br>within 24h<br>from the first error-->STATUS_INACTIVE_TMP
30
-
STATUS_ACTIVE_TMP -.After 24h.-> STATUS_ACTIVE
31
-
STATUS_ACTIVE_TMP --HTTP 200 or 201 --> STATUS_ACTIVE_TMP
32
-
STATUS_ACTIVE_TMP --HTTP 5xx <br>or HTTP 429 <br>or Timeout <br>within 24h from the first error<br>or any other HTTP response or error--> STATUS_INACTIVE_PERMANENT
33
-
ALL ==Activation by user==> STATUS_ACTIVE
34
-
ALL ==Deactivation by user==> STATUS_INACTIVE_PERMANENT
35
-
ALL ==Removal of endpoint by user==> END
36
-
```
13
+
<!-- Replaced the kroki rendering with a screenshot to avoid failures in GHA -->
14
+
<!-- The transition state diagram is located here: docs/content/en/open_source/notification_webhooks/transition-state -->
STATUS_ACTIVE_TMP --HTTP 5xx <br>or HTTP 429 <br>or Timeout <br>within 24h<br>from the first error-->STATUS_INACTIVE_TMP
18
+
STATUS_ACTIVE_TMP -.After 24h.-> STATUS_ACTIVE
19
+
STATUS_ACTIVE_TMP --HTTP 200 or 201 --> STATUS_ACTIVE_TMP
20
+
STATUS_ACTIVE_TMP --HTTP 5xx <br>or HTTP 429 <br>or Timeout <br>within 24h from the first error<br>or any other HTTP response or error--> STATUS_INACTIVE_PERMANENT
21
+
ALL ==Activation by user==> STATUS_ACTIVE
22
+
ALL ==Deactivation by user==> STATUS_INACTIVE_PERMANENT
0 commit comments