WizCLI helps shift security policies left by empowering DevOps to prevent insecure resources from being deployed.
This repository supports demonstrating Secure Cloud Development features of Wiz.
- Create a Wiz Service Account with
create:security_scansandupdate:security_scanspermissions - Use this template to copy this repository into your own GitHub namespace
- Create
WIZ_CLIENT_IDandWIZ_CLIENT_SECRETsecrets in your repository - Run the
WizCLI IaC ScanGitHub Action once to register it for use in Branch Protection.- Navigate to
Actions > wiz-iac-scan - Select
Run Workflow
- Navigate to
- Configure Branch Protection for the
mainbranch- Navigate to
Settings > Code and Automation > Branches - Check
Require a pull request before merging - Check
Require status checks to pass before merging - Search for and select the
WizCLI IaC ScanGitHub Action - Save Changes
- Navigate to
Use your copy of this repository:
- Create an new branch in your repository
- Edit
terraform/aws/example.tfchangingversioning { enabled = true }tofalse - Commit your change
- Push your branch to your repository
- Create a pull request from your branch
- Review the results in GitHub (navigate to
Pull RequestsorActions) - Review the results in the Wiz Console (navigate to
Reports > CI/CD Scans)
This repository includes additional Terraform examples, taken from the cloud provider documentation in the Terraform Registry. To enable them, edit the WizCLI IaC Scan GitHub Action.
This repository includes a Docker Image example. To enable that, add the WizCLI Image Scan GitHub Action to your Branch Protection Status Checks.
This repository depends upon the SecCloudDev-Demo CI/CD Policies and the SecCloudDev Demo for S3 Compliance Framework.