itsmevic
asked on
Rapid7: Customized Report
Hi could someone validate this SQL query for correctness against the Rapid7 database schema? I'm trying to pull a customized report of assets in my environment that have Adobe Acrobat and Reader installed on them. I'd like to pull the following fields down in my report: asset_count, vendor, name of software, family, version, host_name, osType and IP_address. Any help is GREATLY appreciated!
SELECT count(da.asset_id) as asset_count, ds.vendor, ds.name as software_name, ds.family, ds.version, host_name, osType, ip_address
FROM dim_asset_software das
JOIN dim_software ds using (software_id)
JOIN dim_asset da on da.asset_id = das.asset_id
GROUP BY ds.vendor, ds.name, ds.family, ds.version, ds.cpe
ORDER BY asset_count DESC
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.