Sync compliance findings to Slack and Google Drive

Document/FileSales EnablementCollaboration

What it does

When Security Hub detects a non-compliance finding with a failed status, this automation starts an investigation in Detective. It retrieves the investigation details, uploads them to Google Drive, and notifies the team in Slack with the full context.

Who it's for

Security teams who need to track non-compliance findings and investigations across Detective, Google Drive, and Slack.

Apps used

How teams use this

Investigate failed compliance findings automatically

When Security Hub detects a failed compliance finding, start an investigation in Detective and send the results to Slack so the team can respond immediately without manual handoffs.

Archive compliance investigations for audits

Upload investigation details to Google Drive automatically so compliance records are stored in a centralized location and ready for internal or external audits.

Route findings to channels by severity level

Add a condition to check the severity level and send critical findings to a dedicated channel while routing lower-severity issues to a general compliance channel for better prioritization.

Enrich notifications with Detective data

Include additional Detective fields in the Slack message such as related resources, threat indicators, or investigation timeline so the team has more context to respond faster.

How it works

  1. Detect a failed compliance finding. A non-compliance finding with a status of failed is detected in Security Hub, triggering the investigation workflow.
  2. Start an investigation in Detective. Create an investigation in Detective using the details from the non-compliance finding to analyze the security issue and gather evidence.
  3. Retrieve investigation details. Fetch the investigation details by ID from Detective, including the entity ARN, entity type, severity, and state for the compliance record.
  4. Upload investigation details to Google Drive. Store the investigation details in Google Drive for audit purposes and compliance record-keeping in a centralized folder.
  5. Notify the team in Slack. Post a message to Slack with the account ID, region, investigation ID, severity, status, and non-compliance reasons so the team responds immediately.