aws iot list-security-profiles
The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To list the security profiles for your AWS account
The following list-security-profiles example lists all AWS IoT Device Defender security profiles that are defined in your AWS account.
aws iot list-security-profilesIdentifyIts output
{
"securityProfileIdentifiers": [
{
"name": "Testprofile",
"arn": "arn:aws:iot:us-west-2:123456789012:securityprofile/Testprofile"
}
]
}For more information, see Detect Commands in the AWS IoT Developer Guide.
Options
--dimension-nameA filter to limit results to the security profiles that use the defined dimension.--max-resultsThe maximum number of results to return at one time.--metric-nameThe name of the custom metric.--next-tokenThe token for the next set of results.