{"id":37731050,"url":"https://github.com/ruzickap/pre-commit-wizcli","last_synced_at":"2026-01-16T13:50:06.672Z","repository":{"id":327967663,"uuid":"1113192208","full_name":"ruzickap/pre-commit-wizcli","owner":"ruzickap","description":"pre-commit hook for WizCLI that checks your code","archived":false,"fork":false,"pushed_at":"2026-01-04T15:54:04.000Z","size":66,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-07T09:44:48.041Z","etag":null,"topics":["pre-commit","wiz","wizcli"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruzickap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-09T16:38:00.000Z","updated_at":"2026-01-04T15:53:10.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ruzickap/pre-commit-wizcli","commit_stats":null,"previous_names":["ruzickap/pre-commit-wizcli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ruzickap/pre-commit-wizcli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzickap%2Fpre-commit-wizcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzickap%2Fpre-commit-wizcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzickap%2Fpre-commit-wizcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzickap%2Fpre-commit-wizcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruzickap","download_url":"https://codeload.github.com/ruzickap/pre-commit-wizcli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzickap%2Fpre-commit-wizcli/sbom","scorecard":{"id":1240349,"data":{"date":"2025-12-10T13:30:36Z","repo":{"name":"github.com/ruzickap/pre-commit-wizcli","commit":"d256c0790356aba119ea892f8c900339c8a85a7f"},"scorecard":{"version":"v5.3.0","commit":"c22063e786c11f9dd714d777a687ff7c4599b600"},"score":6.4,"checks":[{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: RenovateBot: .github/renovate.json5:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#dependency-update-tool"}},{"name":"Maintained","score":0,"reason":"project was created within the last 90 days. Please review its contents carefully","details":["Warn: Repository was created within the last 90 days."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:  11 out of  11 GitHub-owned GitHubAction dependencies pinned","Info:  10 out of  10 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel 'packages' permission set to 'read': .github/workflows/codeql.yml:19","Warn: topLevel 'security-events' permission set to 'write': .github/workflows/codeql.yml:18","Info: topLevel permissions set to 'read-all': .github/workflows/commit-check.yml:13","Info: topLevel permissions set to 'read-all': .github/workflows/mega-linter.yml:13","Info: topLevel permissions set to 'read-all': .github/workflows/pr-slack-notification.yml:22","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release-please.yml:14","Info: topLevel permissions set to 'read-all': .github/workflows/renovate.yml:42","Info: topLevel permissions set to 'read-all': .github/workflows/scorecards.yml:14","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/semantic-pull-request.yml:16","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#vulnerabilities"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#license"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (1) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#sast"}},{"name":"CI-Tests","score":10,"reason":"1 out of 1 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#ci-tests"}},{"name":"Branch-Protection","score":9,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Info: 'stale review dismissal' is required to merge on branch 'main'","Info: required approving review count is 2 on branch 'main'","Info: codeowner review is required on branch 'main'","Info: 'last push approval' is required to merge on branch 'main'","Info: 'up-to-date branches' is required to merge on branch 'main'","Info: status check found to merge onto on branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#branch-protection"}},{"name":"Contributors","score":0,"reason":"project has 0 contributing companies or organizations -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/c22063e786c11f9dd714d777a687ff7c4599b600/docs/checks.md#contributors"}}]},"last_synced_at":"2025-12-11T06:13:56.513Z","repository_id":327967663,"created_at":"2025-12-11T06:13:56.513Z","updated_at":"2025-12-11T06:13:56.513Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pre-commit","wiz","wizcli"],"created_at":"2026-01-16T13:50:06.516Z","updated_at":"2026-01-16T13:50:06.650Z","avatar_url":"https://github.com/ruzickap.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 pre-commit-wizcli\n\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n[![Mega-Linter](https://github.com/ruzickap/pre-commit-wizcli/actions/workflows/mega-linter.yml/badge.svg)](https://github.com/ruzickap/pre-commit-wizcli/actions/workflows/mega-linter.yml)\n[![Tests](https://github.com/ruzickap/pre-commit-wizcli/actions/workflows/pre-commit-tests.yml/badge.svg)](https://github.com/ruzickap/pre-commit-wizcli/actions/workflows/pre-commit-tests.yml)\n[![CodeQL](https://github.com/ruzickap/pre-commit-wizcli/actions/workflows/codeql.yml/badge.svg)](https://github.com/ruzickap/pre-commit-wizcli/actions/workflows/codeql.yml)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/ruzickap/pre-commit-wizcli/badge)](https://securityscorecards.dev/viewer/?uri=github.com/ruzickap/pre-commit-wizcli)\n[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/11600/badge)](https://www.bestpractices.dev/projects/11600)\n\nA collection of [pre-commit](https://pre-commit.com/) hooks for\n[WizCLI](https://www.wiz.io/lp/wiz-cli) - the Wiz command-line interface for\nsecurity scanning.\n\n## 📖 Overview\n\nThese hooks integrate WizCLI into your development workflow, allowing you to\nscan your code for security issues, misconfigurations, and vulnerabilities\nbefore committing.\n\n## 📋 Prerequisites\n\n* [WizCLI](https://docs.wiz.io/docs/set-up-wiz-cli#get-wiz-cli) (version `1.x`)\n* [pre-commit](https://pre-commit.com/) / [prek](https://prek.j178.dev/)\n\n## 🪝 Available Hooks\n\n| Hook ID                   | Description                        |\n|---------------------------|------------------------------------|\n| `wizcli-scan-dir`         | Scan directory for security issues |\n| `wizcli-scan-dir-secrets` | Scan directory for secrets only    |\n\n## 🚀 Usage\n\nAdd the following to your `.pre-commit-config.yaml`:\n\n### Scan all issues (recommended)\n\n\u003c!-- x-release-please-start-version --\u003e\n```yaml\nrepos:\n  - repo: https://github.com/ruzickap/pre-commit-wizcli\n    rev: v1.0.0\n    hooks:\n      - id: wizcli-scan-dir\n```\n\u003c!-- x-release-please-end --\u003e\n\n### Secret scanning only\n\nUse this hook for faster scans focused exclusively on detecting secrets.\n\n\u003c!-- x-release-please-start-version --\u003e\n```yaml\nrepos:\n  - repo: https://github.com/ruzickap/pre-commit-wizcli\n    rev: v1.0.0\n    hooks:\n      - id: wizcli-scan-dir-secrets\n```\n\u003c!-- x-release-please-end --\u003e\n\n### Parametrized scanning\n\nCustomize the scan by passing additional arguments. The final command will be:\n\n```bash\nwizcli scan dir --use-device-code --no-publish --disabled-scanners=Misconfiguration .\n```\n\n\u003c!-- x-release-please-start-version --\u003e\n```yaml\nrepos:\n  - repo: https://github.com/ruzickap/pre-commit-wizcli\n    rev: v1.0.0\n    hooks:\n      - id: wizcli-scan-dir\n        args:\n          - --use-device-code\n          - --no-publish\n          - --disabled-scanners=Misconfiguration\n          - .\n```\n\u003c!-- x-release-please-end --\u003e\n\n## 📝 Hook Details\n\n### wizcli-scan-dir\n\nScans your repository using locally installed WizCLI. Results are displayed\nin the terminal but not published to the Wiz platform.\n\n```bash\nwizcli scan dir --use-device-code --no-publish .\n```\n\n### wizcli-scan-dir-secrets\n\nScans your repository for secrets only using locally installed WizCLI. All other\nscanners (Vulnerability, SensitiveData, Misconfiguration, SoftwareSupplyChain,\nAIModels, SAST, Malware) are disabled. Results are displayed in the terminal but\nnot published to the Wiz platform.\n\n```bash\nwizcli scan dir --use-device-code --no-publish \\\n  --disabled-scanners=Vulnerability,SensitiveData,Misconfiguration,SoftwareSupplyChain,AIModels,SAST,Malware .\n```\n\n## 🔓 Authentication\n\nAll hooks use `--use-device-code` for authentication. On first run, you'll be\nprompted to authenticate using the device code flow.\n\nFor more information on WizCLI authentication, see the\n[WizCLI documentation](https://docs.wiz.io/wiz-docs/docs/wizcli-overview).\n\n## 📄 License\n\n[Apache-2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruzickap%2Fpre-commit-wizcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruzickap%2Fpre-commit-wizcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruzickap%2Fpre-commit-wizcli/lists"}