APPROVAL_REQUIRED, Dmint can automatically post real-time alerts to Slack, Discord, and Microsoft Teams.┌─────────────────┐ │ AI Agent │ Attempts sensitive tool call └────────┬────────┘ │ ▼ ┌─────────────────┐ │ Dmint Gate │ Evaluates policy: APPROVAL_REQUIRED └────────┬────────┘ │ ├─────────────────────────────────────────┐ ▼ ▼ ┌─────────────────┐ ┌─────────────────┐ │ Approval Store │ (Atomic Record Created)│ Webhook Engine │ (Fire-and-forget) └─────────────────┘ └────────┬────────┘ │ ┌───────────────────────────────┼───────────────────────────────┐ ▼ ▼ ▼ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ Slack │ │ Discord │ │ MS Teams │ │ (Channel) │ │ (Channel) │ │ (Channel) │ └─────────────┘ └─────────────┘ └─────────────┘
| Environment Variable | Platform | Description |
DMINT_SLACK_WEBHOOK_URL | Slack | Incoming webhook URL for a Slack channel |
DMINT_DISCORD_WEBHOOK_URL | Discord | Webhook URL for a Discord channel |
DMINT_TEAMS_WEBHOOK_URL | Microsoft Teams | Incoming webhook or Power Automate workflow URL |
DMINT_WEBHOOK_TIMEOUT | All | HTTP request timeout in seconds (default: 3.0) |
export DMINT_SLACK_WEBHOOK_URL="https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
Dmint Guard), and select the channel.export DMINT_DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/123456789012345678/abcdefghijklmnopqrstuvwxyz"
export DMINT_TEAMS_WEBHOOK_URL="https://prod-XX.location.logic.azure.com/workflows/..."
DMINT_MSTEAMS_WEBHOOK_URL is also accepted as an alias).apr_...).bash.execute, github.merge_pr)./var/log, repo:prod-main).dmint approve <approval_id>
APPROVAL_REQUIRED events, Dmint can also dispatch real-time security alerts whenever a tool execution is explicitly blocked (DENY). This gives security teams instant visibility into policy violations, prompt injection attempts, or unauthorized tool calls directly in your team's Slack, Discord, or Microsoft Teams channels.DENIEDbash.execute, filesystem.write)dispatch_denial_webhook(request) or WebhookNotifier.send_policy_denied(request). In MCP gateways, explicit policy denials are forwarded automatically when webhook URLs are configured.ApprovalRequiredError is raised regardless of whether webhooks succeed or fail.3.0s by default), preventing sluggish external APIs from stalling tool evaluation.dmint approve <id> only authorizes the exact immutable request.