security/py-detect-secrets 1.5.0_1 FreeBSD
Tool for detecting secrets in the codebase
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- security, python
- Package size
- 188.7 KiB, 923.2 KiB installed
Description
detect-secrets is an aptly named module for (surprise, surprise) detecting secrets within a code base.
However, unlike other similar packages that solely focus on finding secrets, this package is designed with the enterprise client in mind: providing a backwards compatible, systematic means of:
- Preventing new secrets from entering the code base,
- Detecting if such preventions are explicitly bypassed, and
- Providing a checklist of secrets to roll, and migrate off to a more secure storage.
This way, you create a separation of concern: accepting that there may currently be secrets hiding in your large repository (this is what we refer to as a baseline), but preventing this issue from getting any larger, without dealing with the potentially gargantuan effort of moving existing secrets away.
It does this by running periodic diff outputs against heuristically crafted regex statements, to identify whether any new secret has been committed. This way, it avoids the overhead of digging through all git history, as well as the need to scan the entire repository every time.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/py-detect-secrets | 1.5.0_1 |
| DragonFly | security/py-detect-secrets | 1.5.0_1 |
Install
Binary package:
pkg install py312-detect-secrets
From the ports tree:
cd /usr/ports/security/py-detect-secrets/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-detect-secrets>0:security/py-detect-secrets
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.5.0_1 | 1.5.0_1 | - | 1.5.0_1 | 1.5.0_1 |
| FreeBSD:14:quarterly | 1.5.0_1 | 1.5.0_1 | n/a | 1.5.0_1 | 1.5.0_1 |
| FreeBSD:15:latest | 1.5.0_1 | 1.5.0_1 | n/a | 1.5.0_1 | 1.5.0_1 |
| FreeBSD:15:quarterly | 1.5.0_1 | 1.5.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.5.0_1 | 1.5.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 2
${PYTHON_PKGNAMEPREFIX}pyyaml>=0: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}requests>=0: www/py-requests
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 15
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| detect_secrets-1.5.0.tar.gz | 97351 | 6bb46dcc553c10df51475641bb30fd69d25645cc12339e46c824c1e0c388898a |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.