Skip to content

ci: Added a workflow to scan repos for code and security scanning alerts - #4186

Open
bizob2828 wants to merge 2 commits into
newrelic:mainfrom
bizob2828:security-alerts-to-slack
Open

ci: Added a workflow to scan repos for code and security scanning alerts#4186
bizob2828 wants to merge 2 commits into
newrelic:mainfrom
bizob2828:security-alerts-to-slack

Conversation

@bizob2828

@bizob2828 bizob2828 commented Jul 30, 2026

Copy link
Copy Markdown
Member

Description

We find out that we have code and secret scanning alerts long after they exist. This PR adds a workflow that runs every weekday at 9 EST and checks all repos we own for any security alerts and posts them to our slack channel. I had to opt for a cron because github actions doesn't expose these as events to trigger a workflow on and would require a webhook which is too much work for us. These don't happen frequently so running daily is good enough to solve our issue. I was able to test the script but it is not returning any resolved secret scanning alerts. If we ever get a secret scanning alert we can always re-adjust. At least code scanning is working on both open/resolved with our bot agent token

@bizob2828 bizob2828 added the dev:automation Indicates CI automation label Jul 31, 2026
@bizob2828
bizob2828 marked this pull request as ready for review July 31, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev:automation Indicates CI automation

Projects

Status: Needs PR Review

Development

Successfully merging this pull request may close these issues.

2 participants