Hello,
I am using the following REST API queries to fetch all the Vulnerabilities (CVEs) in Compute Instances in my project in GCP. I am trying with two different options. Both seem to fetch different set of Vulnerabilities
Using SCC
Using osconfig API
osconfig API get lot more CVEs as compared to SCC. Please note the osconfig API, as shown above, is targetted to a specific zone, while the SCC query is for the entire project. I would expect it to fetch lot more CVEs as there are VMs in more than one zone in my GCP project.
Thanks!