Skip to content

Change --b64-entropy-score and --hex-entropy-score to --entropy-sensitivity #265

Closed
@tarkatronic

Description

@tarkatronic

Feature Request

Is your feature request related to a problem? Please describe.

The --b64-entropy-score and --hex-entropy-score arguments, while useful, can be very confusing. Even knowing the internals of tartufo like I do, I can't say with complete confidence what the default values represent, nor how they were arrived at.

Describe the solution you'd like

As described by @rbailey-godaddy in #223 (comment), it would be far more useful and intuitive to have a --entropy-sensitivity argument, ranging from 1-100. It would require a bit more calculation on the part of tartufo, but would then be much more understandable for users.

The one thing I'm unsure of is, should this be split out into --b64-entropy-sensitivity and --hex-entropy-sensitivity, or keep them combined as one?

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions