Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub App event type security_advisory missing #2798

Closed
lukehinds opened this issue Jun 6, 2023 · 0 comments · Fixed by #2799
Closed

GitHub App event type security_advisory missing #2798

lukehinds opened this issue Jun 6, 2023 · 0 comments · Fixed by #2799

Comments

@lukehinds
Copy link
Contributor

The GitHub App can transmit dependabot events for security_advisory

Payload snippet:

{
  "action": "published",
  "security_advisory": {
    "ghsa_id": "GHSA-gggw-h5m3-x938",
    "cve_id": null,
    "summary": "Malware in eslint-plugin-artsy",
    "description": "Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.",
    "severity": "critical",
    "identifiers": [
      {
        "value": "GHSA-gggw-h5m3-x938",
        "type": "GHSA"
      }
    ],

Receiving this event results in unknown X-Github-Event in message: security_advisory

This needs to be added as an event type, with message mapping

Have a PR ready to add this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant