turbot/aws_compliance

GitHub
Loading controls...

Control: 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.

Usage

Run the control in your terminal:

steampipe check aws_compliance.control.ec2_instance_uses_imdsv2

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share aws_compliance.control.ec2_instance_uses_imdsv2

SQL

This control uses a named query:

ec2_instance_uses_imdsv2

Tags