capabilities.work

Update code security defaults for new repos

One step with GitHub. We can help you get access.

Get something done

Update code security defaults for new repos

with GitHub

Use GitHub: its GitHub v3 REST Enterprise Admin API lets you update code security defaults for new repos in a single step (PATCH /enterprises/{enterprise}/code_security_and_analysis). capabilities.work can help you get signed up and connected.

  • How do I turn on secret scanning push protection for every new repository in my enterprise?
  • Can I set a custom help link for developers blocked by push protection?
Say it to your AI assistant
  • Enable secret scanning for new repositories in {enterprise} ({secret_scanning_enabled_for_new_repositories}).
  • Set Dependabot alerts on new {enterprise} repos to {dependabot_alerts_enabled_for_new_repositories}.
  • Point {enterprise}'s push protection custom link at {secret_scanning_push_protection_custom_link}.
For your developer

PATCH /enterprises/{enterprise}/code_security_and_analysis in GitHub v3 REST Enterprise Admin API. Full spec on APIs.io.