Leon and Zach
7697b3e989
(feat): Adding secret detection rule for Kubernetes secrets ( #1454 )
...
* (feat): Adding secret detection rule for Kubernetes secrets
Signed-off-by: localleon <me@lrau.xyz >
* (fix): Limiting kubernetes secret detection only to .yaml/.yml files
Signed-off-by: localleon <me@lrau.xyz >
* (fix): Fixing path validation testing for kubernetes-secret
Signed-off-by: localleon <me@lrau.xyz >
* (fix): refactoring path validation regex for kubernetes secret
* (fix): fixing keyword for kubernetes secret
Signed-off-by: localleon <me@lrau.xyz >
* (fix): fixing config.toml for kubernetes-secret and reording rules/main.go
Signed-off-by: localleon <me@lrau.xyz >
* (feat): Implementing proxmitiy matching for data-key in kubernetes secrets
Signed-off-by: localleon <me@lrau.xyz >
* (fix): Adding regex sugestions for quoted strings and qouted test-cases
* (fix): Updating kubernetes-secret regex to allow '-character before secret e.g if theres quoting
* limit whitespace
---------
Signed-off-by: localleon <me@lrau.xyz >
Co-authored-by: Zach <zricer@protonmail.com >
2024-08-05 20:20:52 -05:00