├── .gitignore ├── .major-version ├── .pre-commit-config.yaml ├── .pre-commit-hooks.yaml ├── .python-version ├── .version ├── MANIFEST.in ├── Pipfile ├── README.md ├── repository.yaml ├── security_git_hooks ├── __init__.py ├── conf.py ├── conf.yaml ├── hooks_version_check.py ├── repository_check.py ├── secrets_filecontent.py └── secrets_filename.py ├── setup.py ├── tests ├── __init__.py ├── resources │ ├── minimal.yaml │ └── multiple.yaml ├── test_hooks_version_check.py ├── test_secrets_filecontent.py └── test_secrets_filename.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/.gitignore -------------------------------------------------------------------------------- /.major-version: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/.pre-commit-hooks.yaml -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.9.1 2 | -------------------------------------------------------------------------------- /.version: -------------------------------------------------------------------------------- 1 | 1.2.0 2 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include .version 2 | -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/Pipfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/README.md -------------------------------------------------------------------------------- /repository.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/repository.yaml -------------------------------------------------------------------------------- /security_git_hooks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /security_git_hooks/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/security_git_hooks/conf.py -------------------------------------------------------------------------------- /security_git_hooks/conf.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/security_git_hooks/conf.yaml -------------------------------------------------------------------------------- /security_git_hooks/hooks_version_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/security_git_hooks/hooks_version_check.py -------------------------------------------------------------------------------- /security_git_hooks/repository_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/security_git_hooks/repository_check.py -------------------------------------------------------------------------------- /security_git_hooks/secrets_filecontent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/security_git_hooks/secrets_filecontent.py -------------------------------------------------------------------------------- /security_git_hooks/secrets_filename.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/security_git_hooks/secrets_filename.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/resources/minimal.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/tests/resources/minimal.yaml -------------------------------------------------------------------------------- /tests/resources/multiple.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/tests/resources/multiple.yaml -------------------------------------------------------------------------------- /tests/test_hooks_version_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/tests/test_hooks_version_check.py -------------------------------------------------------------------------------- /tests/test_secrets_filecontent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/tests/test_secrets_filecontent.py -------------------------------------------------------------------------------- /tests/test_secrets_filename.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/tests/test_secrets_filename.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hmrc/security-git-hooks/HEAD/tox.ini --------------------------------------------------------------------------------