-
Notifications
You must be signed in to change notification settings - Fork 0
Security: Harden GitOps infrastructure #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -7,9 +7,12 @@ spec: | |||||||||||||||||||||
| description: Default project for GitOps demo | ||||||||||||||||||||||
| sourceRepos: | ||||||||||||||||||||||
| - https://github.com/thomasvincent/gitops-infrastructure-demo.git | ||||||||||||||||||||||
| - https://charts.helm.sh/stable | ||||||||||||||||||||||
| destinations: | ||||||||||||||||||||||
| - namespace: '*' | ||||||||||||||||||||||
| - namespace: 'argocd' | ||||||||||||||||||||||
| server: https://kubernetes.default.svc | ||||||||||||||||||||||
| - namespace: 'default' | ||||||||||||||||||||||
| server: https://kubernetes.default.svc | ||||||||||||||||||||||
| - namespace: 'kube-system' | ||||||||||||||||||||||
| server: https://kubernetes.default.svc | ||||||||||||||||||||||
|
||||||||||||||||||||||
| server: https://kubernetes.default.svc | |
| server: https://kubernetes.default.svc | |
| - namespace: 'sample-app' | |
| server: https://kubernetes.default.svc | |
| - namespace: 'sample-app-dev' | |
| server: https://kubernetes.default.svc | |
| - namespace: 'sample-app-staging' | |
| server: https://kubernetes.default.svc | |
| - namespace: 'sample-app-production' | |
| server: https://kubernetes.default.svc |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -36,3 +36,9 @@ variable "node_groups" { | |||||
| }) | ||||||
| })) | ||||||
| } | ||||||
|
|
||||||
| variable "public_access_cidrs" { | ||||||
| description = "List of CIDR blocks that can access the EKS public API endpoint" | ||||||
| type = list(string) | ||||||
| default = ["10.0.0.0/8"] | ||||||
|
||||||
| default = ["10.0.0.0/8"] | |
| default = ["0.0.0.0/0"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR description says GitHub Actions are pinned to SHA hashes, but this workflow still uses version tags for
aquasecurity/tfsec-action,azure/setup-helm, andibiqlik/action-yamllint. Either pin those actions to commit SHAs as well, or update the PR description so expectations match the actual hardening applied.