Why it matters
Propagate enterprise/team/user ids into logs without storing message bodies.
Practical steps
- Confirm Slack request URL / Events API needs for slack metadata event in current api.slack.com docs.
- Verify signing secret (X-Slack-Signature + timestamp) before handling propagate enterprise/team/user ids into logs without storing message bodies.
- Respond to URL verification and interactivity within Slack's ACK window; enqueue slow work.
- Store only the team/user ids you need; rotate the signing secret in staging first.
- Document reinstall / bot token rotation steps that touch slack metadata event.
Watch out for
- Copy-pasting outdated snippets for slack metadata event without re-reading current official docs.
- Shipping slack metadata event to production without a staging rehearsal and a documented rollback.