[Bug] 3-security: an enabled perimeter fails when the logging variable is unset
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 76/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- gcp, terraform
- Ambito
- cloud
Direzione di ricerca
Inizia da fast/stages-aw/3-security/vpc-sc.tf e segui il modo in cui il perimetro predefinito ottiene le proprie policy di ingress quando var.logging è null. Esegui terraform plan per lo stage con un perimetro predefinito e il logging non impostato, per riprodurre l’errore. Il lavoro è completato quando il plan riesce e omette fast-org-log-sinks dalle policy del perimetro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug Description
The fast/stages-aw/3-security/vpc-sc.tf file always adds the fast-org-log-sinks ingress policy to the default perimeter, but defines that policy only when var.logging is set. With var.logging = null and a default perimeter, the perimeter references a policy that does not exist.
Environment and Deployment Context
- Stellar Engine Version/Commit:
mainat commit2b112119e - Deployment Type:
- US Region Restricted (e.g., Access Policy constraint)
- FedRAMP Moderate
- FedRAMP High
- DoD IL4
- DoD IL5
- Stand-alone / Custom
- FAST Stage (if applicable):
- Stage 0 (Bootstrap)
- Stage 1 (Resource Management)
- Stage 2 (Network Creation)
- Stage 3 (Security and Audit)
- Affected Component:
fast/stages-aw/3-security - Terraform Version: any; static analysis of the configuration
- GCP Provider Version: any
Steps to Reproduce
- Set
vpc_sc.perimeter_defaultand leaveloggingunset. - Run
terraform planfor the stage.
Expected Behavior
The perimeter omits the log sink ingress policy when no logging configuration exists.
Actual Behavior
The plan fails on the undefined fast-org-log-sinks policy. After the upstream sync in #311, a module precondition reports the same problem.
Relevant Logs and Errors
The plan fails because the perimeter refers to an ingress policy key that local.vpc_sc_ingress_policies does not define.
Additional Context
- Add
fast-org-log-sinksto the perimeter ingress policies only whenvar.loggingis not null. - Found while migrating the stage in #311.
- Lingua principale
- HCL
- Stelle
- 55
- Fork
- 21
- Merge medio
- 1g 13h
- PR unite (30g)
- 48
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di google/stellar-engine
-
Enhancement Framework - FedRAMP High Level of Effort - Low Priority - Medium Scope - Blueprint Scope - Module
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
google/stellar-engine#320 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug Framework - FedRAMP High Level of Effort - Low Priority - Medium Scope - Blueprint Security
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
google/stellar-engine#317 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug Framework - FedRAMP High Framework - IL5 Level of Effort - Low Priority - Medium Scope - Blueprint
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
google/stellar-engine#316 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug Level of Effort - Low Priority - High Scope - Blueprint Scope - Module Security
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
google/stellar-engine#313 ·
I maintainer di solito rispondono entro 1 giorno
-
Enhancement Level of Effort - Medium Priority - Medium Scope - Blueprint Scope - Fast Scope - Module
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
google/stellar-engine#321 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di google/stellar-engine
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Uninstall guide omits the CloudWatch log groups AWS CodeBuild creates for useCodeBuild pipelinesForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug documentation
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
awslabs/visual-asset-management-system#552 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
aws_ec2 inventory: cache hit still calls DescribeAvailabilityZones since 12.0.0Forse già presa @Poil l’ha presa oggi. Apertahas_pr
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ansible-collections/amazon.aws#3195 ·
I maintainer di solito rispondono entro 1 giorno
-
PostPolicy produces invalid policy JSON when a condition value contains a quote or backslashForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno