Skip to content

Commit 1794fbc

Browse files
github-actions[bot]octokitbotkfcampbell
authored
feat: Dependabot alerts --> secret scanning (#540)
* build: cache * Empty commit to trigger tests --------- Co-authored-by: Octokit Bot <[email protected]> Co-authored-by: Keegan Campbell <[email protected]>
1 parent 10d11dd commit 1794fbc

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

scripts/update-endpoints/generated/endpoints.json

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@
13741374
"code": 200,
13751375
"examples": [
13761376
{
1377-
"data": "{\"total_advanced_security_committers\":2,\"total_count\":2,\"repositories\":[{\"name\":\"octocat-org/Hello-World\",\"advanced_security_committers\":2,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octocat\",\"last_pushed_date\":\"2021-11-03\",\"last_pushed_email\":\"[email protected]\"},{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-25\",\"last_pushed_email\":\"[email protected]\"}]},{\"name\":\"octocat-org/server\",\"advanced_security_committers\":1,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-26\",\"last_pushed_email\":\"[email protected]\"}]}]}"
1377+
"data": "{\"total_advanced_security_committers\":2,\"total_count\":2,\"maximum_advanced_security_committers\":4,\"purchased_advanced_security_committers\":4,\"repositories\":[{\"name\":\"octocat-org/Hello-World\",\"advanced_security_committers\":2,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octocat\",\"last_pushed_date\":\"2021-11-03\",\"last_pushed_email\":\"[email protected]\"},{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-25\",\"last_pushed_email\":\"[email protected]\"}]},{\"name\":\"octocat-org/server\",\"advanced_security_committers\":1,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-26\",\"last_pushed_email\":\"[email protected]\"}]}]}"
13781378
}
13791379
]
13801380
}
@@ -1433,7 +1433,7 @@
14331433
"code": 200,
14341434
"examples": [
14351435
{
1436-
"data": "{\"total_advanced_security_committers\":2,\"total_count\":2,\"repositories\":[{\"name\":\"octocat-org/Hello-World\",\"advanced_security_committers\":2,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octocat\",\"last_pushed_date\":\"2021-11-03\",\"last_pushed_email\":\"[email protected]\"},{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-25\",\"last_pushed_email\":\"[email protected]\"}]},{\"name\":\"octocat-org/server\",\"advanced_security_committers\":1,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-26\",\"last_pushed_email\":\"[email protected]\"}]}]}"
1436+
"data": "{\"total_advanced_security_committers\":2,\"total_count\":2,\"maximum_advanced_security_committers\":4,\"purchased_advanced_security_committers\":4,\"repositories\":[{\"name\":\"octocat-org/Hello-World\",\"advanced_security_committers\":2,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octocat\",\"last_pushed_date\":\"2021-11-03\",\"last_pushed_email\":\"[email protected]\"},{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-25\",\"last_pushed_email\":\"[email protected]\"}]},{\"name\":\"octocat-org/server\",\"advanced_security_committers\":1,\"advanced_security_committers_breakdown\":[{\"user_login\":\"octokitten\",\"last_pushed_date\":\"2021-10-26\",\"last_pushed_email\":\"[email protected]\"}]}]}"
14371437
}
14381438
]
14391439
}
@@ -7545,7 +7545,7 @@
75457545
"code": 200,
75467546
"examples": [
75477547
{
7548-
"data": "{\"advanced_security_enabled_for_new_repositories\":true,\"dependabot_alerts_enabled_for_new_repositories\":true,\"secret_scanning_enabled_for_new_repositories\":true,\"secret_scanning_push_protection_enabled_for_new_repositories\":true,\"secret_scanning_push_protection_custom_link\":\"https://github.com/test-org/test-repo/blob/main/README.md\"}"
7548+
"data": "{\"advanced_security_enabled_for_new_repositories\":true,\"dependabot_alerts_enabled_for_new_repositories\":true,\"secret_scanning_enabled_for_new_repositories\":true,\"secret_scanning_push_protection_enabled_for_new_repositories\":true,\"secret_scanning_push_protection_custom_link\":\"https://github.com/test-org/test-repo/blob/main/README.md\",\"secret_scanning_validity_checks_enabled\":true}"
75497549
}
75507550
]
75517551
},
@@ -7615,7 +7615,7 @@
76157615
"deprecated": null
76167616
},
76177617
{
7618-
"name": "dependabot_alerts_enabled_for_new_repositories",
7618+
"name": "secret_scanning_enabled_for_new_repositories",
76197619
"in": "BODY",
76207620
"type": "boolean",
76217621
"required": false,
@@ -7627,7 +7627,7 @@
76277627
"deprecated": null
76287628
},
76297629
{
7630-
"name": "dependabot_alerts_enabled_for_new_repositories",
7630+
"name": "secret_scanning_push_protection_enabled_for_new_repositories",
76317631
"in": "BODY",
76327632
"type": "boolean",
76337633
"required": false,
@@ -7639,12 +7639,24 @@
76397639
"deprecated": null
76407640
},
76417641
{
7642-
"name": "dependabot_alerts_enabled_for_new_repositories",
7642+
"name": "secret_scanning_push_protection_custom_link",
7643+
"in": "BODY",
7644+
"type": "string",
7645+
"required": false,
7646+
"enum": null,
7647+
"allowNull": true,
7648+
"mapToData": null,
7649+
"validation": null,
7650+
"alias": null,
7651+
"deprecated": null
7652+
},
7653+
{
7654+
"name": "secret_scanning_validity_checks_enabled",
76437655
"in": "BODY",
76447656
"type": "boolean",
76457657
"required": false,
76467658
"enum": null,
7647-
"allowNull": false,
7659+
"allowNull": true,
76487660
"mapToData": null,
76497661
"validation": null,
76507662
"alias": null,

0 commit comments

Comments
 (0)