This integration enables the Amazon Elastic Container Registry (ECR) to automatically trigger an action to scan every new container that is pushed into the registry.
Log into your AWS Console and select ‘US East (N. Virginia) us-east-1’ from the ‘Select a Region’ dropdown on the top right.
For the purposes of this exercise we will be using AWS Region us-east-1
Navigate to this CloudFormation template.
Click Next.
There are three items to update on this screen:
For ‘ScanningType’ make sure the default value of ‘Inline’ is selected
For ‘SysdigSecureEndpoint’, enter the value in your Sysdig Secure domain name, i.e. one of the following
https://secure.sysdig.com
https://eu1.app.sysdig.com
https://us2.app.sysdig.com
For ‘SysdigSecureAPIToken’, enter your ‘Sysdig Secure API Token’ for the Sysdig Secure account you created earlier. You can find in your Sysdig Secure User Profile (Note Please make sure you logged into Sysdig Secure, and not Sysdig Monitor).
Click ‘Next’. You will be presented with ‘Configure stack options’ page.
Click ‘Next’ accepting the default configuration options.
Make sure you tick the box acknowledging that AWS CloudFormation might create IAM resources with custom names.
Click ‘Create stack’.
You can view the status of the deployment from the Amazon CloudFormation screen.
This deployment will create a new Amazon CloudBuild project that will automatically scan container images pushed to ECR registries.
To view your Amazon CloudBuild projects, browse to Developer Tools > CodeBuild