iQQBot
0b3880ea1d
[scrubber] skip if interface is nil ( #20418 )
...
* [scrubber] skip if interface is nil
* update
2024-12-04 09:07:11 -05:00
Gero Posmyk-Leinemann
f562a7e8b2
[scrubber] Changes to allow to extend scrubber (for scrubbing of genie data)) ( #20377 )
...
* [scrubber] Expose CreateCustomScrubber
* [scrubber] Grant "SanitizeHashUrlPaths" precedence over "SanitizeHash"
---------
Co-authored-by: Filip Troníček <filip@gitpod.io>
2024-11-19 05:54:57 -05:00
iQQBot
9c06e5c329
[scrubber] unwarp key if it's an interface ( #20374 )
2024-11-18 03:21:56 -05:00
Cornelius A. Ludmann
fac15ad1aa
[scrubber] Scrub URL path parts separately ( #19497 )
2024-03-01 16:16:11 +02:00
Wouter Verlaek
185c0428c2
[scrubber] Improve KeyValue performance ( #19052 )
...
* [scrubber] Improve KeyValue performance
* Update benchmark comment
* update go mod
* Add metaID to hashed fields
---------
Co-authored-by: Pudong Zheng <pudong@gitpod.io>
2023-11-10 16:17:48 +02:00
Pudong
81ff3d16e4
[ws-manager-mk2] redact log ( #18906 )
...
* update to logrusr v4
* Add DeepCopyStruct to scrubber
* use DeepCopyStruct to scrub log
* mark wrokspace.stauts.url redact
2023-10-16 13:48:23 +03:00
Wouter Verlaek
bf3d548266
[ws-manager-mk2] Scrub status fields, add vscode launch.json ( #18595 )
...
* [ws-manager-mk2] Scrub status fields, add vscode launch.json
* Fix scrubber panic on unexported pointer
2023-08-25 13:00:51 +02:00
Christian Weichel
59900e8dc2
Add ECR authentication support to image-builder ( #18506 )
...
* Add ECR auth support
* Add EnableAdditionalECRAuth to Gitpod config
* Simplify ECR integration
* Make TrustedValue interface implementable
* Allow ECR registries by default
2023-08-14 10:36:40 +02:00
Anton Kosyakov
f580e6bd00
fix SID-285: hook scrubber as logrus formatter ( #17781 )
2023-06-29 17:16:47 +08:00
Anton Kosyakov
e9cd9892d5
[scrubber] various fixes ( #17934 )
...
- better JSON handling
- removing unnecessary double traversing
- sub property name matching to cover different permutations, i.e. wsContextURL, contextURL, contextUrl, worksapceContextUrl, etc.
- handling of https://github.com/gitpod-io/security/issues/64 for JSON and structs
2023-06-14 17:36:04 +08:00
Mads Hartmann
a6e0153557
Redact email instead of hashing ( #17742 )
2023-06-12 20:52:02 +08:00
Christian Weichel
db5dc23b83
Initial commit of the scrubber ( #17664 )
...
* Initial commit of the scrubber
* Add basic example
* More unit tests and sanitisation
* Fix email regexp
* Add basic benchmarks
* Support all scrubbing functions
* Fix module path
* Add scrubber to codeowners file
* Fix string map value issue
* Add contextURL to the list of hashed keys
2023-05-22 21:53:56 +08:00