{"id":3578371,"name":"github.com/antonbabenko/pre-commit-terraform","ecosystem":"go","description":"","homepage":null,"licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/antonbabenko/pre-commit-terraform","keywords_array":[],"namespace":"github.com/antonbabenko","versions_count":143,"first_release_published_at":"2016-09-27T19:47:08.000Z","latest_release_published_at":"2024-10-31T19:31:50.000Z","latest_release_number":"v1.96.2","last_synced_at":"2026-06-19T15:05:22.602Z","created_at":"2022-04-11T03:51:17.204Z","updated_at":"2026-06-19T15:05:22.602Z","registry_url":"https://pkg.go.dev/github.com/antonbabenko/pre-commit-terraform","install_command":"go get github.com/antonbabenko/pre-commit-terraform","documentation_url":"https://pkg.go.dev/github.com/antonbabenko/pre-commit-terraform#section-documentation","metadata":{},"repo_metadata":{"id":37444880,"uuid":"69382485","full_name":"antonbabenko/pre-commit-terraform","owner":"antonbabenko","description":"pre-commit git hooks to take care of Terraform configurations 🇺🇦","archived":false,"fork":false,"pushed_at":"2025-10-17T13:32:18.000Z","size":1671,"stargazers_count":3566,"open_issues_count":27,"forks_count":573,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-10-18T00:21:37.647Z","etag":null,"topics":["automation","code-style","git-hooks","hacktoberfest","hooks","pre-commit","terraform","terraform-docs","terragrunt"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antonbabenko.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/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":null,"dco":null,"cla":null},"funding":{"github":["antonbabenko"],"patreon":"antonbabenko","custom":["https://paypal.me/antonbabenko","https://www.buymeacoffee.com/antonbabenko"]}},"created_at":"2016-09-27T17:37:42.000Z","updated_at":"2025-10-17T19:13:55.000Z","dependencies_parsed_at":"2023-09-22T11:39:56.967Z","dependency_job_id":"9afdecc9-0487-4d18-ba19-e0fd72ffdb83","html_url":"https://github.com/antonbabenko/pre-commit-terraform","commit_stats":{"total_commits":513,"total_committers":97,"mean_commits":5.288659793814433,"dds":0.7621832358674464,"last_synced_commit":"89f45610a846f56273a6c4290b3c42534175949e"},"previous_names":[],"tags_count":163,"template":false,"template_full_name":null,"purl":"pkg:github/antonbabenko/pre-commit-terraform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fpre-commit-terraform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fpre-commit-terraform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fpre-commit-terraform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fpre-commit-terraform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonbabenko","download_url":"https://codeload.github.com/antonbabenko/pre-commit-terraform/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fpre-commit-terraform/sbom","scorecard":{"id":199419,"data":{"date":"2025-08-12T07:30:03Z","repo":{"name":"github.com/antonbabenko/pre-commit-terraform","commit":"acf85ff66e3f60c76070ce66b1377a5380e86781"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":8.5,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: .github/SECURITY.md:1","Info: Found linked content: .github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: .github/SECURITY.md:1","Info: Found text in security policy: .github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":6,"reason":"Found 12/18 approved changesets -- score normalized to 6","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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:32","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:31","Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/pr-title.yml:17","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/pr-title.yml:19","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/pre-commit.yaml:13","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:23","Info: jobLevel 'contents' permission set to 'read': .github/workflows/scorecards.yml:30","Info: jobLevel 'actions' permission set to 'read': .github/workflows/scorecards.yml:31","Info: jobLevel 'issues' permission set to 'read': .github/workflows/scorecards.yml:33","Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/scorecards.yml:34","Info: jobLevel 'checks' permission set to 'read': .github/workflows/scorecards.yml:36","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-image-test.yaml:8","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-image.yaml:12","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci-cd.yml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:24","Info: topLevel 'contents' permission set to 'read': .github/workflows/dependency-review.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/pr-title.yml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/pre-commit.yaml:8","Info: topLevel 'contents' permission set to 'read': .github/workflows/release.yml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/reusable-tox.yml:85","Info: topLevel 'contents' permission set to 'read': .github/workflows/scheduled-runs.yml:12","Info: topLevel permissions set to 'read-all': .github/workflows/scorecards.yml:19","Info: topLevel 'contents' permission set to 'read': .github/workflows/stale-actions.yaml:7"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"CII-Best-Practices","score":5,"reason":"badge detected: Passing","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":7,"reason":"dependency not pinned by hash detected -- score normalized to 7","details":["Warn: containerImage not pinned by hash: tests/Dockerfile:3","Warn: pipCommand not pinned by hash: Dockerfile:9-16","Warn: pipCommand not pinned by hash: tools/install/checkov.sh:17","Warn: pipCommand not pinned by hash: tools/install/checkov.sh:19","Warn: pipCommand not pinned by hash: tools/install/pre-commit.sh:13","Warn: pipCommand not pinned by hash: tools/install/pre-commit.sh:15","Warn: downloadThenRun not pinned by hash: .github/workflows/build-image-test.yaml:100","Warn: pipCommand not pinned by hash: .github/workflows/ci-cd.yml:189","Info:  28 out of  28 GitHub-owned GitHubAction dependencies pinned","Info:  21 out of  21 third-party GitHubAction dependencies pinned","Info:   3 out of   4 containerImage dependencies pinned","Info:   0 out of   6 pipCommand dependencies pinned","Info:   0 out of   1 downloadThenRun 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build-image-test.yaml:14"],"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"Branch-Protection","score":5,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Info: 'stale review dismissal' is required to merge on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Info: codeowner review is required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Info: 'up-to-date branches' is required to merge on branch 'master'","Info: status check found to merge onto on branch 'master'","Info: PRs are required in order to make changes on branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (24) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"CI-Tests","score":10,"reason":"24 out of 24 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/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}},{"name":"Contributors","score":10,"reason":"project has 46 contributing companies or organizations","details":["Info: found contributions from: GDG-Ukraine, OSS-NORUS, SalaryCalc, aio-libs, ansible, ansible core engineering team @ @redhatofficial, ansible-collection-migration, ansible-collections, ansible-community, betajob, cherrypy, coherent-oss, dadsgarage, defenseunicorns, defenseunicorns-partnerships, douhack, git-skeletons, github-actions-playground, itkpi, jazzband, kpi-web-guild, kubernetes, kubernetes-i18n-ukrainian, kyiv-team-hacktbilisi, lvov-douhack, milspaceclub, msproadshow, open-craft-guild, pyba, pypa, pypi, pytest-dev, python-attrs, python-trio, re-actors, reStructuredText, sanitizers, semantic-release, shalb, sphinx-contrib, star, terraform-aws-modules, terraform-community-modules, ukrainian-github, weekly.tf + modules.tf + serverless.tf + compliance.tf, xolstice"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}}]},"last_synced_at":"2025-08-16T22:33:28.486Z","repository_id":37444880,"created_at":"2025-08-16T22:33:28.486Z","updated_at":"2025-08-16T22:33:28.486Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279959722,"owners_count":26251355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"},"owner_record":{"login":"antonbabenko","name":"Anton Babenko","uuid":"393243","kind":"user","description":"AWS Community Hero / Terraform Influencer 🇺🇦🇳🇴 - 👀 🔴 \"Your Weekly Dose of Terraform\" - http://bit.ly/terraform-youtube","email":"","website":"https://www.betajob.com","location":"Oslo, Norway","twitter":"antonbabenko","company":"weekly.tf + modules.tf + serverless.tf + compliance.tf","icon_url":"https://avatars.githubusercontent.com/u/393243?u=942cb9dc4cee4340f2b1ededd903a293101999de\u0026v=4","repositories_count":35,"last_synced_at":"2025-10-02T03:56:16.035Z","metadata":{"has_sponsors_listing":true,"funding":{"github":["antonbabenko"],"patreon":"antonbabenko","custom":["https://paypal.me/antonbabenko","https://www.buymeacoffee.com/antonbabenko"]}},"html_url":"https://github.com/antonbabenko","funding_links":["https://github.com/sponsors/antonbabenko","https://patreon.com/antonbabenko","https://paypal.me/antonbabenko","https://www.buymeacoffee.com/antonbabenko"],"total_stars":9569,"followers":5175,"following":238,"created_at":"2022-11-14T03:33:55.551Z","updated_at":"2025-10-02T03:56:16.035Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonbabenko","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antonbabenko/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-10-28T21:11:06.572Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.345852080216646,"dependent_packages_count":6.999148183520997,"stargazers_count":null,"forks_count":null,"average":8.172500131868823},"purl":"pkg:golang/github.com/antonbabenko/pre-commit-terraform","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/antonbabenko/pre-commit-terraform","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/antonbabenko/pre-commit-terraform","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/antonbabenko/pre-commit-terraform/dependencies","status":null,"funding_links":["https://github.com/sponsors/antonbabenko","https://patreon.com/antonbabenko","https://paypal.me/antonbabenko","https://www.buymeacoffee.com/antonbabenko"],"critical":null,"issue_metadata":{"last_synced_at":"2025-10-17T00:02:10.389Z","issues_count":131,"pull_requests_count":521,"avg_time_to_close_issue":7722870.333333333,"avg_time_to_close_pull_request":556725.783898305,"issues_closed_count":102,"pull_requests_closed_count":472,"pull_request_authors_count":56,"issue_authors_count":103,"avg_comments_per_issue":3.9389312977099236,"avg_comments_per_pull_request":2.1535508637236083,"merged_pull_requests_count":434,"bot_issues_count":1,"bot_pull_requests_count":219,"past_year_issues_count":31,"past_year_pull_requests_count":307,"past_year_avg_time_to_close_issue":452776.9583333333,"past_year_avg_time_to_close_pull_request":305244.3333333333,"past_year_issues_closed_count":24,"past_year_pull_requests_closed_count":267,"past_year_pull_request_authors_count":21,"past_year_issue_authors_count":27,"past_year_avg_comments_per_issue":3.3870967741935485,"past_year_avg_comments_per_pull_request":2.0618892508143323,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":136,"past_year_merged_pull_requests_count":250,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/antonbabenko%2Fpre-commit-terraform/issues","maintainers":[{"login":"MaxymVlasov","count":194,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/MaxymVlasov"},{"login":"yermulnik","count":19,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/yermulnik"},{"login":"antonbabenko","count":8,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/antonbabenko"}],"active_maintainers":[{"login":"MaxymVlasov","count":120,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/MaxymVlasov"},{"login":"yermulnik","count":13,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/yermulnik"},{"login":"antonbabenko","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/antonbabenko"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fantonbabenko%2Fpre-commit-terraform/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fantonbabenko%2Fpre-commit-terraform/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fantonbabenko%2Fpre-commit-terraform/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fantonbabenko%2Fpre-commit-terraform/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fantonbabenko%2Fpre-commit-terraform/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fantonbabenko%2Fpre-commit-terraform/codemeta","maintainers":[]}