The Wiz integration is enabled per organization and is off by default. Contact support@corgea.com to turn it on for your account. Until it is enabled, there is no Wiz entry on the Integrations page.
Prerequisites
- A Wiz tenant with Unified Vulnerability Management (UVM) enabled
- The repositories you scan with Corgea connected to Wiz through a Wiz version control connector. Wiz only accepts findings for repository branches it already knows.
- A Wiz service account with the scopes
create:external_data_ingestionandread:system_activities - The Manage Integration permission in Corgea to connect, edit, or delete the connection, and View Integration to see it (see Roles)
Setting up the Integration
1
Create a Wiz service account
In Wiz, create a service account for a custom integration and give it the scopes
create:external_data_ingestion and read:system_activities. Copy the Client ID and Client Secret. Wiz shows the secret only once.Note your tenant’s API Endpoint URL and Authentication URL. Wiz lists both under Tenant Info.2
Open the Wiz page in Corgea
Log in to your Corgea account, go to Settings → Automation → Integrations, find “Wiz” under Security Platform Integrations, and click “Add”.
3
Connect Wiz
Click “Connect Wiz” and enter the following details:
- API endpoint URL: Your tenant’s GraphQL endpoint, for example
https://api.us1.app.wiz.io/graphql - Authentication URL:
https://auth.app.wiz.io/oauth/tokenfor most tenants - Client ID: The service account’s client ID
- Client secret: The service account’s client secret
wiz.io or wiz.us.4
Save
Click “Save”. Corgea signs in to Wiz with these details before saving, so wrong credentials or a missing scope are reported in the dialog and nothing is stored.
Corgea stores the client secret encrypted and never displays it again after you save it. To change other details later, leave the secret blank and the stored one is kept.
What Corgea Sends
Once Wiz is connected, no further action is needed. Findings are sent after every full scan, on any branch.
Each upload replaces what Wiz holds for that branch. When a finding is fixed or triaged in Corgea, it is left out of the next upload and Wiz resolves it. Every finding in Wiz links back to the finding in Corgea.
For secrets, Corgea sends the type of secret and its location. The secret value is never sent.
Wiz expects regular uploads. If a branch has no full scan for about a week, Wiz may remove its Corgea findings until the next full scan.
Checking the Sync Status
Each scan that was sent shows a Wiz status at the top of its scan page, next to the branch and commit.
Common reasons for Not synced:
- Wiz could not match the repository branch. Connect the repository to Wiz, then run another full scan.
- Wiz did not accept the upload. Open the Wiz page in Corgea and click “Test connection” to check the credentials.
- Daily limit. Wiz processes about three uploads per branch per day. A later full scan will sync.
- Too many findings. A scan with more than 25,000 findings of one kind is not sent.
Managing the Connection
On the Wiz page in Corgea you can:- Test connection: Check that the stored credentials still work.
- Edit: Change the URLs or credentials.
- Delete: Remove the connection. Corgea stops sending findings to Wiz from the next scan.
Limitations
- One Wiz connection per organization.
- The integration is one-way. Status changes made in Wiz are not brought back into Corgea.
- Triage statuses are not sent as statuses. A finding marked Fixed, False Positive, or Accepted Risk in Corgea is left out of the next upload, and Wiz shows it as resolved.
