CmdID / aws / aws trustedadvisor
aws trustedadvisor list-checks
List a filterable set of Checks. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To list Trusted Advisor checks
The following list-checks example lists all Trusted Advisor checks.
aws trustedadvisor list-checksIdentifyIts output, shortened
{
"checkSummaries": [
{
"arn": "arn:aws:trustedadvisor:::check/1iG5NDGVre",
"awsServices": [
"EC2"
],
"description": "Checks security groups for rules that allow unrestricted access to a resource. Unrestricted access increases opportunities for malicious activity (hacking, denial-of-service attacks, loss of data)",
"id": "1iG5NDGVre",
"metadata": {
"0": "Region",
"1": "Security Group Name",
"2": "Security Group ID",
"3": "Protocol",
"4": "Port",
"5": "Status",
"6": "IP Range"
},
"name": "Security Groups - Unrestricted Access",
"pillars": [
"security"
],
"source": "ta_check"
},
{
"arn": "arn:aws:trustedadvisor:::check/1qazXsw23e",
"awsServices": [
"RDS"
],
"description": "Checks your usage of RDS and provides recommendations on purchase of Reserved Instances to help reduce costs incurred from using RDS On-Demand. AWS generates these recommendations by analyzing your On-Demand usage for the past 30 days. We then simulate every combination of reservations in the generated category of usage in order to identify the best number of each type of Reserved Instance to purchase to maximize your savings. This check covers recommendations based on partial upfront payment option with 1-year or 3-year commitment. This check is not available to accounts linked in Consolidated Billing. Recommendations are only available for the Paying Account.",
… 55 more linesFor more information, see Get started with the Trusted Advisor API in the AWS Trusted Advisor User Guide.
Options
--aws-serviceThe aws service associated with the check--languageThe ISO 639-1 code for the language that you want your checks to appear in.--max-resultsThe maximum number of results to return per page.--next-tokenThe token for the next set of results.--pillarThe pillar of the check--sourceThe source of the check