This Jenkins plugin enables integrate Wiz CLI to detect sensitive data, secrets, misconfigurations, and vulnerabilities in container images, directories and IaC files.
- Access as an admin to your Jenkins account.
- Locate the Wiz CLI link relevant to your OS here and store it in a safe place for future use. For example, the Wiz CLI download URL for Linux (AMD64) is https://downloads.wiz.io/wizcli/latest/wizcli-linux-amd64.
- In Wiz, generate a service account by following these steps.
- Log in to your Jenkins account.
- Navigate to Manage Jenkins and click Plugins.
- On the right menu, click Available plugins and search for "Wiz Scanner" using the top search bar.
- Choose the Wiz Scanner and click Install on the top right.
- Navigate to Manage Jenkins > System and scroll down to the Wiz section.
- Fill in the Client ID, Secret Key (aka Client Secret), and Wiz CLI link that were previously collected.
- (GovCloud/FedRAMP tenants only) Fill in the relevant environment variable. Find your environment variable here.
- Click Save.
- Depending on the type of job, follow these steps:
- On the dashboard, locate a freestyle job and select it.
- On the left side menu, navigate to Configure > Build Steps.
- Click Add Build Step and select Wiz Scanner.
- Insert a Wiz CLI command (without the wizcli argument). See the Use Wiz CLI page to learn how to build commands.

- On the dashboard, locate a pipeline job and select it
- On the left side menu, navigate to Configure > Pipeline.
- Ensure the Definition is set to Pipeline script.
- In the Script section, insert a Wiz CLI command (including the wizcli argument). See the Use Wiz CLI page to learn how to build commands.

Run the job by clicking Build Now. When the build completes, scan results can be viewed under the Wiz Scanner tab.
To contribute to this repository, please review the CONTRIBUTING file.
Also, please refer to the Jenkins contribution guidelines
Licensed under MIT, see LICENSE