Salta al contenuto

How to find out where the S3 ListObjects requests came from

0

In the last two days, my billing increased a lot due to lots of S3 ListObjects api requests. I'm sure it wasn't originated by my services.

I'd like to know how can I figure out where are these requests coming from, and which buckets were accessed?

I had no clue on this issue.

Then I enabled CloudTrail service, but still didn't find out where S3 ListObjects came from.

1 Risposta
5
Risposta accettata

you can enable S3 Server Access Logging and analyze the generated logs. S3 Server Access Logging provides detailed records for the requests made to your S3 buckets

bucket > properties > Server access logging Download the log files from the destination bucket. Look for entries with the "REST.GET.BUCKET" operation, which corresponds to the ListObjects API request.

ESPERTO

con risposta 3 anni fa

AWS
ESPERTO

verificato 3 anni fa

ESPERTO

verificato 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.