> ## Documentation Index
> Fetch the complete documentation index at: https://docs.squasher.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloud connectors

> What each cloud connector reads, and the read-only permissions to grant.

Each connector below reads events from the vendor and never writes to it. Grant only the
permissions in its list. The dashboard shows the same list under **Grant these permissions**
before you connect. To set up a connector, see [Connectors](https://docs.squasher.ai/integrations/connectors.md).

## Amazon CloudFront standard logs (S3 + SQS notifications)

* **Connector ID:** `aws.cloudfront_standard_logs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/standard-logging.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Standard log bucket (`log_bucket`), Account id (`aws_account_id`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `AWSLogs/{aws_account_id}/CloudFront/` in Standard log bucket
* **Events:** OCSF HTTP Activity (4002)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## Amazon EKS control plane audit logs (Firehose to S3)

* **Connector ID:** `aws.eks_audit_logs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Firehose bucket (`log_bucket`), Firehose S3 prefix (`firehose_prefix`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `{firehose_prefix}` in Firehose bucket
* **Events:** OCSF API Activity (6003)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## Amazon GuardDuty findings (API)

* **Connector ID:** `aws.guardduty_api`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_GetFindings.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `guardduty:ListDetectors`
  * `guardduty:ListFindings`
  * `guardduty:GetFindings`
* **Params:** Home Region (`aws_region`), Regions to read (comma-separated) (`aws_regions`)
* **Reads:** `https://guardduty.{aws_region}.amazonaws.com` in each Region of Regions to read (comma-separated). No trail, bucket, or queue
* **Events:** OCSF Detection Finding (2004)
* **Poll interval:** Every 5 minutes. The first pull reads back 7 days.

## Amazon GuardDuty findings (S3 export + SQS notifications)

* **Connector ID:** `aws.guardduty_findings`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `kms:Decrypt`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Findings export bucket (`log_bucket`), Account id (`aws_account_id`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `AWSLogs/{aws_account_id}/GuardDuty/` in Findings export bucket
* **Events:** OCSF Detection Finding (2004)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## Amazon Inspector findings reports (S3 + SQS notifications)

* **Connector ID:** `aws.inspector_findings`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/inspector/latest/user/findings-managing-exporting-reports.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `kms:Decrypt`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Report bucket (`log_bucket`), Report key prefix (s3Destination.keyPrefix, without the trailing slash) (`report_prefix`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `{report_prefix}/` in Report bucket
* **Events:** OCSF Vulnerability Finding (2002)
* **Poll interval:** Every 5 minutes. The first pull reads back 7 days.

## Amazon Macie findings (EventBridge + Firehose to S3)

* **Connector ID:** `aws.macie_findings`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/macie/latest/user/findings-monitor-events-eventbridge.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Firehose bucket (`log_bucket`), Firehose S3 prefix (`firehose_prefix`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `{firehose_prefix}` in Firehose bucket
* **Events:** OCSF Detection Finding (2004)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## Amazon Route 53 Resolver query logs (S3 + SQS notifications)

* **Connector ID:** `aws.route53_resolver_query_logs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver-query-logs.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Query log bucket (`log_bucket`), Account id (`aws_account_id`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `AWSLogs/{aws_account_id}/vpcdnsquerylogs/` in Query log bucket
* **Events:** OCSF DNS Activity (4003)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## Amazon S3 server access logs (S3 + SQS notifications)

* **Connector ID:** `aws.s3_access_logs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Access log bucket (`log_bucket`), Log target prefix (`target_prefix`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `{target_prefix}` in Access log bucket
* **Events:** OCSF API Activity (6003)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## AWS Application Load Balancer access logs (S3 + SQS notifications)

* **Connector ID:** `aws.alb_access_logs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/enable-access-logging.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Access log bucket (`log_bucket`), Account id (`aws_account_id`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `AWSLogs/{aws_account_id}/elasticloadbalancing/` in Access log bucket
* **Events:** OCSF HTTP Activity (4002)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## AWS CloudTrail (S3 + SQS notifications)

* **Connector ID:** `aws.cloudtrail_sqs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/notification-content-structure.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), CloudTrail bucket (`trail_bucket`), Account id (`aws_account_id`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `AWSLogs/{aws_account_id}/CloudTrail/` in CloudTrail bucket
* **Events:** OCSF Authentication (3002), API Activity (6003)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## AWS CloudTrail (S3 delivery)

* **Connector ID:** `aws.cloudtrail_s3`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-log-file-examples.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:ListBucket`
  * `s3:GetObject`
* **Params:** Bucket region (`aws_region`), CloudTrail bucket (`trail_bucket`), Account id (`aws_account_id`)
* **Reads:** Objects under `AWSLogs/{aws_account_id}/CloudTrail/{aws_region}/` in the S3 bucket that you name in CloudTrail bucket
* **Events:** OCSF Authentication (3002), API Activity (6003)
* **Poll interval:** Every 5 minutes. The first pull reads back 2 days.

## AWS CloudTrail event history

* **Connector ID:** `aws.cloudtrail_event_history`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `cloudtrail:LookupEvents`
* **Params:** Home Region (`aws_region`), Regions to read (comma-separated) (`aws_regions`)
* **Reads:** `https://cloudtrail.{aws_region}.amazonaws.com` in each Region of Regions to read (comma-separated). No trail, bucket, or queue
* **Events:** OCSF Authentication (3002), API Activity (6003)
* **Poll interval:** Every minute. The first pull reads back 1 day.

## AWS IAM Access Analyzer findings (EventBridge + Firehose to S3)

* **Connector ID:** `aws.access_analyzer_findings`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-eventbridge.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Firehose bucket (`log_bucket`), Firehose S3 prefix (`firehose_prefix`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `{firehose_prefix}` in Firehose bucket
* **Events:** OCSF Detection Finding (2004)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## AWS Network Firewall alert logs (S3 + SQS notifications)

* **Connector ID:** `aws.network_firewall_alert_logs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/network-firewall/latest/developerguide/logging-s3.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Alert log bucket (`log_bucket`), Account id (`aws_account_id`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `AWSLogs/{aws_account_id}/network-firewall/alert/` in Alert log bucket
* **Events:** OCSF Detection Finding (2004)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## AWS Security Hub findings (EventBridge + Firehose to S3)

* **Connector ID:** `aws.security_hub_findings`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-cwe-integration-types.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Firehose bucket (`log_bucket`), Firehose S3 prefix (`firehose_prefix`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `{firehose_prefix}` in Firehose bucket
* **Events:** OCSF Vulnerability Finding (2002), Detection Finding (2004)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## AWS VPC Flow Logs (S3 + SQS notifications)

* **Connector ID:** `aws.vpc_flow_logs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs-s3.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), Flow log bucket (`log_bucket`), Account id (`aws_account_id`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `AWSLogs/{aws_account_id}/vpcflowlogs/` in Flow log bucket
* **Events:** OCSF Network Activity (4001)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## AWS WAF web ACL logs (S3 + SQS notifications)

* **Connector ID:** `aws.waf_logs`
* **Vendor:** [Amazon Web Services API docs](https://docs.aws.amazon.com/waf/latest/developerguide/logging-s3.html)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:GetObject`
  * `sqs:ReceiveMessage`
  * `sqs:DeleteMessage`
  * `sqs:ChangeMessageVisibility`
* **Params:** Bucket region (`aws_region`), WAF log bucket (`log_bucket`), Account id (`aws_account_id`), Notification queue URL (`notification_queue_url`)
* **Reads:** S3 object notifications from the SQS queue in Notification queue URL, then the objects under `AWSLogs/{aws_account_id}/WAFLogs/` in WAF log bucket
* **Events:** OCSF HTTP Activity (4002)
* **Poll interval:** Every minute. The first pull reads back 2 days.

## Azure Activity Log

* **Connector ID:** `azure.activity_log`
* **Vendor:** [Microsoft Azure API docs](https://learn.microsoft.com/en-us/rest/api/monitor/activity-logs/list)
* **Sign-in:** OAuth 2.0 client credentials (client ID and secret)
* **Grant these permissions:**
  * Azure role Monitoring Reader on the subscription, assigned to the app's service principal
  * Or a custom role with only Microsoft.Insights/eventtypes/\*
* **Params:** Directory (tenant) ID (`azure_tenant_id`), Subscription ID (`azure_subscription_id`)
* **Secrets:** Client ID; Client secret
* **Reads:** `GET https://management.azure.com/subscriptions/{azure_subscription_id}/providers/Microsoft.Insights/eventtypes/management/values`
* **Events:** OCSF Account Change (3001), API Activity (6003)
* **Poll interval:** Every 5 minutes. The first pull reads back 7 days.

## Cloudflare account audit logs

* **Connector ID:** `cloudflare.audit_log`
* **Vendor:** [Cloudflare API docs](https://developers.cloudflare.com/fundamentals/account/account-security/review-audit-logs/)
* **Sign-in:** API key or token, sent in the `Authorization` header
* **One-click connect:** **Connect with Cloudflare** uses the project's Cloudflare connection, and Squasher stores no token. Or paste an API token. [Create a token with this permission](https://dash.cloudflare.com/profile/api-tokens?permissionGroupKeys=%5B%7B%22key%22%3A%22account_settings%22%2C%22type%22%3A%22read%22%7D%5D\&accountId=%2A\&zoneId=all\&name=Squasher).
* **Grant these permissions:**
  * Account Settings Read
* **Params:** Account ID (`cloudflare_account_id`)
* **Secrets:** API token
* **Reads:** `GET https://api.cloudflare.com/client/v4/accounts/{cloudflare_account_id}/audit_logs`
* **Events:** OCSF Account Change (3001), Authentication (3002), API Activity (6003)
* **Poll interval:** Every 5 minutes. The first pull reads back 7 days.

## Cloudflare security events (firewall)

* **Connector ID:** `cloudflare.firewall_events`
* **Vendor:** [Cloudflare API docs](https://developers.cloudflare.com/analytics/graphql-api/tutorials/querying-firewall-events/)
* **Sign-in:** API key or token, sent in the `Authorization` header
* **One-click connect:** Not available yet. The Squasher Cloudflare app does not have Zone Analytics Read, so paste an API token. [Create a token with this permission](https://dash.cloudflare.com/profile/api-tokens?permissionGroupKeys=%5B%7B%22key%22%3A%22analytics%22%2C%22type%22%3A%22read%22%7D%5D\&accountId=%2A\&zoneId=all\&name=Squasher).
* **Grant these permissions:**
  * Zone Analytics Read
* **Params:** Zone ID (`cloudflare_zone_id`)
* **Secrets:** API token
* **Reads:** `POST https://api.cloudflare.com/client/v4/graphql`
* **Events:** OCSF HTTP Activity (4002)
* **Poll interval:** Every 5 minutes. The first pull reads back 6 hours.

## Google Cloud audit logs

* **Connector ID:** `gcp.cloud_audit`
* **Vendor:** [Google Cloud API docs](https://cloud.google.com/logging/docs/audit)
* **Sign-in:** OAuth 2.0 JWT bearer grant with a service account key
* **Grant these permissions:**
  * `https://www.googleapis.com/auth/logging.read`
* **Params:** Project ID (`gcp_project_id`)
* **Secrets:** Service account key
* **Reads:** `POST https://logging.googleapis.com/v2/entries:list`
* **Events:** OCSF Account Change (3001), API Activity (6003)
* **Poll interval:** Every 5 minutes. The first pull reads back 7 days.

## Kubernetes audit log (S3 delivery)

* **Connector ID:** `kubernetes.audit_s3`
* **Vendor:** [Kubernetes API docs](https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/)
* **Sign-in:** AWS IAM role that Squasher assumes with an ExternalId for your project
* **Grant these permissions:**
  * `s3:ListBucket`
  * `s3:GetObject`
* **Params:** Bucket region (`aws_region`), Audit log bucket (`audit_bucket`), Cluster name (key prefix) (`cluster_name`)
* **Reads:** Objects under `kubernetes-audit/{cluster_name}/` in the S3 bucket that you name in Audit log bucket
* **Events:** OCSF Account Change (3001), API Activity (6003)
* **Poll interval:** Every 5 minutes. The first pull reads back 2 days.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.