You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -178,6 +179,7 @@ See [variables.tf] and [examples/] for details and use-cases.
178
179
| <aname="input_push_team_ids"></a> [push\_team\_ids](#input\_push\_team\_ids)| (Optional) A list of teams (by id) to grant push (read-write) permission to. |`list(string)`|`[]`| no |
179
180
| <aname="input_push_teams"></a> [push\_teams](#input\_push\_teams)| (Optional) A list of teams (by name/slug) to grant push (read-write) permission to. |`list(string)`|`[]`| no |
| <aname="input_security_and_analysis"></a> [security\_and\_analysis](#input\_security\_and\_analysis)| (Optional) Security and analysis configuration for the repository.<br/><br/>- All fields except org\_advanced\_security are strings: "enabled" or "disabled".<br/>- org\_advanced\_security is a bool indicating whether the org has split licensing for Advanced Security. | <pre>object({<br/> org_advanced_security = optional(bool, false)<br/> advanced_security = optional(string, "disabled")<br/> code_security = optional(string, "disabled")<br/> secret_scanning = optional(string, "disabled")<br/> secret_scanning_push_protection = optional(string, "disabled")<br/> secret_scanning_ai_detection = optional(string, "disabled")<br/> secret_scanning_non_provider_patterns = optional(string, "disabled")<br/> })</pre> |`null`| no |
181
183
| <aname="input_squash_merge_commit_message"></a> [squash\_merge\_commit\_message](#input\_squash\_merge\_commit\_message)| (Optional) Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. |`string`|`"COMMIT_MESSAGES"`| no |
182
184
| <aname="input_squash_merge_commit_title"></a> [squash\_merge\_commit\_title](#input\_squash\_merge\_commit\_title)| (Optional) Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. |`string`|`"COMMIT_OR_PR_TITLE"`| no |
(Optional) The repository's [security and analysis](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository) configuration.
220
+
See [Security and Analysis Configuration](#security-and-analysis-configuration) below for details.
221
+
222
+
Default is `null`.
223
+
224
+
The `security_and_analysis` object accepts the following attributes:
If your GitHub Organization has split licensing for Advanced Security you can have Security and Analysis on non-public repositories. Otherwise Security and Analysis operates on all public repositories. Currently there is no known way to automatically detect this.
229
+
230
+
Define `org_advanced_security` as true to give more visibility options.
The secret scanning push protection configuration for the repository. See [Secret Scanning Push Protection Configuration](#secret-scanning-push-protection-configuration) below for details.
0 commit comments