-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a75314
commit 18ad1d5
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,21 @@ | |
|
||
This module creates a GitHub repository that complies with the [CIS Software Supply Chain Security Guide 1.0](https://github.com/aquasecurity/chain-bench/blob/main/docs/CIS-Software-Supply-Chain-Security-Guide-v1.0.pdf). | ||
|
||
> [!NOTE] | ||
> `vulnerability_alerts` should be true for GitHub Enterprise Cloud (GHEC) and false for GitHub Enterprise Server (GHES). GHES requires additional configuration to enable security alerts for vulnerable dependencies. See [this doc page](https://docs.github.com/en/[email protected]/admin/configuring-settings/configuring-github-connect/enabling-dependabot-for-your-enterprise) for more information. | ||
## Usage | ||
|
||
```hcl | ||
module "repository" { | ||
source = "github.com/stigian/terraform-github-archimedes//modules/repository" | ||
version = "0.1.0" | ||
name = "example-repo" | ||
description = "example-description" | ||
visibility = "private" | ||
push_allowances = ["example-org/example-team"] # org-name/team-name | ||
name = "example-repo" | ||
description = "example-description" | ||
visibility = "private" | ||
push_allowances = ["example-org/example-team"] # org-name/team-name | ||
vulnerability_alerts = true | ||
} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters