IBM / network-config-analyzer

A semantic analyzer for resources that configure network connectivity (e.g., Kubernetes NetworkPolicy).
Apache License 2.0
17 stars 11 forks source link

Named_ports warnings are no longer counted in config findings #724

Closed tanyaveksler closed 3 months ago

tanyaveksler commented 5 months ago

Named_ports are now resolved in ConnectivityProperties::make_conn_props during building policies. ConnectivityProperties do not have access to the policy object. Therefore, all warnings related to named_ports resolution are printed but not counted in policy findings. Currently, changed the expected warnings number in relevant scheme files, to make the tests pass. Consider the possibility of adding the mechanism of warning counting to ConnectivityProperties.

zivnevo commented 3 months ago

Moved to NP-Guard repo. See here