Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ docker run --rm \
-e RUN_LOCAL=true \
--env-file "super-linter.env" \
-v "$(pwd)":/tmp/lint \
ghcr.io/super-linter/super-linter:v7.3.0
ghcr.io/super-linter/super-linter:v8.6.0
```

Note: For M-series Apple devices and other ARM processors, add `--platform linux/amd64`
Expand Down
18 changes: 18 additions & 0 deletions docs/configuration/14-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,24 @@ alerts to Slack:
alertmanager_config_slack_webhook_url: https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX #gitleaks:allow
```

To send critical and warning severity alerts to different Slack channels (different webhooks) extra configuration can be provided:

```yaml
alertmanager_config_slack_critical_webhook_url: https://...
alertmanager_config_slack_warning_webhook_url: https://...
```

The routing rules depend on the presence of the webhooks, details below:

| Default webhook | Critical webhook | Warning webhook | Critical messages | Warning messages |
| --------------- | ---------------- | --------------- | ---------------------- | --------------------- |
| - | x | x | Go to critical channel | Go to warning channel |
| x | - | x | Go to default channel | Go to warning channel |
| x | x | - | Go to critical channel | Go to default channel |
| x | - | - | Go to default channel | Go to default channel |
| - | x | - | Config not deployed | Config not deployed |
| - | - | x | Config not deployed | Config not deployed |

<!-- prettier-ignore-start -->
!!! danger
The webhook URL should be kept secret. If you want to keep it in Git - which is recommended - then it must be encrypted.
Expand Down