Roger Meier
722e7d8e73
feat: add new GitLab tokens ( #1560 )
...
Closes #1401
2024-10-28 08:15:36 -05:00
Richard Gomez
961f2e674f
feat(generic-api-key): tune false positives ( #1606 )
2024-10-27 19:24:06 -05:00
Richard Gomez
7206d6bc56
feat(curl): tweak tps and fps ( #1603 )
2024-10-27 07:43:55 -05:00
Richard Gomez
2db25f1367
feat(config): ignore swagger-ui assets ( #1604 )
...
also, ignore public known checkmarx secret
2024-10-27 07:43:14 -05:00
Ben-grmbl
e97695b852
feat(generic-api-key): exclude keywords ( #1587 )
...
* fix(config.tmpl) missing \n for rules with regexes AND stopwords
patch provided by rgmx
fix(config.tmpl) omit `condition=OR`
* feat(generic-api-key): exclude keywords
prevent matching the rule generic-api-key on e.g.
- public_key
- api_version
- client_id
- client_name
- keyword
- monkey
feat(generic-api-key): review findings
- combine capture groups
- remove mapKey from allowList
fix(generic): make monkey, donkey, case-sensitive
avoids matching on e.g. pokemonKey=
* feat(generic) remove client, add credential
exclude more composite words with key
2024-10-25 15:26:00 -05:00
Richard Gomez
0afb525e59
feat(okta): bump entropy to 4 ( #1599 )
2024-10-25 08:00:59 -05:00
Richard Gomez
2068870c8d
feat: update global allowlist ( #1597 )
2024-10-24 08:17:27 -05:00
Richard Gomez
8cf93b9ad5
refactor(allowlist): deduplicate commits & keywords ( #1596 )
2024-10-24 07:28:55 -05:00
Richard Gomez
50c2818167
feat(config): ignore jquery static assets ( #1595 )
2024-10-23 07:30:48 -05:00
Richard Gomez
455ae0aab7
More rule fixes ( #1586 )
...
* feat: tweak more rules
* fix(curl): update pattern & ignore more stuff
* chore: update .gitleaksignore
2024-10-22 08:23:47 -05:00
Richard Gomez
d03d6c401b
feat: match left side of identifier ( #1585 )
2024-10-20 09:38:18 -05:00
Richard Gomez
8cfa6b2e43
fix(rules): add entropy ( #1580 )
2024-10-19 19:49:36 -05:00
Richard Gomez
9152eaa57a
feat(aws): add entropy & allowlist ( #1582 )
2024-10-19 19:47:45 -05:00
Richard Gomez
93acc6e82a
feat(rules): add 1password token ( #1583 )
2024-10-19 19:47:07 -05:00
Richard Gomez
83a57244cd
feat(config): add curl header rule ( #1576 )
2024-10-18 20:06:31 -05:00
Richard Gomez
cf5334fd61
feat: add curl basic auth rule ( #1575 )
2024-10-17 19:15:30 -05:00
Richard Gomez
5c03fa4a3e
refactor(allowlist): use iota for condition ( #1569 )
2024-10-16 14:59:37 -05:00
Richard Gomez
12034a71c5
refactor(config): temporarily switch to [rules.allowlist] ( #1573 )
2024-10-16 14:49:34 -05:00
Richard Gomez
aabe381539
Define multiple allowlists per rule ( #1496 )
...
* feat: multiple rule allowlists
* feat(config): add allowlist 'condition'
2024-10-14 19:17:37 -05:00
Rebecca Turner
be9d0f8930
Fix rule extension ( #1556 )
...
* Reimplement the ability to override built-in rules
PR #1524 broke the ability to specify a `[[rules]]` with the same ID as
a built-in rule in order to extend the default configuration.
This PR restores this ability, but merges the provided configuration
with the default rule instead of overwriting the default rule wholesale.
* Add tests
* Append keywords and tags
2024-10-10 16:50:29 -05:00
Richard Gomez
9988e5224c
Update base config allowlist ( #1555 )
...
* feat(config): add String fmt placeholders
* feat(config): ignore font files
* feat(config): ignore repeated characters
2024-10-10 02:05:16 -05:00
Richard Gomez
8fb39ba8dc
feat(azure): detect Azure AD client secrets ( #1199 )
2024-10-09 06:44:19 -05:00
Richard Gomez
14c924dd02
chore: match gitleaks.toml anywhere ( #1553 )
2024-10-08 09:39:44 -05:00
Richard Gomez
b2fbaeb900
feat(config): add placeholder regexes to global allowlist ( #1547 )
2024-10-07 07:30:01 -05:00
Richard Gomez
00bb82153e
feat: add PrivateAI rule ( #1548 )
2024-10-06 07:28:47 -05:00
Richard Gomez
1a2f656278
feat: add cohere rule ( #1549 )
2024-10-04 19:39:53 -05:00
Richard Gomez
82d737d851
feat(generate): generate global ( #1546 )
2024-10-04 10:28:34 -05:00
Roger Meier
f6e549901c
Feat/nuget config password rule ( #1540 )
...
* feat: add new rule nuget-config-password
* docs: correct function names within CONTRIBUTING.md
2024-10-04 08:19:15 -05:00
bplaxco
bf8a49fc29
Make private key check less greedy and include fifth dash ( #1440 )
...
* Make private key check less greedy and include fifth dash
* Remove trailing space
2024-10-03 09:50:15 -05:00
Richard Gomez
c5b15c9d74
refactor(config): keyword map ( #1538 )
2024-09-30 07:32:25 -05:00
Roger Meier
a971a324fa
fix: use regexTarget for extend config ( #1536 )
...
* fix: use regexTarget for extend config
* fix: add keywords from base and extended rule into global keywords list
* docs: add an example to extend default rules
* chore: update project URL references
2024-09-29 15:45:56 -05:00
Richard Gomez
ed19c4e8b4
fix(config): extend allowlist & handle extend when validating ( #1524 )
2024-09-25 08:20:19 -05:00
Richard Gomez
989ef19fb0
refactor(kubernetes-secret): tweak variable chars ( #1520 )
2024-09-25 08:02:15 -05:00
Richard Gomez
78f7d3f5df
feat: create fly.io rule ( #1528 )
2024-09-24 16:09:15 -05:00
Roger Meier
7098f6d958
fix: to many false-positive for gltf files, add gltf suffix to allowlist ( #1527 )
...
Closes #1526
2024-09-24 08:48:25 -05:00
Richard Gomez
9e06824372
Restrict Etsy keywords ( #1491 )
...
* feat(etsy): tweak keywords
* fix(etsy): make identifiers case sensitive
The prior commit didn't work because the identifiers are made intentionally case insensitive.
See: https://github.com/gitleaks/gitleaks/blob/4e43d1109303568509596ef5ef576fbdc0509891/cmd/generate/config/utils/generate.go#L35-L37
2024-09-18 10:24:41 -05:00
Richard Gomez
db782603f7
feat(github): add entropy to rule ( #1489 )
2024-09-18 10:23:44 -05:00
Richard Gomez
df126a7473
feat(gcp): update api key rule ( #1481 )
2024-09-18 10:23:18 -05:00
Richard Gomez
75dd70e59a
fix(hashicorp): ignore common fps ( #1498 )
...
Based on discussion in https://github.com/gitleaks/gitleaks/issues/1490
2024-09-18 10:22:47 -05:00
Richard Gomez
8510d39ffe
fix(square): make prefix case sensitive ( #1469 )
2024-09-18 10:22:25 -05:00
Richard Gomez
3698060a2b
refactor(kubernetes-secret): collapse rules and update regex ( #1462 )
2024-09-18 10:22:10 -05:00
Richard Gomez
128cd22f7c
fix(rule): comment out errant validation case ( #1509 )
...
This should be re-enabled once a more suitable fix is implemented.
2024-09-16 06:17:26 -05:00
Dewan Ishtiaque Ahmed
e93a7c0d26
Update Harness rules to add _ and - in the account ID part. ( #1503 )
2024-09-11 19:48:12 -05:00
Richard Gomez
3be7faa1ff
Update Hashicorp Vault token pattern ( #1483 )
...
* feat(vault): add old pat, tweak new pat
* feat(hashicorp): add entropy to tf rule
2024-08-25 15:19:37 -05:00
Richard Gomez
1aae66d564
feat(config): update rule validation ( #1466 )
2024-08-22 09:55:44 -05:00
malmor
8a1ca9ecc9
Added poetry.lock to default allowlist paths ( #1474 )
2024-08-19 11:47:42 -05:00
Richard Gomez
c0fda4358e
Use rule id for config validation error ( #1463 )
...
* chore(config): use rule id for error
* feat(config): ensure rule.id is not empty
2024-08-08 15:47:34 -05:00
Richard Gomez
b4009bfba4
chore: remove unnecessary capture groups ( #1460 )
2024-08-07 12:09:16 -05:00
niklas-w7 and niklas.w
0334ec1076
add gradle verification-metadata.xml to global allowlist ( #1446 )
...
Co-authored-by: niklas.w <niklas.wissmueller@ext.ibmix.de >
2024-08-05 20:35:54 -05:00
Richard Gomez
c1345e1b2b
feat(openshift): add user token ( #1449 )
2024-08-05 20:22:31 -05:00