{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with GitHub.",
  "vendor": "github",
  "event": "secret_scanning_alert_location",
  "resource": "security",
  "url": "https://hookdeck.com/webhooks/github/events#secret_scanning_alert_location",
  "description": "New location found for a secret scanning alert",
  "trigger": null,
  "listed_in": "https://docs.github.com/en/webhooks/webhook-events-and-payloads",
  "confidence": "documented",
  "schema_source": "from GitHub docs (example)",
  "identified_by": "x-github-event header and action field in the body",
  "payload": {
    "provenance": "doc-example",
    "value_realism": "doc-example-values",
    "field_count": 140,
    "key_fields": [],
    "delivery": {
      "title": "From GitHub docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "action": "created",
      "alert": {
        "number": 42,
        "created_at": "2020-11-06T18:18:30Z",
        "updated_at": "2020-11-06T18:18:30Z",
        "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42",
        "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42",
        "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations",
        "state": "open",
        "resolution": null,
        "resolved_at": null,
        "resolved_by": null,
        "secret_type": "mailchimp_api_key",
        "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2",
        "publicly_leaked": false,
        "multi_repo": false
      },
      "location": {
        "type": "commit",
        "details": {
          "path": "/example/secrets.txt",
          "start_line": 1,
          "end_line": 1,
          "start_column": 1,
          "end_column": 64,
          "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b",
          "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b",
          "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b",
          "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b"
        }
      },
      "repository": {
        "id": 186853002,
        "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=",
        "name": "hello-world",
        "full_name": "octocat-repo/hello-world",
        "private": false,
        "owner": {
          "login": "octocat",
          "id": 21031067,
          "node_id": "MDQ6VXNlcjIxMDMxMDY3",
          "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/octocat",
          "html_url": "https://github.com/octocat",
          "followers_url": "https://api.github.com/users/octocat/followers",
          "following_url": "https://api.github.com/users/octocat/following{/other_user}",
          "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
          "organizations_url": "https://api.github.com/users/octocat/orgs",
          "repos_url": "https://api.github.com/users/octocat/repos",
          "events_url": "https://api.github.com/users/octocat/events{/privacy}",
          "received_events_url": "https://api.github.com/users/octocat/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/octocat-repo/hello-world",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/octocat-repo/hello-world",
        "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks",
        "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams",
        "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks",
        "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}",
        "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events",
        "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}",
        "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}",
        "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags",
        "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages",
        "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers",
        "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors",
        "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers",
        "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription",
        "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}",
        "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges",
        "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads",
        "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}",
        "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}",
        "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}",
        "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments",
        "created_at": "2019-05-15T15:19:25Z",
        "updated_at": "2019-05-15T15:21:03Z",
        "pushed_at": "2019-05-15T15:20:57Z",
        "git_url": "git://github.com/octocat-repo/hello-world.git",
        "ssh_url": "git@github.com:octocat-repo/hello-world.git",
        "clone_url": "https://github.com/octocat-repo/hello-world.git",
        "svn_url": "https://github.com/octocat-repo/hello-world",
        "homepage": null,
        "size": 0,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "Ruby",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": true,
        "forks_count": 1,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 2,
        "license": null,
        "forks": 1,
        "open_issues": 2,
        "watchers": 0,
        "default_branch": "master",
        "is_template": false
      },
      "sender": {
        "login": "octocat",
        "id": 21031067,
        "node_id": "MDQ6VXNlcjIxMDMxMDY3",
        "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/octocat",
        "html_url": "https://github.com/octocat",
        "followers_url": "https://api.github.com/users/octocat/followers",
        "following_url": "https://api.github.com/users/octocat/following{/other_user}",
        "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
        "organizations_url": "https://api.github.com/users/octocat/orgs",
        "repos_url": "https://api.github.com/users/octocat/repos",
        "events_url": "https://api.github.com/users/octocat/events{/privacy}",
        "received_events_url": "https://api.github.com/users/octocat/received_events",
        "type": "User",
        "site_admin": false
      }
    }
  }
}