feat: add support for stale security alerts monitoring (v0.22.0)#4
Merged
feat: add support for stale security alerts monitoring (v0.22.0)#4
Conversation
8f537fe to
0e5198d
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
security_alerts_configvariable to configure alert thresholds (enabled,min_age_days,min_severity)security_alerts_schedulevariable for EventBridge-based periodic scanning (mirrors the existingokta_sync_schedulepattern)channel_security_alertsfield onslack_configfor routing security alert notifications to a dedicated Slack channel/scheduled/security-alertsendpointeventbridge_security_alerts_rule_arnandeventbridge_security_alerts_rule_nameexamples/completewith the new configurationDetails
The github-ops-app v0.22.0 adds the ability to monitor stale Dependabot, code scanning, and secret scanning alerts across the GitHub org. This PR wires the corresponding environment variables (
APP_SECURITY_ALERTS_ENABLED,APP_SECURITY_ALERTS_MIN_AGE_DAYS,APP_SECURITY_ALERTS_MIN_SEVERITY,APP_SLACK_CHANNEL_SECURITY_ALERTS) and adds EventBridge scheduling infrastructure so the check can run on a cron (default: daily).All new variables default to disabled, so this is fully backward-compatible with existing deployments.