CmdID / aws / aws inspector2
aws inspector2 list-on-demand-scans
Lists the on-demand scans for a resource. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--max-resultsThe maximum number of results to return in a single page of the response.--next-tokenA pagination token from a previous response used to retrieve the next page of results.--resource-idThe ID of the resource whose on-demand scans are being listed.--resource-typeThe type of the resource whose on-demand scans are being listed.