-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(query): ALB Listening on HTTP for AWS CloudFormation (#5212)
* fix incorrect line in result exposure * Fix E2E * update seach line * change search line
- Loading branch information
1 parent
8dc621e
commit 7498c60
Showing
5 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
assets/queries/cloudFormation/aws/alb_listening_on_http/test/positive3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Resources: | ||
HTTPlistener: | ||
Type: "AWS::ElasticLoadBalancingV2::Listener" | ||
Properties: | ||
DefaultActions: | ||
- Type: "redirect" | ||
RedirectConfig: | ||
Protocol: "HTTPS" | ||
Port: "443" | ||
Host: "#{host}" | ||
Path: "/#{path}" | ||
Query: "#{query}" | ||
StatusCode: "HTTP_301" | ||
LoadBalancerArn: !Ref myLoadBalancer | ||
Port: 80 | ||
Protocol: "HTTP" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters