Feat v0.3.7 package audit (#20)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #20.
This commit is contained in:
30
packages/webhook-notifier/README.md
Normal file
30
packages/webhook-notifier/README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Webhook Notifier
|
||||
|
||||
Outbound webhook delivery with connection credentials and delivery logging.
|
||||
|
||||
## Features
|
||||
|
||||
- **Starlark `http.post`** — outbound HTTP with custom headers
|
||||
- **`connections.get`** — fallback to stored webhook connection credentials
|
||||
- **Delivery logging** — records URL, status code, event to `webhook_log` ext_data table
|
||||
- **Result review** — delivery status shown in final review stage
|
||||
|
||||
## Stage Flow
|
||||
|
||||
```
|
||||
[configure] → [fire-webhook] → [result]
|
||||
team automated review
|
||||
(http.post)
|
||||
```
|
||||
|
||||
## Starlark Hook
|
||||
|
||||
- **`on_fire(ctx)`** — Posts JSON payload to webhook URL, falls back to `connections.get("webhook")`, logs delivery to `webhook_log`
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
curl -X POST $BASE/api/v1/admin/packages/install \
|
||||
-H "Authorization: Bearer $TOKEN" \
|
||||
-F "file=@packages/webhook-notifier"
|
||||
```
|
||||
Reference in New Issue
Block a user