np-guard / models

Models for connectivity and network resources
https://pkg.go.dev/github.com/np-guard/models
Apache License 2.0
1 stars 0 forks source link

Simplify how connection set is printed #58

Open zivnevo opened 3 months ago

zivnevo commented 3 months ago

example:

protocol: TCP src-ports: 1-442,444-65535 dst-ports: 443; protocol: TCP src-ports: 443

should be simplified to

protocol: TCP dst-ports: 443; protocol: TCP src-ports: 443

explore other examples to generalize the problem

ShiriMoran commented 1 month ago

should also address https://github.com/np-guard/vpc-network-config-analyzer/pull/826#discussion_r1726371853

ShiriMoran commented 3 weeks ago

should also refactor the function w.r.t. the "protocol" header so that it is consistent and always printed