You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,12 @@
12
12
- refactored a lot of code around entropy matching and filtering. It is now built entirely into lib.rs and thus works with all hogs. It also uses normalized entropy instead of shannon entropy directly. So entropy thresholds are now on a scale of 0-1. The formula is essentially (shannon_entropy / log_base_2(keyspace)). Finding secrets based on entropy is also integrated into all hogs. If you are implementing a custom hog, you should switch from .matches() to .matches_entropy() to get these benefits.
13
13
- changed whitelist to allowlist
14
14
- factored the default ruleset into it's own JSON file in src/default_rules.json. This makes it easier for you to modify and customize.
15
-
- After the v1.0.7 commits are made, I will upload them to DockerHub and update the README and build scripts in the repo accordingly. This first release will be done manually and future releases should be done via build_ghrelease.sh
15
+
- After the v1.0.7 commits are made, I will upload them to DockerHub and update the README and build scripts in the repo accordingly. This first release will be done manually and future releases should be done via build_ghrelease.sh
16
+
17
+
## v1.0.8
18
+
- reworked allow lists in a few ways:
19
+
- now compiles the values into regular expressions rather than using string compare
20
+
- includes a default allowlist when none is specified
21
+
- if the pattern name "<GLOBAL>" is used it will be checked against all patterns
22
+
- moved the allowlist code into lib.rs so that all hogs will use it by default
Copy file name to clipboardExpand all lines: Cargo.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[package]
2
2
name = "rusty_hogs"
3
-
version = "1.0.7"
3
+
version = "1.0.8"
4
4
authors = ["Scott Cutler <scutler@newrelic.com>"]
5
5
edition = "2018"
6
6
description = "This project provides a set of scanners that will use regular expressions to try and detect the presence of sensitive information such as API keys, passwords, and personal information. It includes a set of regular expressions by default, but will also accept a JSON object containing your custom regular expressions."
0 commit comments