Wiz
Overview
Wiz is a security platform that allows teams to find and fix issues in their code. Integrate Wiz with Cortex to leverage Wiz scanning capabilities earlier in the development lifecycle and enable developers to be aware of security issues and track toward remediating issues for entities they own.
How to configure Wiz with Cortex
Prerequisites
Before getting started:
- Create a service account in Wiz:
- While logged in to Wiz as a Project Admin, navigate to Settings > Service Accounts.
- Click +Add Service Account.
- Configure your service account's basic details. For the API scopes, include
read
access toprojects
,issues
, andvulnerabilities
- Click Add Service Account.
- After you add the service account, your client ID and client secret are displayed. Copy these and store them in a secure location, as you will need them for this integration.
- You will need your region and authentication provider from Wiz. To find these:
- In Wiz, click your user profile icon then click User Settings.
- In the options menu, click Tenant.
- The authentication provider is displayed on this page.
- The region can be found in the API endpoint URL. The URL is in the format
https://api.<region>.app.wiz.io/
- If your API endpoint URL does not contain a region, navigate to Tenant Info > Data Centers and Regions in Wiz to find
Configure the integration in Cortex
- In Cortex, navigate to the Wiz settings page:
- In Cortex, click your avatar in the lower left corner, then click Settings.
- Under "Integrations", click Wiz.
- Configure the Wiz integration form:
- Client ID and Client secret: Enter your client ID and client secret from Wiz.
- Tenant region: Enter the region from Wiz.
- Authentication provider: Select your authentication provider. You can confirm the provider in Wiz under User Settings > Tenant.
- Click Save.
If you do not see the settings page you're looking for, you may not have permission to access that page. Please contact your admin for assistance.
How to connect Cortex entities to Wiz
Match entity names to Wiz projects
By default, Cortex will use the entity name (e.g. My service) or tag (e.g. my-service
) as the "best guess" for Wiz project. For example, if your entity name is "My Service" or your tag is my-service
, then the corresponding project name in Wiz should also be My Service or my-service
.
If your Wiz project names don’t cleanly match the Cortex entity name or tag, you can override this in the Cortex entity descriptor.
Editing the entity descriptor
Define the following block in your Cortex entity descriptor:
x-cortex-wiz:
projects:
- projectId: 01234567-e65f-4b7b-a8b1-5b642894ec37