Skip to content

About

Sends a report of Github security alerts to Slack

Resources

Stars

12 stars

Watchers

19 watching

Forks

Repository files navigation

Github Alerts to Slack

This script is designed to alert on Dependabot and CodeQL vulnerability alerts found in a list of GitHub repositories. Currently, GitHub does not offer vulnerability reporting across an organization. This script is designed to be a quick way to list any open issues in a single spot.

Prerequisites

You will need the following:

How to run

First, install your dependencies

npm install

To test out a dry run:

 GITHUB_TOKEN=redacted GITHUB_QUERY="org:SparkPost archived:false" node index.js

To run and post to a Slack channel:

GITHUB_TOKEN=redacted SLACK_WEBHOOK=redacted POST_TO_SLACK=true GITHUB_QUERY="org:SparkPost archived:false" node index.js

Notes

  • This report includes:
    • Dependabot alerts with "critical" or "high" severity
    • CodeQL secret scanning alerts and code alerts with "error" or "warning" severity
    • excludes dismissed alerts
  • This report limits to the first 50 repositories found, and first 50 alerts found.
  • This app is deployed on Heroku, name vulnerability-alerter. Creditionals are located in 1Password.

About

Sends a report of Github security alerts to Slack

Resources

Stars

12 stars

Watchers

19 watching

Forks

Releases

Packages

Used by

Contributors

Languages