Notifications¶
Noxaudit can send audit summaries via Telegram after each run.
Telegram Setup¶
1. Create a Bot¶
- Message @BotFather on Telegram
- Send
/newbotand follow the prompts - Copy the bot token (looks like
123456789:ABCdefGhIjKlMnOpQrStUvWxYz)
2. Get Your Chat ID¶
- Start a conversation with your bot
- Send any message
- Visit
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates - Find
"chat":{"id":YOUR_CHAT_ID}in the response
3. Configure Noxaudit¶
Set environment variables:
Add to your noxaudit.yml:
Notification Format¶
After each audit, noxaudit sends a message like:
đ Security Audit â my-app
3 new findings: đ´ 1 high, đĄ 2 medium
â ī¸ SQL interpolation in query builder
src/db/queries.ts
âšī¸ Console.log with request body
src/middleware/auth.ts
âšī¸ Permissive CORS in production config
src/config/cors.ts
â
5 previous findings still resolved
When there are no new findings:
CI Usage¶
In GitHub Actions, pass credentials as secrets:
- uses: atriumn/noxaudit/action@main
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram-chat-id: ${{ secrets.TELEGRAM_CHAT_ID }}
See GitHub Actions for the full workflow.
Multiple Channels¶
You can configure multiple notification channels:
Each channel receives the same summary.