-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ce6cb4
commit 197bf0e
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# Slack - Github Secrets Scanning ALerts Integration | ||
# Slack - GitHub Secrets Scanning Alerts Integration | ||
|
||
A Github Action to get alerts from github secret scanning and send them to Slack. | ||
A GitHub Action to forward alerts from GitHub secret scanning and send them to Slack. | ||
|
||
## Usage | ||
|
||
``` | ||
- uses: ministryofjustice/github-actions/slack-github[email protected] | ||
- uses: ministryofjustice/GitHub-actions/slack-GitHub[email protected] | ||
with: | ||
github-token: ${{ secrets.SECRET_SCANNING_GITHUB_TOKEN }} | ||
GitHub-token: ${{ secrets.SECRET_SCANNING_GitHub_TOKEN }} | ||
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
``` | ||
|
||
| Parameter | Description | Required | Default | | ||
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | | ||
| frequency | Get secret scanning alerts that have occurred in this period prior to this action running | false | 24 hours | | ||
| github-token | [Github token with access to secret scanning](https://docs.github.com/en/rest/secret-scanning/secret-scanning?apiVersion=2022-11-28#list-secret-scanning-alerts-for-a-repository) | true | NA | | ||
| github-token | [GitHub token with access to secret scanning](https://docs.GitHub.com/en/rest/secret-scanning/secret-scanning?apiVersion=2022-11-28#list-secret-scanning-alerts-for-a-repository) | true | NA | | ||
| slack-webhook-url | Incoming Slack webhook url for channel that you want to send alerts to | true | NA | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters