Skip to content

Commit 5896a52

Browse files
authored
fix: missing verifySSL parameter in CloudScanning (#37)
1 parent 46cddbd commit 5896a52

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

templates/CloudScanning.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Parameters:
2121
SysdigSecureAPITokenSsm:
2222
Type: AWS::SSM::Parameter::Name
2323
Description: "Name of the parameter in SSM containing the Sysdig Secure API Token"
24+
VerifySSL:
25+
Type: String
26+
AllowedValues:
27+
- "Yes"
28+
- "No"
29+
Default: "Yes"
2430
ECRDeployed:
2531
Type: String
2632
AllowedValues:
@@ -39,6 +45,7 @@ Parameters:
3945
Description: ARN of the SNS Topic to subscribe
4046

4147
Conditions:
48+
VerifySSL: !Equals [!Ref VerifySSL, "Yes"]
4249
ECRDeployed: !Equals [!Ref ECRDeployed, "Yes"]
4350
ECSDeployed: !Equals [!Ref ECSDeployed, "Yes"]
4451

@@ -197,6 +204,8 @@ Resources:
197204
ContainerDefinitions:
198205
- Name: CloudScanning
199206
Environment:
207+
- Name: VERIFY_SSL
208+
Value: !If [ VerifySSL, "true", "false" ]
200209
- Name: SQS_QUEUE_URL
201210
Value: !Ref CloudTrailQueue
202211
- Name: SQS_QUEUE_INTERVAL

templates/CloudVision.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ Resources:
200200
Subnets: !If [ DeployNewECSCluster, !GetAtt ["ECSFargateClusterStack", "Outputs.PrivateSubnets"], !Join [",", !Ref ExistentECSClusterPrivateSubnets] ]
201201
SysdigSecureEndpointSsm: !Ref SysdigSecureEndpointParameter
202202
SysdigSecureAPITokenSsm: !Ref SysdigSecureAPITokenParameter
203+
VerifySSL: !If [ EndpointIsSaas, "Yes", "No" ]
203204
ECRDeployed: !Ref ECRImageScanningDeploy
204205
ECSDeployed: !Ref ECSImageScanningDeploy
205206
BuildProject: !GetAtt [ "ScanningCodeBuildStack", "Outputs.BuildProject" ]

0 commit comments

Comments
 (0)