Hide Forgot
Per 6.3 planning, moving out non acked bugs to the backlog
You can do this already in Satellite 6.2 via the search param hammer -u admin -p changeme host list --search="applicable_errata = RHBA-2016:1503"
Also to clarify, you could achieve this via the api: curl -u admin:changeme https://hostname.example.com/api/v2/hosts?search='applicable_errata=RHBA-2016:1503' Proposing we close this bz
Hi Nagoor, does the capability mentioned in comment 3 and 4 address the customer's request?
Same example for searching by installed packages: hammer -u admin -p changeme host list --search="installed_package = basesystem-10.0-7.el7.noarch" curl -u admin:changeme https://`hostname`/api/v2/hosts?search='installed_package=basesystem-10.0-7.el7.noarch
As a (temp) alternative, would this script maybe help? https://github.com/RedHatSatellite/satellite-host-cve
Justin, Two questoins: 1) How would that be done via hammer? 2) Related to 1, how would I get this into CSV output?
Bryan: 1) See the hammer examples in comment #6 and #3 2) as with any hammer command, simply adding --csv right after 'hammer' will provide results in csv format: hammer --csv -u admin -p changeme host list --search="installed_package = basesystem-10.0-7.el7.noarch"
*** Bug 1308707 has been marked as a duplicate of this bug. ***