CmdID / aws / aws securityhub
aws securityhub get-software-statistics-v2
Retrieves aggregated counts of software packages installed on your resources, grouped by a field that you specify. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--group-by-rulesHow software statistics should be aggregated and organized in the response.--max-statistic-resultsThe maximum number of grouping values to return.--scopesLimits the results to software on resources from specific organizational units or from the delegated administrator's organization.--sort-orderSorts aggregated statistics by count.