Skip to content

Commit

Permalink
Add AWS IPv6 metadata URL, too
Browse files Browse the repository at this point in the history
  • Loading branch information
fruechel-canva authored and mschwager committed Jan 6, 2025
1 parent 811a9b5 commit 072ce07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generic/curl-unencrypted-url.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ curl http://127.0.0.1 > /dev/null

# ok: curl-unencrypted-url
curl http://169.254.169.254 > /dev/null
#
# ok: curl-unencrypted-url
curl http://[fd00:ec2::254] > /dev/null

# ok: curl-unencrypted-url
curl http://metadata.google.internal > /dev/null
1 change: 1 addition & 0 deletions generic/curl-unencrypted-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ rules:
- pattern-not-inside: curl ... http://127.0.0.1
- pattern-not-inside: curl ... http://localhost
- pattern-not-inside: curl ... http://169.254.169.254
- pattern-not-inside: curl ... http://[fd00:ec2::254]
- pattern-not-inside: curl ... http://metadata.google.internal

0 comments on commit 072ce07

Please sign in to comment.