- Newest
- Most votes
- Most comments
Hi,
Amazon Inspector uses AWS Identity and Access Management (IAM) service-linked roles. A service-linked role is a unique type of IAM role that is linked directly to Amazon Inspector. Service-linked roles are predefined by Amazon Inspector and include all the permissions that the service requires to call other AWS services on your behalf.
Amazon Inspector uses the service-linked role named AWSServiceRoleForAmazonInspector2 refer- https://docs.aws.amazon.com/inspector/latest/user/using-service-linked-roles.html
I had a similar problem with Inspector v2 not scanning ECR repos after it was first set up shortly after re:Invent. I opened a support case on it and they found that a race condition could occur back then that is fixed now. There was a workaround to get it going for my account. The workaround was to got to ECR and disable continuous scanning, save it, wait a minute, then re-enable continuous scanning and save that. Shortly after that ECR repos were producing findings. You might want to give that a shot.
we still have this issue and the workaround here helped. many thanks :)
Relevant content
- Accepted Answerasked 9 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 10 months ago
But this is not something, I am looking at. As you have conveyed service-linked role named AWSServiceRoleForAmazonInspector2 gets created when I enable enhanced scanning in Amazon ECR.
The scan is not getting completed, instead of that, it shows Scan status is active, but also no findings getting generated. Whereas when I stop enhanced scan do a manual scan, the findings are generated as expected in Amazon ECR.