Skip to main content
Connectors pull vendor audit logs into Squasher. See Connectors for the setup steps. Fields use snake_case.

Operations

Plan a connection

For an aws_role connector, aws_role holds the external_id that Squasher issued for this project and connector, the trust_principal that the role trust policy must allow (arn:aws:iam::381347172594:root, the Squasher AWS account), and the trust_policy_condition for the role trust policy. Send the role ARN in the role_arn param.

Connect

connection.json holds connector_id, params, and secrets (secret values by name, from connectors.get). Squasher pulls one page first. The response is 201 with the connection and its verification when the page is good. When the vendor refuses the request, the response is 422 with status: "failed" and the verification error, and Squasher stores nothing. Add ?dry_run=true to get the plan instead.

Verify

POST .../connections/{connection_id}/verify pulls one page with the stored secrets. The response has ok, the number of records, up to three sample records (uid, time, raw body), and error (class and message) when the pull fails. Verify sends nothing to your project and does not move the cursor. mapping holds the page mapped to OCSF by the connector mapping, the same mapping that runs on ingest. Nothing is stored.

Disconnect

The Idempotency-Key header is required. With ?dry_run=true, the response lists the secrets that would be deleted and whether polling would stop, and nothing changes.