kyvernon webhooks
Webhook subscriptions
kyvernon webhooks <COMMAND>Subcommands: list, create, update, delete, test, dead-letters, deliveries
The webhooks command of the kyvernon CLI with its subcommands and arguments.
kyvernon webhooksWebhook subscriptions
kyvernon webhooks <COMMAND>Subcommands: list, create, update, delete, test, dead-letters, deliveries
kyvernon webhooks listList subscriptions
kyvernon webhooks listAPI operation: GET /v1/webhooks
kyvernon webhooks createCreate a subscription (secret from KYVERNON_WEBHOOK_SECRET or --secret)
kyvernon webhooks create [OPTIONS] <NAME>| Argument | Description | Required |
|---|---|---|
<NAME> | Name | yes |
--url | Delivery URL (https) | yes |
--secret | HMAC secret (or KYVERNON_WEBHOOK_SECRET) environment variable KYVERNON_WEBHOOK_SECRET | yes |
--event | Event types (repeat; empty for all) | |
--label | Labels (repeat) | |
--max-attempts | Delivery attempts before dead-lettering |
API operation: POST /v1/webhooks
kyvernon webhooks updateChange a subscription from a JSON body (UpdateSubscriptionRequest schema)
kyvernon webhooks update [OPTIONS] <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Subscription id | yes |
--body | Inline JSON body | |
--body-file | File with the JSON body (- for stdin) |
API operation: PUT /v1/webhooks/{id}
kyvernon webhooks deleteDelete a subscription
kyvernon webhooks delete <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Subscription id | yes |
API operation: DELETE /v1/webhooks/{id}
kyvernon webhooks testSend a test delivery
kyvernon webhooks test <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Subscription id | yes |
API operation: POST /v1/webhooks/{id}/test
kyvernon webhooks dead-lettersDeliveries that exhausted their attempts
kyvernon webhooks dead-letters <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Subscription id | yes |
API operation: GET /v1/webhooks/{id}/dead-letters
kyvernon webhooks deliveriesThe last deliveries (at most 50), newest first: status, timing and error
kyvernon webhooks deliveries <ID>| Argument | Description | Required |
|---|---|---|
<ID> | Subscription id | yes |
API operation: GET /v1/webhooks/{id}/deliveries
Version 0.1.