Policy: AWS > CIS v2.0 > 5 - Networking > 5.06 - Ensure that EC2 Metadata Service only allows IMDSv2
Configures auditing against a CIS Benchmark item.
Level: 1
When enabling the Metadata Service on AWS EC2 instances, users have the option of using either Instance Metadata Service Version 1 (IMDSv1; a request/response method) or Instance Metadata Service Version 2 (IMDSv2; a session-oriented method).
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
- AWS > CIS v2.0
- AWS > CIS v2.0 > 5 - Networking > 5.06 - Ensure that EC2 Metadata Service only allows IMDSv2
- AWS > CIS v2.0 > 5 - Networking
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/cis#/control/categories/v070902
- tmod:@turbot/aws-cisv2-0#/policy/types/r0506
- turbot graphql policy-type --id "tmod:@turbot/aws-cisv2-0#/policy/types/r0506"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-cisv2-0#/policy/types/r0506"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI