Skip to content

Commit 0cf8158

Browse files
committed
filter_aws: add more IMDS categories
Signed-off-by: commiterate <[email protected]>
1 parent 21a43f7 commit 0cf8158

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

pipeline/filters/aws-metadata.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,19 @@ The plugin supports the following configuration parameters:
99
| Key | Description | Default |
1010
| :--- | :--- | :--- |
1111
| `imds_version` | Specify which version of the instance metadata service to use. Valid values are `v1` and `v2`. | `v2` |
12-
| `az` | The [availability zone](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html), such as `us-east-1a`. | `true` |
12+
| `partition` | The [partition](https://docs.aws.amazon.com/whitepapers/latest/aws-fault-isolation-boundaries/partitions.html), such as `aws`. | `true` |
13+
| `domain` | The domain for AWS resources in the region, such as `amazonaws.com`. | `false` |
14+
| `region` | The [region](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions), such as `us-east-1`. | `false` |
15+
| `az` | The [availability zone](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones), such as `us-east-1a`. | `true` |
16+
| `az_id` | The [availability zone ID](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#az-ids), such as `use1-az1`. | `false` |
17+
| `placement_group` | The [placement group](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) name. | `false` |
18+
| `partition_number` | The [placement group](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) partition number. | `false` |
19+
| `host_id` | The [dedicated host](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html) ID. | `false` |
1320
| `ec2_instance_id` | The EC2 instance ID. | `true` |
1421
| `ec2_instance_type` | The EC2 instance type. | `false` |
15-
| `private_ip` | The EC2 instance private IP. | `false` |
22+
| `private_ip` | The EC2 instance private IPv4 address. | `false` |
23+
| `public_ip` | The EC2 instance public IPv4 address. | `false` |
24+
| `ipv6` | The EC2 instance IPv6 address. | `false` |
1625
| `ami_id` | The EC2 instance image ID. | `false` |
1726
| `account_id` | The account ID for the current EC2 instance. | `false` |
1827
| `hostname` | The hostname for the current EC2 instance. | `false` |
@@ -84,10 +93,19 @@ pipeline:
8493
Name aws
8594
Match *
8695
imds_version v1
96+
partition true
97+
domain true
98+
region true
8799
az true
100+
az_id true
101+
placement_group true
102+
partition_number true
103+
host_id true
88104
ec2_instance_id true
89105
ec2_instance_type true
90106
private_ip true
107+
public_ip true
108+
ipv6 true
91109
ami_id true
92110
account_id true
93111
hostname true

0 commit comments

Comments
 (0)