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
When I use ApplicationLoadBalancedFargateService with a certificate managed by AWS Certificate Manager and redirectHTTP: true, I get a HIPAA.Security-ELBv2ACMCertificateRequired error. If I remove redirectHTTP, I do not get the error.
[Error at /TestStack/MyService/LB/PublicRedirectListener/Resource] HIPAA.Security-ELBv2ACMCertificateRequired: The ALB, NLB, or GLB listener does not utilize an SSL certificate provided by ACM (Amazon Certificate Manager) - (Control IDs: 164.312(a)(2)(iv), 164.312(e)(2)(ii)). Because sensitive data can exist and to help protect data at transit, ensure encryption is enabled for your Elastic Load Balancing. Use AWS Certificate Manager to manage, provision and deploy public and private SSL/TLS certificates with AWS services and internal resources.
cdk-nag version
2.28.64
Language
Typescript
Other information
No response
The text was updated successfully, but these errors were encountered:
jessebs
changed the title
bug: ApplicationLoadBalancedFargateService not correctly detecting certificate
bug: ApplicationLoadBalancedFargateService not correctly detecting certificate with redirectHTTP
Mar 14, 2024
The [AWS Config rule (https://docs.aws.amazon.com/config/latest/developerguide/elbv2-acm-certificate-required.html)that this check is derived from states
Checks if Application Load Balancers and Network Load Balancers have listeners that are configured to use certificates from AWS Certificate Manager (ACM). This rule is NON_COMPLIANT if at least 1 load balancer has at least 1 listener that is configured without a certificate from ACM or is configured with a certificate different from an ACM certificate.
The listener flagged by cdk-nag does not meet the requirement as it does not have an ACM certificate associated with it
dontirun
added
other
This issue doesn't fit into the other categories
and removed
bug
Something isn't working
needs-triage
This issue or PR still needs to be triaged.
labels
Mar 15, 2024
What is the problem?
When I use ApplicationLoadBalancedFargateService with a certificate managed by AWS Certificate Manager and
redirectHTTP: true
, I get aHIPAA.Security-ELBv2ACMCertificateRequired
error. If I remove redirectHTTP, I do not get the error.Reproduction Steps
What did you expect to happen?
No Error
What actually happened?
cdk-nag version
2.28.64
Language
Typescript
Other information
No response
The text was updated successfully, but these errors were encountered: