Richard Gomez
9faaa4a09c
Add experimental allowlist optimizations ( #1731 )
...
* feat(allowlist): optimization experiments
* refactor(allowlist): remove useOptimizations flag
* refactor(allowlist): simplify Validate() with helper func
* refactor(config): replace global feature flag
2025-06-08 10:33:05 -05:00
Zachary Rice
d6a828a530
great branch name ( #1721 )
...
* great branch name
* update test
2025-01-21 19:52:05 -06:00
Richard Gomez
69ed20e25e
fix(generate): move newline out of char range ( #1719 )
2025-01-21 08:25:27 -06:00
Zachary Rice
52b895a603
newline literal ( #1718 )
2025-01-20 21:37:19 -06:00
Richard Gomez
3f4d91fc22
build: support either stdlib or 3rd-party regexp ( #1706 )
2025-01-20 10:45:31 -06:00
Richard Gomez
b2cf03c7e3
chore(generate): use \x60 instead of literal ( #1702 )
2025-01-17 09:37:50 -06:00
Ben-grmbl
a3f623cc69
chore(regex): simplify secretPrefix, suffix ( #1620 )
...
combined character ranges,
removed duplicates in same character range,
replaced \x060 with literal `
combined \s with \r\n
2025-01-15 18:21:44 -06:00
Richard Gomez
748076d976
chore(generate): add failing test case ( #1690 )
2025-01-13 10:21:29 -06:00
rmdwe
f0d4499064
Add comma as operator for GenerateSemiGenericRegex ( #1679 )
...
* feat: add comma as operator for GenerateSemiGenericRegex
* test: fix tests.
2025-01-13 08:21:45 -06:00
Richard Gomez
ab38a46986
refactor: central logger ( #1692 )
2025-01-13 08:09:22 -06:00
Ben-grmbl
7edfc6b5d5
chore(tests): test cases for generate.go ( #1623 )
...
GenerateSemiGenericRegex,
GenerateUniqueTokenRegex
to clarify and document current behavior
2024-12-20 20:55:10 -06:00
ahrav
a91c6717a0
replace std library regex engine with go-re2 ( #1669 )
2024-12-20 09:53:01 -06:00
Richard Gomez
83e99bacf1
feat(report): allow user-defined templates ( #1650 )
2024-12-10 18:56:11 -06:00
Oscar Blanco and Richard Gomez
4181ad647a
Add new jira api token pattern ( #1601 )
...
* add new jira api token pattern
* Apply suggestions from code review
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
* apply comments from PR
* Apply suggestions from code review
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
* apply comments from PR
---------
Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com >
2024-10-31 08:19:05 -05:00
Richard Gomez
c11adc91ad
Generate comprehensive secret samples ( #1484 )
...
* feat(config): comprehensive samples
* refactor(config): use new generate func
* chore(config): comment unsupported cases
* feat(config): enable '?=' case
* feat(config): enable '+=' case
* feat(config): enable escaped json case
* feat(config): enable '<' (xml) case
* feat(config): enable multiline yaml case
* chore(config): add comment case
* feat(config): add php cases
* feat(config): add java case
* chore(config): address review comments
* fix(config): prevent matching '=='
* feat(config): add URL cases
* chore(config): revert regex changes
To be tackled in separate PRs.
2024-10-30 09:34:21 -05:00
Richard Gomez
5c2e8132f2
feat: tweak rules ( #1608 )
2024-10-29 01:47:12 -05:00
Richard Gomez
d03d6c401b
feat: match left side of identifier ( #1585 )
2024-10-20 09:38:18 -05:00
Richard Gomez
82d737d851
feat(generate): generate global ( #1546 )
2024-10-04 10:28:34 -05:00
Richard Gomez
c5b15c9d74
refactor(config): keyword map ( #1538 )
2024-09-30 07:32:25 -05:00
Richard Gomez
bd81872eee
Make config generation utils public ( #1480 )
...
* chore(generate): make utils public
* chore(generate): change validate log messages
* chore(generate): split functions into files
* chore(config): add warning for public funcs
2024-08-26 13:11:18 -05:00