1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/lib/webhooks/static/dotcom/security_and_analysis.payload.json
Sarah Edwards ceb100ccf6 Fix webhook payload examples (#28623)
fix error where webhook payload example included more than just the payload
2022-06-22 16:59:25 +00:00

194 lines
8.8 KiB
JSON

{
"repository": {
"id": 1,
"node_id": "R_kgAB",
"name": "octo-repo",
"full_name": "github/octo-repo",
"private": true,
"owner": {
"login": "octocat",
"id": 4,
"node_id": "O_kgAE",
"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": "Organization",
"site_admin": false
},
"html_url": "https://github.com/github/octo-repo",
"description": null,
"fork": false,
"url": "https://api.github.com/repos/github/octo-repo",
"forks_url": "https://api.github.com/repos/github/octo-repo/forks",
"keys_url": "https://api.github.com/repos/github/octo-repo/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/github/octo-repo/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/github/octo-repo/teams",
"hooks_url": "https://api.github.com/repos/github/octo-repo/hooks",
"issue_events_url": "https://api.github.com/repos/github/octo-repo/issues/events{/number}",
"events_url": "https://api.github.com/repos/github/octo-repo/events",
"assignees_url": "https://api.github.com/repos/github/octo-repo/assignees{/user}",
"branches_url": "https://api.github.com/repos/github/octo-repo/branches{/branch}",
"tags_url": "https://api.github.com/repos/github/octo-repo/tags",
"blobs_url": "https://api.github.com/repos/github/octo-repo/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/github/octo-repo/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/github/octo-repo/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/github/octo-repo/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/github/octo-repo/statuses/{sha}",
"languages_url": "https://api.github.com/repos/github/octo-repo/languages",
"stargazers_url": "https://api.github.com/repos/github/octo-repo/stargazers",
"contributors_url": "https://api.github.com/repos/github/octo-repo/contributors",
"subscribers_url": "https://api.github.com/repos/github/octo-repo/subscribers",
"subscription_url": "https://api.github.com/repos/github/octo-repo/subscription",
"commits_url": "https://api.github.com/repos/github/octo-repo/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/github/octo-repo/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/github/octo-repo/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/github/octo-repo/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/github/octo-repo/contents/{+path}",
"compare_url": "https://api.github.com/repos/github/octo-repo/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/github/octo-repo/merges",
"archive_url": "https://api.github.com/repos/github/octo-repo/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/github/octo-repo/downloads",
"issues_url": "https://api.github.com/repos/github/octo-repo/issues{/number}",
"pulls_url": "https://api.github.com/repos/github/octo-repo/pulls{/number}",
"milestones_url": "https://api.github.com/repos/github/octo-repo/milestones{/number}",
"notifications_url": "https://api.github.com/repos/github/octo-repo/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/github/octo-repo/labels{/name}",
"releases_url": "https://api.github.com/repos/github/octo-repo/releases{/id}",
"deployments_url": "https://api.github.com/repos/github/octo-repo/deployments",
"created_at": "2022-06-01T16:56:16Z",
"updated_at": "2022-06-01T16:56:16Z",
"pushed_at": "2022-06-01T16:56:18Z",
"git_url": "git://github.com/github/octo-repo.git",
"ssh_url": "ssh://git@github.com/github/octo-repo.git",
"clone_url": "https://github.com/github/octo-repo.git",
"svn_url": "https://github.com/github/octo-repo",
"homepage": null,
"size": 0,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 0,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 0,
"license": null,
"allow_forking": false,
"is_template": false,
"topics": [],
"visibility": "internal",
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "main",
"organization": {
"login": "octo-org",
"id": 4,
"node_id": "O_kgAE",
"avatar_url": "http://alambic.github.com/avatars/u/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": "Organization",
"site_admin": false
},
"security_and_analysis": {
"advanced_security": {
"status": "enabled"
},
"secret_scanning": {
"status": "enabled"
},
"secret_scanning_push_protection": {
"status": "disabled"
}
},
"network_count": 0,
"subscribers_count": 0
},
"changes": {
"from": {
"security_and_analysis": {
"advanced_security": {
"status": "enabled"
},
"secret_scanning": {
"status": "disabled"
},
"secret_scanning_push_protection": {
"status": "disabled"
}
}
}
},
"organization": {
"login": "octo-org",
"id": 4,
"node_id": "O_kgAE",
"url": "https://api.github.com/orgs/octo-org",
"repos_url": "https://api.github.com/orgs/octo-org/repos",
"events_url": "https://api.github.com/orgs/octo-org/events",
"hooks_url": "https://api.github.com/orgs/octo-org/hooks",
"issues_url": "https://api.github.com/orgs/octo-org/issues",
"members_url": "https://api.github.com/orgs/octo-org/members{/member}",
"public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}",
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
"description": null
},
"enterprise": {
"id": 1,
"slug": "github-inc",
"name": "GitHub, Inc",
"node_id": "E_kgAB",
"avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
"description": null,
"website_url": null,
"html_url": "https://github.com/enterprises/github-inc",
"created_at": "2022-06-01T16:20:40Z",
"updated_at": "2022-06-01T16:20:40Z"
},
"sender": {
"login": "octocat",
"id": 2,
"node_id": "U_kgAC",
"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": true
}
}