IAM Access Advisor Issue or Cloud Tail Bug?

0

Hello there,

We are having a weird situation where IAM Access Analyzer shows that the Specific IAM User has called actions on Amazon S3(Especially ListAllMyBuckets) Service on region us-east-1. But Cloud Trail doesn't show any logs. Am I missing something?

Screenshots: IAM User Screen Access Analyzer S3

I don't know which one to trust.

已提問 2 個月前檢視次數 78 次
2 個答案
1

It appears that the IAM user does not have access via the console, yet there are two access keys associated with the account. Notably, the second access key was utilized "yesterday." If you've been using Amazon S3, it's possible you're the owner of this IAM user. Running a simple command like aws s3 ls is adequate to register in the Access Advisor, as illustrated in the accompanying image. The "ListAllBucket" action indicates that you have the permission granted by this policy, even though it hasn't been utilized. Notably, the Access Advisor exclusively displays permissions granted to the specific IAM user in question.

profile picture
專家
已回答 2 個月前
profile picture
專家
已審閱 1 個月前
  • Then Cloud Trail should log aws s3 ls event right? Cloud Tail has 0 entry about that event.

0

This does not show that the user called ListAllMyBuckets. IAM access analyzer is showing that it ListAllMyBuckets is an allowed action but you see that it was "Not accessed in the tracking period." Do you have an example of where it shows that you have run that operation that is concerning?

AWS
已回答 2 個月前
  • We are moving away from IAM User to Instance Profile. We have done the changes two weeks ago, But we didn't deactivate the key to monitor it's usage. But currently that key is being used somewhere. As you can see from the First screenshot service "Amazon S3" was used "Yesterday" (Please check the last accessed column)

    Therefore tried to search the same in CloudTrail to get more details about it. But CloudTrail has 0 entries for Yesterday for that user.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南