1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
https
POST
api.github.com
None
/orgs/BeaverSoftware/code-security/configurations
{'Accept': 'application/vnd.github.nebula-preview+json', 'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"name": "test1", "description": "This is a description"}
201
[('Date', 'Wed, 11 Dec 2024 06:20:26 GMT'), ('Content-Type', 'application/json; charset=utf-8'), ('Content-Length', '1035'), ('Cache-Control', 'private, max-age=60, s-maxage=60'), ('Vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('ETag', '"f4b815f22240ed795f90e5051f7130187182a91533af980cd0682863ecbc0873"'), ('X-OAuth-Scopes', 'admin:enterprise, admin:org, repo'), ('X-Accepted-OAuth-Scopes', 'admin:org, write:org'), ('github-authentication-token-expiration', '2025-01-09 05:04:04 UTC'), ('Location', 'https://api.github.com/orgs/BeaverSoftware/code-security/configurations/171827'), ('X-GitHub-Media-Type', 'github.v3; param=nebula-preview; format=json'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4992'), ('X-RateLimit-Reset', '1733901073'), ('X-RateLimit-Used', '8'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('X-GitHub-Request-Id', '2009:345DF0:4575CA:89DDE7:67592F2A'), ('Server', 'github.com')]
{"id":171827,"target_type":"organization","name":"test1","description":"This is a description","advanced_security":"disabled","dependency_graph":"enabled","dependency_graph_autosubmit_action":"disabled","dependency_graph_autosubmit_action_options":{"labeled_runners":false},"dependabot_alerts":"disabled","dependabot_security_updates":"disabled","code_scanning_default_setup":"disabled","code_scanning_default_setup_options":{"runner_type":"not_set","runner_label":null},"secret_scanning":"disabled","secret_scanning_push_protection":"disabled","secret_scanning_delegated_bypass":"disabled","secret_scanning_non_provider_patterns":"disabled","enforcement":"enforced","url":"https://api.github.com/orgs/BeaverSoftware/code-security/configurations/171827","html_url":"https://github.com/organizations/BeaverSoftware/settings/security_products/configurations/edit/171827","created_at":"2024-12-11T06:20:26Z","updated_at":"2024-12-11T06:20:26Z","private_vulnerability_reporting":"disabled","secret_scanning_validity_checks":"disabled"}
https
DELETE
api.github.com
None
/orgs/BeaverSoftware/code-security/configurations/171827
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
None
204
[('Date', 'Wed, 11 Dec 2024 06:20:26 GMT'), ('X-OAuth-Scopes', 'admin:enterprise, admin:org, repo'), ('X-Accepted-OAuth-Scopes', 'admin:org, write:org'), ('github-authentication-token-expiration', '2025-01-09 05:04:04 UTC'), ('X-GitHub-Media-Type', 'github.v3; format=json'), ('x-github-api-version-selected', '2022-11-28'), ('X-RateLimit-Limit', '5000'), ('X-RateLimit-Remaining', '4991'), ('X-RateLimit-Reset', '1733901073'), ('X-RateLimit-Used', '9'), ('X-RateLimit-Resource', 'core'), ('Access-Control-Expose-Headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset'), ('Access-Control-Allow-Origin', '*'), ('Strict-Transport-Security', 'max-age=31536000; includeSubdomains; preload'), ('X-Frame-Options', 'deny'), ('X-Content-Type-Options', 'nosniff'), ('X-XSS-Protection', '0'), ('Referrer-Policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('Content-Security-Policy', "default-src 'none'"), ('Vary', 'Accept-Encoding, Accept, X-Requested-With'), ('X-GitHub-Request-Id', '200A:1701B2:3FA04B:7E2DCC:67592F2A'), ('Server', 'github.com')]
|