Is there a way to have fleetctl output the vulnera...
# fleet
b
Is there a way to have fleetctl output the vulnerability information as a csv?
k
you could use jq to group vulnerabilites something like
Copy code
fleetctl get software --json | jq '.spec[] | .vulnerabilities.cve' | sort -nr | uniq -c
would get counts of the CVE
I think the data is better in the REST API however https://fleetdm.com/docs/rest-api/rest-api#software
b
Awesome, I wasn’t aware of the --json output flag, that will help tremendously!