Skip to content

Find, verify, and analyze leaked credentials

Update custom detector example (#2435)

Zachary Rice794f2bc179cf
diff --git a/README.md b/README.md
index cfa89d6dc..ebe741c3c 100644
--- a/README.md
+++ b/README.md
@@ -473,8 +473,8 @@ detectors:
keywords:
- hog
regex:
- hogID: \b(HOG[0-9A-Z]{16})\b
- hogToken: [^A-Za-z0-9+\/]{0,1}([A-Za-z0-9+\/]{40})[^A-Za-z0-9+\/]{0,1}
+ hogID: '\b(HOG[0-9A-Z]{17})\b'
+ hogToken: '[^A-Za-z0-9+\/]{0,1}([A-Za-z0-9+\/]{40})[^A-Za-z0-9+\/]{0,1}'
verify:
- endpoint: http://localhost:8000/
# unsafe must be set if the endpoint is HTTP