Configure AWS IoT Device Defender audit and detect for fleet-wide security posture monitoring

domain: aws-iot · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable AWS IoT Device Defender Audit in the console; select the audit checks to run (e.g., CA certificate expiry, device certificate age, IoT policies that are overly permissive, unauthenticated Cognito role).
  2. Schedule the audit to run daily or on-demand; review audit findings in the console or via the ListAuditFindings API, filtering by severity and check name.
  3. Enable Device Defender Detect and create a Security Profile with behaviours defining expected device metrics (e.g., maximum outbound bytes per minute, maximum listening TCP ports).
  4. Attach the Security Profile to a thing group; the Detect service evaluates reported metrics against defined thresholds and raises violations when devices deviate.
  5. On the device, use the Device Defender SDK to collect and publish metrics to the reserved topic $aws/things/THING_NAME/defender/metrics/json on a regular schedule.
  6. Configure SNS or EventBridge targets on violation alerts so that operations teams are notified when a device exhibits anomalous behaviour.

Known gotchas

Related routes

Report an AWS IoT Device Defender custom metric from a device and evaluate it in a Security Profile behavior
iot · 5 steps · unrated
Provision a device fleet at scale with AWS IoT Fleet Provisioning by Claim using a shared claim certificate
aws-iot · 6 steps · unrated
Provision IoT devices at scale using AWS IoT Fleet Provisioning by Claim
aws.amazon.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans