Allow setting security_and_analysis settings in gh repo edit
Describe the feature or problem you’d like to solve
gh repo edit allows setting most properties of octokit.rest.repos.update. But, it doesn't seem to have an option for security_and_analysis properties that I can find.
From the docs and the OpenAPI types, that's:
advanced_securitysecret_scanningsecret_scanning_push_protection
Proposed solution
Could we be able to set those properties in gh repo edit too, please? I.e.:
gh repo edit --enable-advanced-security true --enable-secret-scanning true --enable-secret-scanning-push-protection true
Additional context
Is there precedent for what does or doesn't get implemented in gh repo edit? And if so, is that influenced at all by which settings are within nested objects like security_and_analysis?
Sibling issue to: #10092