Skip to content

Latest commit

 

History

History

slack

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Slack Audit Log webhook handler

Requirements

  • Slack bot token with chat:write permissions
  • Target Slack channel name or ID
  • URL for the webhook to listen on, reachable by Flagsmith
  • Audit Log webhook configured
  • Optional: Shared webhook secret to validate the request came from Flagsmith
export SLACK_BOT_TOKEN=...
export SLACK_CHANNEL=my-slack-channel-name-or-id

# Optional
export FLAGSMITH_WEBHOOK_SECRET=...

Develop

poetry install
poetry shell
fastapi dev

Run

fastapi run