CloudSecurityAlliance / gsd-tools

Global Security Database Tools
https://gsd.id
Apache License 2.0
41 stars 20 forks source link

set json indent to 4 spaces to reduce diffs #223

Open westonsteimel opened 11 months ago

westonsteimel commented 11 months ago

The indentation of the json files in the GSD database repo appears to be 4 spaces, so this updates the automation to use the same to reduce diffs

joshbressers commented 11 months ago

This is wild, the scripts I run say 4

@joshbuker you changed this a while back https://github.com/cloudsecurityalliance/gsd-tools/blame/main/securitylist/src/securitylist/CVE.py#L73

I don't really care which we use. The kernel IDs are all 2, the CVE and NVD imports are 4