Checkmarx / 2ms

Too many secrets (2MS) helps people protect their secrets on any file or on systems like CMS, chats and git
Apache License 2.0
78 stars 18 forks source link

Replace unmaintained yaml library with a new one #203

Open baruchiro opened 7 months ago

baruchiro commented 7 months ago

We are using an old yaml parsing package, which, for example, doesn't support omitempty.

https://github.com/Checkmarx/2ms/blob/master/reporting/yaml.go#L7-L14

I want to replace it with one of the newer packages:

Please discuss here which package you suggest, and after my approval, replace the current go-yaml/yaml with the newly selected package.

kaplanlior commented 7 months ago

Also consider upgrading to v3 of the existing library. (It's newer by 2 years... although not active since)