Wiz
Connect Wiz to Ploy to see everyone who can sign in to your Wiz tenant, the role each person holds, the Wiz projects a project role applies to, and when each person last signed in. Ploy can also add people to Wiz, suspend and reinstate them, change their role and remove them.
This integration is in beta. Reading users has been run against a live Wiz tenant. Adding, suspending, reinstating, removing and re-roling users were built from Wiz's API and have not yet been run against a live tenant. Everything works the same way as any other integration, but expect us to refine it as the first customers connect.
Before you start
You need:
A Wiz Global Admin, to create the service account Ploy connects with.
Your Wiz API endpoint URL. In Wiz, open User Settings, then Tenant, and copy the API Endpoint URL. It looks like
https://api.us17.app.wiz.io/graphql.
Wiz for Government (addresses ending in wiz.us) is not supported.
Step 1: Create a service account in Wiz
In Wiz, open Settings, then Access Management, then Service Accounts.
Add a service account of type Custom Integration (GraphQL API). Name it something recognisable, such as Ploy Connector.
Give it the
read:users,read:projectsandread:service_accountsscopes.To add, suspend, reinstate and remove Wiz users from Ploy, also give it permission to manage users. Without it, Ploy only reads.
Leave the project selection empty, so the service account covers your whole tenant. Do not limit it to specific projects.
Save, then copy the client ID and the client secret. Wiz shows the client secret only once.
Why the service account must cover your whole tenant
Wiz shows a service account that is limited to projects only the users who hold project roles on those projects. Anyone with a tenant-wide role, such as a Global Admin or Global Reader, is hidden from it. If Ploy connected with such an account, it would see part of your Wiz users and treat that as the complete list.
Ploy checks this when you test the connection. If the service account is limited to projects, the test fails and asks you to clear its project selection. If your Wiz roles come from your identity provider when people sign in, this matters even more: a person's role can change from a project role to a tenant-wide role on their next sign-in, and a project-limited account would stop seeing them.
Step 2: Connect Wiz in Ploy
In Ploy, open Integrations and choose Wiz.
Tick the beta acknowledgement box. Because the integration is in beta, Ploy asks your permission to capture technical error details from this connection when a call to Wiz fails. That includes Wiz's error responses with secrets and personal information removed. Ploy uses them only to debug and improve the integration, and nothing is shared outside Ploy.
Enter your Wiz API endpoint URL, exactly as Wiz shows it.
Enter the client ID of the service account.
Enter the client secret.
Select Test connection, then save.
The connection test reads one user, checks that the service account is not limited to projects, and checks that it can see at least one user.
What Ploy sees
Users: everyone who can sign in to your Wiz tenant, including people who were invited and have not signed in yet.
Status: active, invited, suspended and deleted, as Wiz reports it.
Role: each person's Wiz role, built-in or custom. Wiz gives each person one role.
Projects: for a project role, each Wiz project the role applies to. A tenant-wide role reaches every project, so Ploy does not list projects for it.
Last sign-in: when each person last signed in to Wiz.
Ploy does not read Wiz's security data: issues, findings and cloud inventory are never read. Wiz does not report two-factor status or a licence per user, so Ploy does not show them.
Troubleshooting
"That service account is limited to specific Wiz projects": edit the service account in Wiz, clear its project selection, then test again.
"That service account cannot read its own settings": add the
read:service_accountsscope to the service account, then test again."That service account cannot read Wiz users": add the
read:users,read:projectsandread:service_accountsscopes, then test again."That service account cannot see any Wiz users": check the service account is not limited to projects and has the
read:usersscope."Wiz rejected that client ID and secret": copy both again from the service account, and check it has not been deleted or its secret rotated.
"Enter your Wiz API endpoint URL exactly as Wiz shows it": copy the API Endpoint URL from User Settings, then Tenant. It must look like
https://api.<region>.app.wiz.io/graphql.