mondoohq / cnquery

open source, cloud-native, graph-based asset inventory
https://cnquery.io
Other
294 stars 20 forks source link

Linux: `os.packages` resource doesn't return any data on RPM-type OS #4390

Open mm-weber opened 1 month ago

mm-weber commented 1 month ago

Tested on Rocky 9, Centos7,Oracle7, RHEL7, AmazonLinux 2

packages always returns an empty list on those systems.

It still works on Debian-type OS.

mm-weber commented 1 month ago

image

mm-weber commented 1 month ago

Tested this locally and via ssh:

cnspec run ssh  -i ~/.ssh/test.pem rocky@xxx -c 'packages'
packages.list: []