Skip to content

Commit 682a7fa

Browse files
author
iru
committed
doc: scanning
1 parent 0a04daa commit 682a7fa

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,10 @@ If that's not working as expected, some other questions can be checked
135135

136136
**Image Scanning**
137137

138-
Upload any image to the ECR repository of AWS.
139-
<br/>You should see a log in the ECS-cloud-scanner task + CodeBuild project being launched successfully
138+
- For ECR image scanning, upload any image to an ECR repository of AWS. Can find CLI instructions within the UI of AWS
139+
- For ECS running image scanning, deploy any task in your own cluster, or the one that we create to deploy our workload (ex.`amazon/amazon-ecs-sample` image).
140+
141+
You should see a log in the ECS cloud-connector task + CodeBuild project being launched successfully
140142

141143
<br/><br/>
142144

@@ -175,11 +177,12 @@ S: Specify the desired VPC region availability zones for the vpc module, using t
175177
A: Make sure you installed both [cloud-bench](https://github.com/sysdiglabs/terraform-aws-secure-for-cloud/tree/master/modules/services/cloud-bench) and [cloud-connector](https://github.com/sysdiglabs/terraform-aws-secure-for-cloud/tree/master/modules/services/cloud-connector) modules
176178

177179
### Q: How to iterate cloud-connector modification testing
180+
178181
A: Build a custom docker image of cloud-connector `docker build . -t <DOCKER_IMAGE> -f ./build/cloud-connector/Dockerfile` and upload it to any registry (like dockerhub).
179182
Modify the [var.image](https://github.com/sysdiglabs/terraform-aws-secure-for-cloud/tree/master/modules/services/cloud-connector/variables.tf) variable to point to your image and deploy
180183

181-
182184
### Q: How can I iterate ECS modification testing
185+
183186
A: After applying your modifications (vía terraform for example) restart the service
184187
```
185188
$ aws ecs update-service --force-new-deployment --cluster sysdig-secure-for-cloud-ecscluster --service sysdig-secure-for-cloud-cloudconnector --profile <AWS_PROFILE>

0 commit comments

Comments
 (0)