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

# Wiz Integration

> Connect Cotool to Wiz for cloud security

Connect a Wiz service account using its region, Client ID, and Client Secret. The integration supports live lookups of findings, issues, detections, cloud resources, and cloud/runtime events.

## Log ingest

Turn on any of these streams in the integration's **Log Ingest** card. Cotool polls each enabled stream every ten minutes with the same service account and stores it in Cotool Logs for SQL investigations and detections.

| Stream | Table | Contents | Service account scopes |
| - | - | - | - |
| Audit logs | `cotool_logs.wiz_audit_logs` | Sign-ins and every change made in the Wiz portal or API | `admin:audit`, on a service account with no project restriction |
| Threat detections | `cotool_logs.wiz_detections` | Wiz Defend detections, including match-only rules, one row per detection | `read:detections`, `read:cloud_events_cloud`, `read:cloud_events_sensor`, and `read:security_scans` |
| Issues | `cotool_logs.wiz_issues` | One row each time an issue opens or changes status | `read:issues`, plus `read:threat_issues` for threat issues |

A stream starts with the last two days and then keeps up from there. The issues table records status changes, so an issue that has stayed open since before you enabled the stream has no row until its status changes again.

Prefer Cotool Logs for history covered by ingest. Live GraphQL access remains available for other Wiz data, an issue's current details, and periods outside ingested coverage. Cloud-provider audit events and Wiz Sensor/Kubernetes events are separate from the tenant audit trail and remain available through the live event tools.


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