Skip to content

Sanitize committed Slack credentials in environment templates#7

Merged
WeDias merged 2 commits into
mainfrom
copilot/remove-slack-tokens-from-envs
May 19, 2026
Merged

Sanitize committed Slack credentials in environment templates#7
WeDias merged 2 commits into
mainfrom
copilot/remove-slack-tokens-from-envs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

This PR removes Slack webhook credentials that were committed in project env files. It keeps the existing configuration contract while replacing sensitive values with safe placeholders.

  • Credential sanitization

    • Replaced hardcoded SLACK_TOKEN values in:
      • resources/dev.env
      • resources/docker.env
    • Preserved variable names and file structure to avoid runtime/config integration changes.
  • Template guidance

    • Added inline comments clarifying the expected value format for SLACK_TOKEN (base64-encoded webhook URL), so contributors can populate local values without reintroducing secrets.
  • Resulting env shape (example)

    PROMETHEUS_URL="http://localhost:9090"
    # Base64 da webhook URL do Slack (ex.: echo -n "<webhook_url>" | base64)
    SLACK_TOKEN="REPLACE_WITH_BASE64_ENCODED_SLACK_WEBHOOK_URL"

@WeDias WeDias marked this pull request as ready for review May 19, 2026 22:04
@WeDias WeDias enabled auto-merge May 19, 2026 22:04
@WeDias WeDias merged commit f1eaa33 into main May 19, 2026
1 of 2 checks passed
@WeDias WeDias deleted the copilot/remove-slack-tokens-from-envs branch May 19, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants