Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aquasecurity/trivy-checks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b8f33eddd3c0a2673716d30092acb15e0695b4e0
Choose a base ref
..
head repository: aquasecurity/trivy-checks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a98ac0147be48034c871e51bc7bc18d45772d5b2
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cloud/net.rego
2 changes: 1 addition & 1 deletion lib/cloud/net.rego
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ is_tcp_protocol(protocol) if protocol in {"tcp", "6"}

is_tcp_protocol(protocol) if protocol in all_protocols

# "6" is ID of TCP
# "17" is ID of UDP
# https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
is_udp_protocol(protocol) if protocol in {"udp", "17"}