Skip to content

Commit 072ce07

Browse files
fruechel-canvamschwager
authored andcommitted
Add AWS IPv6 metadata URL, too
1 parent 811a9b5 commit 072ce07

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

generic/curl-unencrypted-url.sh

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ curl http://127.0.0.1 > /dev/null
1717

1818
# ok: curl-unencrypted-url
1919
curl http://169.254.169.254 > /dev/null
20+
#
21+
# ok: curl-unencrypted-url
22+
curl http://[fd00:ec2::254] > /dev/null
2023

2124
# ok: curl-unencrypted-url
2225
curl http://metadata.google.internal > /dev/null

generic/curl-unencrypted-url.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ rules:
2020
- pattern-not-inside: curl ... http://127.0.0.1
2121
- pattern-not-inside: curl ... http://localhost
2222
- pattern-not-inside: curl ... http://169.254.169.254
23+
- pattern-not-inside: curl ... http://[fd00:ec2::254]
2324
- pattern-not-inside: curl ... http://metadata.google.internal

0 commit comments

Comments
 (0)