Findings getting Archived in Security Hub #8171
-
I am facing an issue where findings from Prowler are sent to Security Hub and after a random amount of time (ranging from seconds to hours) are getting archived via Security Hub API. For imported findings in Security Hub, the field "RecordState" is updated by the findings provider (Prowler in this scenario) and it can be only done via the API "BatchImportFindings". Executing 9 checks, please wait... But when I go to Security Hub, I can see some of the findings are Archived automatically (irrespective of the resource types) with below History logs: 19:58:55 (UTC+00:00) and then get Archived like below: 20:03:54 (UTC+00:00) Prowler should be archiving the old ones as I've not disabled that in the config but seems like the new findings are getting archived as well even if the resources are available and the finding is relevant. Can someone help or suggest here ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Thanks for the detailed explanation and logs—they're really helpful. We've looked into the issue on our end but unfortunately, we haven't been able to replicate the behavior you're experiencing. Based on what you've described, the only explanation I can think of is that something other than Prowler might be interacting with the same findings and calling the BatchImportFindings API, which—as you noted—is the only way to update the RecordState for imported findings. Since Prowler itself only archives findings explicitly during its run (as reflected in your output: “49 findings archived in AWS Security Hub!”), it’s unlikely that it would later change RecordState unless triggered again. It's possible that:
To better understand what's happening, it would be helpful if you could share:
Happy to investigate further with more details—let me know what you find! |
Beta Was this translation helpful? Give feedback.
Hi again @RishiTandonAthena.
Yes, what I’d suggest is posting this again in the
#04-bug-reports
channel, this time including the context from this discussion.Either I or someone from the team will get back to you there. And if we’re still unable to find a solution, we can schedule a quick Slack call to troubleshoot it together.
Thanks so much—and sorry for the delay!