Managing a Network Firewall's Security Attributes
Add, update, and remove security attributes associated with a network firewall.
You can use Zero Trust Packet Routing (ZPR) along with or in place of network security groups to manage network access to OCI resources . To do this, define ZPR policies that govern how resources communicate with each other, and then add security attributes to those resources. For more information, see Zero Trust Packet Routing.
Prerequisites
- Create security attribute namespaces and security attributes, and grant the permissions required to apply, update, or remove a security attribute for a resource.
See Security Attributes and Zero Trust Packet Routing IAM Policies.
- You must also write ZPR policies to connect resources using security attributes. For more information, see Network Firewall policy example.
You can apply security attributes to a network firewall when you create it, or apply them to an existing network firewall. For more information, see Create a Firewall.
ZPR security attributes added to a network firewall are always configured as the Enforce mode.
If an endpoint has a Zero Trust Packet Routing (ZPR) security attribute, traffic to the endpoint must satisfy ZPR policies and also all NSG and security list rules. For example, if you're already using NSGs and you add a security attribute to an endpoint, all traffic to the endpoint is blocked. From then onward, a ZPR policy must explicitly allow traffic to the endpoint.
Adding Security Attributes
The following steps describe how to add security attributes to an existing network firewall in the Console. To add security attributes to a network firewall you're creating, see Create a Firewall. Editing Security Attributes
- On the Network Firewall list page, select the network firewall that you want to work with. If you need help finding the list page or the network firewall, see List Firewalls.
- From the Actions menu for the firewall you want, select Manage security attributes.
- In the Manage security attributes panel, edit the security attributes.
- Select Update.
Deleting Security Attributes
Adding Security Attributes
Use the
security-attributesoption and specify its values when running the network-firewall network-firewall create command to add ZPR security attributes to a network firewall.oci network-firewall network-firewall create ... --security-attributes security_attributeswhere
security_attributesare ZPR security attributes for the firewall.For example:
oci network-firewall network-firewall create ... --security-attributes {"oracle-zpr":{"td":{"value":"42","mode":"enforce"}}}For information about creating a network firewall using the CLI, see Create a Firewall.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Editing Security Attributes
Use the
security-attributesoption and specify the updated values when running the network-firewall network-firewall update command to update existing ZPR security attributes.oci network-firewall network-firewall update ... --security-attributes security_attributeswhere
security_attributesare ZPR security attributes for the network firewall.Deleting Security Attributes
Use the
security-attributesoption with an empty map "{}" when running the network-firewall network-firewall update command to remove ZPR security attributes. For example:oci network-firewall network-firewall update ... --security-attributes {}Adding Security Attributes
Run the CreateNetworkFirewall operation to add security attributes to a network firewall. Include the
securityAttributesattribute and specify its values.Editing Security Attributes
Run the UpdateNetworkFirewall operation to update a network firewall. Include the
securityAttributesattribute and update its existing values.Deleting Security Attributes
Run the UpdateNetworkFirewall operation to update a network firewall. Include the
securityAttributesattribute with an empty map.