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
{{ message }}
Repository navigation
[Bug] 3-security: an enabled perimeter fails when the logging variable is unset #318
BugSomething isn't workingLevel of Effort - LowQuick, well-defined tasks with no unknowns; takes a few hours up to one day to completePriority - HighCritical issues blocking development or users; urgent bugs or core features for releaseScope - FastRelated to Fabric FAST deployment stages in the fast directorySecuritySomething is insecure or can be secured
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:main at commit 2b112119e
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_default and leave logging unset.
Run terraform plan for 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-sinks to the perimeter ingress policies only when var.logging is not null.
BugSomething isn't workingLevel of Effort - LowQuick, well-defined tasks with no unknowns; takes a few hours up to one day to completePriority - HighCritical issues blocking development or users; urgent bugs or core features for releaseScope - FastRelated to Fabric FAST deployment stages in the fast directorySecuritySomething is insecure or can be secured
Activity