Hello!,
I could reproduce your problem with great success.
As I can see, this call is made when
custom bucket or
service is set on
aws-s3 wodle. The problem is that
sts.amazonaws.com is a global source so, any call to this source will log the request on all regions, it happens something similar with IAM modifications.
Answering you, this is normal behavior, Wazuh agent performs a call to
GetCallerIdentity to fetch the account ID as you can check in
https://github.com/wazuh/wazuh/blob/master/wodles/aws/aws_s3.py#L2121Anyway, we have one step in our roadmap to improve
aws-s3 wodle.
Thanks for your feedback, don't hesitate to ask us any doubt.