BSD Ports

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:

  1. Preventing new secrets from entering the code base,
  2. Detecting if such preventions are explicitly bypassed, and
  3. 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

SystemPortVersion
FreeBSDsecurity/py-detect-secrets1.5.0_1
DragonFlysecurity/py-detect-secrets1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.5.0_11.5.0_1-1.5.0_11.5.0_1
FreeBSD:14:quarterly1.5.0_11.5.0_1n/a1.5.0_11.5.0_1
FreeBSD:15:latest1.5.0_11.5.0_1n/a1.5.0_11.5.0_1
FreeBSD:15:quarterly1.5.0_11.5.0_1n/an/an/a
FreeBSD:16:latest1.5.0_11.5.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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
FileSizeSHA256
detect_secrets-1.5.0.tar.gz973516bb46dcc553c10df51475641bb30fd69d25645cc12339e46c824c1e0c388898a
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.