Hi @Deep Thakkar ,
Based on your description and the fact that messages are being pushed, sounds like the connection to the data source is working, but one of these issues applies:
- The data can't be read from the SQS bucket
- The AWS service is not exporting the right logs
- Microsoft Sentinel is lacking permission for this KMS to decrypt the files
- Event notifications aren't defined correctly.
I would recommend checking these possibilities:
- Make sure that Microsoft Sentinel has permission for this KMS to decrypt the files. Review the required KMS permissions for the GuardDuty and CloudTrail logs. You need all three policies to enable the AWS Sentinel account's assumed role to read messages in the queue, allow GuardDuty to send logs to S3 and read the data using KMS, and allows CloudTrail to encrypt the logs it sends to S3.
- Ensure that you have specified which supported event types Amazon S3 should send the notification to.
- Check that the notification is defined from the specific folder that includes the logs, and is defined with the .gz suffix
- Verify that there are no errors in the health logs by running this query:
SentinelHealth
| where TimeGenerated between (ago(startTime)..ago(endTime))
| where SentinelResourceKind == "AmazonWebServicesS3"
| where Status != "Success"
| distinct TimeGenerated, OperationName, Se
Make sure that the health feature is enabled:
SentinelHealth | take 20
For additional troubleshooting, see: AWS S3 troubleshooting. Note also that it's normal for it to take up to 30 minutes for the data to ingest.
If everything checks out but you're still not receiving the logs, I would recommend disconnecting and connecting back with the global admin tenant permissions. I'm happy to go over the logs and screenshots of your configuration if you would like to share more details.
If the information was helpful to you, please Accept the answer. This will help us and improve searchability for others in the community who may be researching similar questions. Otherwise let us know if you have further questions.