Skip to content

Commit

Permalink
Fix/alb listener check (#1917)
Browse files Browse the repository at this point in the history
* [resotocore][fix] fix case for certificate_transparency_logging value

* [resotocore][fix] invert check for empty listener list
  • Loading branch information
nburtsev committed Feb 15, 2024
1 parent 8bc44ea commit a94f5bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resotocore/resotocore/static/report/checks/aws/aws_elb.json
Expand Up @@ -10,7 +10,7 @@
"risk": "If no listeners are configured for an Application Load Balancer, it will not be able to receive traffic from clients and route requests to registered targets.",
"severity": "medium",
"detect": {
"resoto": "is(aws_alb) and alb_listener not in [null, []]"
"resoto": "is(aws_alb) and alb_listener in [null, []]"
},
"remediation": {
"text": "To fix this issue, add listeners to the Elastic Load Balancers V2.",
Expand All @@ -33,7 +33,7 @@
"risk": "Without listeners, Elastic Load Balancers cannot receive traffic from clients and cannot route requests to registered targets.",
"severity": "medium",
"detect": {
"resoto": "search is(aws_elb) and listener not in [null, []]"
"resoto": "search is(aws_elb) and listener in [null, []]"
},
"remediation": {
"text": "Add listeners to Elastic Load Balancers to allow them to receive and route traffic.",
Expand Down

0 comments on commit a94f5bf

Please sign in to comment.