nsc egress policy create
Create an egress policy from a JSON configuration file.
nsc egress policy create creates a tenant-wide egress policy from a JSON
configuration file, controlling which outbound network destinations your
instances are allowed to reach. Once a policy is in place, outbound requests
that don't match an allowed destination are denied — you can inspect the
resulting allow/deny decisions with nsc egress logs.
Point --spec_file at a file containing the policy definition to create it.
Usage
nsc egress policy create [--spec_file <path>]Example
$ nsc egress policy create --spec_file egress-policy.jsonOptions
--spec_file <path>
Path to a JSON file containing the egress policy configuration.