🚀Launch Week 09, June 30th - July 4th, 2025🚀
Steampipe Hub 
Hub
  • Plugins
  • Mods
  • Docs
  • Home
PluginsModsDocsHome
Plugins
turbot/aws
GitHub Repo Stars
Overview
544
Tables
2,692
Queries
PowerpipeModsGitHub
steampipe plugin install awssteampipe plugin install aws
Loading...
Get Involved
Edit on GitHubDiscuss on Slack

Query: EC2 instances should use IMDSv2

Description

Ensure the Instance Metadata Service Version 2 (IMDSv2) method is enabled to help protect access and control of AWS Elastic Compute Cloud (AWS EC2) instance metadata.

Query

Tables used in this query:

  • aws_ec2_instance

Controls using this query:

  • 2.8 Ensure the Use of IMDSv2 is Enforced on All Existing Instances
  • 5.6 Ensure that EC2 Metadata Service only allows IMDSv2
  • 5.6 Ensure that EC2 Metadata Service only allows IMDSv2
  • 5.7 Ensure that the EC2 Metadata Service only allows IMDSv2
  • 5.7 Ensure that the EC2 Metadata Service only allows IMDSv2
  • 8 EC2 instances should use IMDSv2
  • EC2 instances should use IMDSv2

SQL

Steampipe
Steampipe
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of 3,000+ practitioners love to discuss Steampipe, cloud intelligence & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy