get_network_policies
Inspect Kubernetes NetworkPolicies for a workload in a namespace to determine if ingress/egress is restricted or wide open.
Instructions
NetworkPolicies in a namespace, decoded; whether a given workload's ingress/egress is restricted; flags 'no policy = wide open'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | No | Workload name as you would say it: a Deployment, StatefulSet, DaemonSet, Service, or Pod name | |
| namespace | No | Kubernetes namespace (required: no default configured; see list_namespaces) |