Skip to content

Commit 3707b17

Browse files
authored
Merge pull request github#18680 from github/repo-sync
repo sync
2 parents c7bd39d + 811489d commit 3707b17

File tree

10 files changed

+872
-1
lines changed

10 files changed

+872
-1
lines changed

content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,13 @@ Action | Description
12271227
| `secret_scanning_new_repos.enable` | An organization owner enabled secret scanning for all new{% ifversion ghec %} private or internal{% endif %} repositories.
12281228
{%- endif %}
12291229

1230+
{% ifversion secret-scanning-push-protection-bypasses %}
1231+
## `secret_scanning_push_protection` category actions
1232+
1233+
| Action | Description
1234+
|--------|-------------
1235+
| `bypass` | Triggered when a user bypasses the push protection on a secret detected by secret scanning. For more information, see "[Bypassing push protection for a secret](/code-security/secret-scanning/protecting-pushes-with-secret-scanning#bypassing-push-protection-for-a-secret)."{% endif %}
1236+
12301237
{%- ifversion ghec or ghes or ghae %}
12311238
## `security_key` category actions
12321239

content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,14 @@ For more information, see "[Managing the publication of {% data variables.produc
761761
| `enable` | Triggered when an organization owner enables secret scanning for all new {% ifversion ghec %}private or internal {% endif %}repositories.
762762
{% endif %}
763763

764+
{% ifversion secret-scanning-push-protection-bypasses %}
765+
### `secret_scanning_push_protection` category actions
766+
767+
| Action | Description
768+
|------------------|-------------------
769+
| `bypass` | Triggered when a user bypasses the push protection on a secret detected by secret scanning. For more information, see "[Bypassing push protection for a secret](/code-security/secret-scanning/protecting-pushes-with-secret-scanning#bypassing-push-protection-for-a-secret)."
770+
{% endif %}
771+
764772
{% ifversion fpt or ghec %}
765773
### `sponsors` category actions
766774

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reference: #7298.
2+
# Documentation for new events related to secret scanning push protection bypasses, e.g. audit log.
3+
versions:
4+
ghec: '*'
5+
ghes: '>=3.6'
6+
ghae: 'issue-7298'

lib/webhooks/static/dotcom/secret_scanning_alert.reopened.payload.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,29 @@
55
"secret_type": "adafruit_io_key",
66
"resolution": null,
77
"resolved_by": null,
8-
"resolved_at": null
8+
"resolved_at": null,
9+
"push_protection_bypassed": true,
10+
"push_protection_bypassed_by": {
11+
"login": "octocat",
12+
"id": 81782111,
13+
"node_id": "MDQ6VXNlcjgxNgyMTEx",
14+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
15+
"gravatar_id": "",
16+
"url": "https://api.github.com/users/octocat",
17+
"html_url": "https://github.com/octocat",
18+
"followers_url": "https://api.github.com/users/octocat/followers",
19+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
20+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
21+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
22+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
23+
"organizations_url": "https://api.github.com/users/octocat/orgs",
24+
"repos_url": "https://api.github.com/users/octocat/repos",
25+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
26+
"received_events_url": "https://api.github.com/users/octocat/received_events",
27+
"type": "User",
28+
"site_admin": true
29+
},
30+
"push_protection_bypassed_at": "2022-04-25T23:10:19Z"
931
},
1032
"repository": {
1133
"id": 257423561,
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
{
2+
"action": "reopened",
3+
"alert": {
4+
"number": 191,
5+
"secret_type": "adafruit_io_key",
6+
"resolution": null,
7+
"resolved_by": null,
8+
"resolved_at": null
9+
},
10+
"repository": {
11+
"id": 257423561,
12+
"node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=",
13+
"name": "Hello-World",
14+
"full_name": "Codertocat/Hello-World",
15+
"private": true,
16+
"owner": {
17+
"login": "Codertocat",
18+
"id": 30846345,
19+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
20+
"avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
21+
"gravatar_id": "",
22+
"url": "https://api.github.com/users/Codertocat",
23+
"html_url": "https://github.com/Codertocat",
24+
"followers_url": "https://api.github.com/users/Codertocat/followers",
25+
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
26+
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
27+
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
28+
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
29+
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
30+
"repos_url": "https://api.github.com/users/Codertocat/repos",
31+
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
32+
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
33+
"type": "Organization",
34+
"site_admin": false
35+
},
36+
"html_url": "https://github.com/Codertocat/Hello-World",
37+
"description": null,
38+
"fork": false,
39+
"url": "https://api.github.com/repos/Codertocat/Hello-World",
40+
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
41+
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
42+
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
43+
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
44+
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
45+
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
46+
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
47+
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
48+
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
49+
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
50+
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
51+
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
52+
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
53+
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
54+
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
55+
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
56+
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
57+
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
58+
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
59+
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
60+
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
61+
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
62+
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
63+
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
64+
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
65+
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
66+
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
67+
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
68+
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
69+
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
70+
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
71+
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
72+
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
73+
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
74+
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
75+
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
76+
"created_at": "2020-04-20T22:59:11Z",
77+
"updated_at": "2020-11-24T01:37:33Z",
78+
"pushed_at": "2020-11-24T01:37:31Z",
79+
"git_url": "git://github.com/Codertocat/Hello-World.git",
80+
"ssh_url": "[email protected]:Codertocat/Hello-World.git",
81+
"clone_url": "https://github.com/Codertocat/Hello-World.git",
82+
"svn_url": "https://github.com/Codertocat/Hello-World",
83+
"homepage": null,
84+
"size": 1156,
85+
"stargazers_count": 0,
86+
"watchers_count": 0,
87+
"language": "JavaScript",
88+
"has_issues": false,
89+
"has_projects": false,
90+
"has_downloads": true,
91+
"has_wiki": false,
92+
"has_pages": true,
93+
"forks_count": 0,
94+
"mirror_url": null,
95+
"archived": false,
96+
"disabled": false,
97+
"open_issues_count": 3,
98+
"license": null,
99+
"forks": 0,
100+
"open_issues": 3,
101+
"watchers": 0,
102+
"default_branch": "master"
103+
},
104+
"organization": {
105+
"login": "Codertocat",
106+
"id": 30846345,
107+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
108+
"url": "https://api.github.com/orgs/Codertocat",
109+
"repos_url": "https://api.github.com/orgs/Codertocat/repos",
110+
"events_url": "https://api.github.com/orgs/Codertocat/events",
111+
"hooks_url": "https://api.github.com/orgs/Codertocat/hooks",
112+
"issues_url": "https://api.github.com/orgs/Codertocat/issues",
113+
"members_url": "https://api.github.com/orgs/Codertocat/members{/member}",
114+
"public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}",
115+
"avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
116+
"description": "Demos and testing of GitHub security products"
117+
},
118+
"sender": {
119+
"login": "Codertocat",
120+
"id": 10136561,
121+
"node_id": "MDQ6VXNlcjEwMTM2NTYx",
122+
"avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4",
123+
"gravatar_id": "",
124+
"url": "https://api.github.com/users/Codertocat",
125+
"html_url": "https://github.com/Codertocat",
126+
"followers_url": "https://api.github.com/users/Codertocat/followers",
127+
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
128+
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
129+
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
130+
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
131+
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
132+
"repos_url": "https://api.github.com/users/Codertocat/repos",
133+
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
134+
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
135+
"type": "User",
136+
"site_admin": true
137+
}
138+
}
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
{
2+
"action": "reopened",
3+
"alert": {
4+
"number": 191,
5+
"secret_type": "adafruit_io_key",
6+
"resolution": null,
7+
"resolved_by": null,
8+
"resolved_at": null
9+
},
10+
"repository": {
11+
"id": 257423561,
12+
"node_id": "MDEwOlJlcG9zaXRvcnkyNTc0MjM1NjE=",
13+
"name": "Hello-World",
14+
"full_name": "Codertocat/Hello-World",
15+
"private": true,
16+
"owner": {
17+
"login": "Codertocat",
18+
"id": 30846345,
19+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
20+
"avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
21+
"gravatar_id": "",
22+
"url": "https://api.github.com/users/Codertocat",
23+
"html_url": "https://github.com/Codertocat",
24+
"followers_url": "https://api.github.com/users/Codertocat/followers",
25+
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
26+
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
27+
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
28+
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
29+
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
30+
"repos_url": "https://api.github.com/users/Codertocat/repos",
31+
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
32+
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
33+
"type": "Organization",
34+
"site_admin": false
35+
},
36+
"html_url": "https://github.com/Codertocat/Hello-World",
37+
"description": null,
38+
"fork": false,
39+
"url": "https://api.github.com/repos/Codertocat/Hello-World",
40+
"forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks",
41+
"keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}",
42+
"collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}",
43+
"teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams",
44+
"hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks",
45+
"issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}",
46+
"events_url": "https://api.github.com/repos/Codertocat/Hello-World/events",
47+
"assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}",
48+
"branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}",
49+
"tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags",
50+
"blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}",
51+
"git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}",
52+
"git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}",
53+
"trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}",
54+
"statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}",
55+
"languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages",
56+
"stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers",
57+
"contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors",
58+
"subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers",
59+
"subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription",
60+
"commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}",
61+
"git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}",
62+
"comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}",
63+
"issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}",
64+
"contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}",
65+
"compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}",
66+
"merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges",
67+
"archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}",
68+
"downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads",
69+
"issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}",
70+
"pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}",
71+
"milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}",
72+
"notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}",
73+
"labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}",
74+
"releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}",
75+
"deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments",
76+
"created_at": "2020-04-20T22:59:11Z",
77+
"updated_at": "2020-11-24T01:37:33Z",
78+
"pushed_at": "2020-11-24T01:37:31Z",
79+
"git_url": "git://github.com/Codertocat/Hello-World.git",
80+
"ssh_url": "[email protected]:Codertocat/Hello-World.git",
81+
"clone_url": "https://github.com/Codertocat/Hello-World.git",
82+
"svn_url": "https://github.com/Codertocat/Hello-World",
83+
"homepage": null,
84+
"size": 1156,
85+
"stargazers_count": 0,
86+
"watchers_count": 0,
87+
"language": "JavaScript",
88+
"has_issues": false,
89+
"has_projects": false,
90+
"has_downloads": true,
91+
"has_wiki": false,
92+
"has_pages": true,
93+
"forks_count": 0,
94+
"mirror_url": null,
95+
"archived": false,
96+
"disabled": false,
97+
"open_issues_count": 3,
98+
"license": null,
99+
"forks": 0,
100+
"open_issues": 3,
101+
"watchers": 0,
102+
"default_branch": "master"
103+
},
104+
"organization": {
105+
"login": "Codertocat",
106+
"id": 30846345,
107+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjMwODQ2MzQ1",
108+
"url": "https://api.github.com/orgs/Codertocat",
109+
"repos_url": "https://api.github.com/orgs/Codertocat/repos",
110+
"events_url": "https://api.github.com/orgs/Codertocat/events",
111+
"hooks_url": "https://api.github.com/orgs/Codertocat/hooks",
112+
"issues_url": "https://api.github.com/orgs/Codertocat/issues",
113+
"members_url": "https://api.github.com/orgs/Codertocat/members{/member}",
114+
"public_members_url": "https://api.github.com/orgs/Codertocat/public_members{/member}",
115+
"avatar_url": "https://avatars0.githubusercontent.com/u/30846345?v=4",
116+
"description": "Demos and testing of GitHub security products"
117+
},
118+
"sender": {
119+
"login": "Codertocat",
120+
"id": 10136561,
121+
"node_id": "MDQ6VXNlcjEwMTM2NTYx",
122+
"avatar_url": "https://avatars1.githubusercontent.com/u/10136561?v=4",
123+
"gravatar_id": "",
124+
"url": "https://api.github.com/users/Codertocat",
125+
"html_url": "https://github.com/Codertocat",
126+
"followers_url": "https://api.github.com/users/Codertocat/followers",
127+
"following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
128+
"gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
129+
"starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
130+
"subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
131+
"organizations_url": "https://api.github.com/users/Codertocat/orgs",
132+
"repos_url": "https://api.github.com/users/Codertocat/repos",
133+
"events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
134+
"received_events_url": "https://api.github.com/users/Codertocat/received_events",
135+
"type": "User",
136+
"site_admin": true
137+
}
138+
}

0 commit comments

Comments
 (0)