-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cve whitelist to harbor_project resource (#71)
Co-authored-by: nolte <[email protected]>
- Loading branch information
1 parent
ced1fd6
commit 37a331d
Showing
4 changed files
with
92 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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
resource "harbor_project" "main" { | ||
name = "main" | ||
public = false # (Optional) Default value is false | ||
vulnerability_scanning = true # (Optional) Default vale is true. Automatically scan images on push | ||
name = "main" | ||
public = false # (Optional) Default value is false | ||
vulnerability_scanning = true # (Optional) Default value is true. Automatically scan images on push | ||
reuse_sys_cve_whitelist = false # (Optional) Default value is true. | ||
cve_whitelist = ["CVE-2020-12345", "CVE-2020-54321"] | ||
} |
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