Skip to content

Commit

Permalink
[CAT-1593] Fix missing webhook type and evidence folder webhook (#138)
Browse files Browse the repository at this point in the history
* Add workflow_timeline_file

The resource type was missing, we need it in order to parse
the webhook payload using the official client libraries.

* Add evidence folder created webhook types
  • Loading branch information
miguelfteixeira authored Dec 19, 2024
1 parent 961352f commit 9ab76fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schemas/webhooks/definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ webhook_event_resource_type:
- workflow_run
- workflow_task
- watchlist_monitor
- workflow_timeline_file
- workflow_run_evidence_folder

webhook_event_type:
type: string
Expand All @@ -83,6 +85,7 @@ webhook_event_type:
- report.completed
- workflow_timeline_file.created
- workflow_signed_evidence_file.created
- workflow_run_evidence_folder.created

webhook_url:
type: string
Expand Down

0 comments on commit 9ab76fa

Please sign in to comment.