Setup: AWS
2
Create a new policy

Configure the policy
Go to the AWS policy creator and log in with your administrator account.
Click the
JSONtab and paste the following policy into the editor:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ecr:BatchGetRepositoryScanningConfiguration",
"ecr:DescribeImageScanFindings",
"ecr:DescribeImages",
"dynamodb:ListTagsOfResource",
"ecr:ListTagsForResource",
"inspector2:BatchGet*",
"inspector2:Get*",
"inspector2:Describe*",
"inspector2:List*",
"sqs:ListQueueTags",
"sso:Describe*",
"sso:List*"
],
"Resource": "*"
},
{
"Effect": "Deny",
"Action": [
"datapipeline:EvaluateExpression",
"datapipeline:QueryObjects",
"rds:DownloadDBLogFilePortion"
],
"Resource": "*"
}
]
}Click
Next.

Save the policy
Name the policy
StoikAdditionalPermissions.Click
Create policy.


3
Create a new role

Configure the role trust
Go to the AWS role creator.
Click
AWS account, thenAnother AWS account, and enter the following account ID:
436578779424Select
Require external IDand copy the value displayed in the Stoïk Protect console.Click
Next.

Assign permissions and finalize
Select
StoikAdditionalPermissionsandSecurityAuditas permissions.Click
Next.Enter
stoik-auditoras the role name.Click
Create role.



Last updated
Was this helpful?





