Skip to content

fix(ec2): Allow FromPort/ToPort for ICMPv6 in W3687 - #4600

Merged
kddejong merged 1 commit into
aws-cloudformation:mainfrom
kddejong:fix/issue/38422
Jul 28, 2026
Merged

fix(ec2): Allow FromPort/ToPort for ICMPv6 in W3687#4600
kddejong merged 1 commit into
aws-cloudformation:mainfrom
kddejong:fix/issue/38422

Conversation

@kddejong

Copy link
Copy Markdown
Contributor

Add icmpv6 protocol variants (58, "58", "icmpv6", "ICMPv6", "ICMPV6") to the exclusion allowlist so that W3687 does not incorrectly flag FromPort/ToPort as ignored for ICMPv6 security group rules. These properties specify ICMP type and code which are valid for ICMPv6.

aws/aws-cdk#38422

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add icmpv6 protocol variants (58, "58", "icmpv6", "ICMPv6",
"ICMPV6") to the exclusion allowlist so that W3687 does not
incorrectly flag FromPort/ToPort as ignored for ICMPv6 security
group rules. These properties specify ICMP type and code which
are valid for ICMPv6.

Fixes aws/aws-cdk#38422
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.48%. Comparing base (5bfafc7) to head (2248b06).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4600   +/-   ##
=======================================
  Coverage   94.48%   94.48%           
=======================================
  Files         430      430           
  Lines       15190    15190           
  Branches     2921     2921           
=======================================
  Hits        14352    14352           
  Misses        459      459           
  Partials      379      379           
Flag Coverage Δ
unittests 94.48% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kddejong
kddejong merged commit 5faa41e into aws-cloudformation:main Jul 28, 2026
22 checks passed
@kddejong
kddejong deleted the fix/issue/38422 branch July 28, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant