fix(checks): Improve wording on AVD-AZU-0051 #7137
Labels
kind/bug
Categorizes issue or PR as related to a bug.
scan/misconfiguration
Issues relating to misconfiguration scanning
Milestone
Discussed in #7135
Originally posted by chanster July 9, 2024
IDs
AVD-AZU-0051
Description
The title of the check is An outbound network security rule allows traffic to /0 but the actual trigger is any public IP range.
The code is just checking if the IP is a public IP and does not validate the mask. The title or triggger should be updated to match the other.
Link to specific code line: https://github.com/aquasecurity/trivy-checks/blame/3c54ac8393e3ae60e70a638940f5dbb636717843/checks/cloud/azure/network/no_public_egress.go#L43)
Reproduction Steps
Target
Filesystem
Scanner
Misconfiguration
Target OS
n/a
Debug Output
Version
Checklist
-f json
that shows data sources and confirmed that the security advisory in data sources was correctThe text was updated successfully, but these errors were encountered: