Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Sicherheit & Compliance

Sicherheit & Compliance

Send critical NPM CVE alerts from GitHub to Slack via Apify

On a schedule, it runs security checks using Slack, Apify, GitHub.

Was sie bewirkt

## Actor 19A — NPM CVE Monitor → Critical Vulnerability → Slack Emergency Alert ### How it works This workflow runs every Monday morning to retrieve a repository’s package.json from GitHub, submit it to an Apify NPM CVE monitor, and fetch the resulting audit data. It categorises vulnerabilities by severity, checks whether any critical or high findings exist, and only then formats and sends an emergency Slack alert. ### Setup steps - Configure the schedule trigger for the desired monitoring cadence and timezone. - Set up GitHub access for the package.json request, including the correct repository owner, repository name, branch, file path, and any required GitHub token headers. - Configure the Apify HTTP requests with a valid Apify API token, the correct CVE monitor actor endpoint, and dataset result URL handling. - Connect Slack credentials and choose the emergency alert channel or user for the CVE notification. ### Customization Adjust the severity threshold in the categorisation or IF logic, change the Slack message format, or point the GitHub request at a different repository or package manifest.

Die Schritte

  1. Weekly Trigger at 9am Monday
  2. Retrieve GitHub Package JSON
  3. Parse GitHub Package JSON
  4. Execute CVE Monitor Script
  5. Retrieve CVE Audit Results
  6. Classify CVE Vulnerabilities
  7. Check Critical or High CVE
  8. Create Emergency Slack Alert
  9. Send Slack CVE Alert

Ähnliche Automatisierungen