Creating a Security Attribute

Create a security attribute in the Zero Trust Packet Routing (ZPR) service.

Security attributes are contained in security attribute namespaces. You create a security attribute in an existing security attribute namespace, or you can create a security attribute namespace to add security attributes to.
    1. Open the navigation menu, click Identity & Security, and then click Zero Trust Packet Routing.
    2. Click Security Attribute Namespace.
    3. Click the name of the security attribute namespace that you want to add a security attribute to.
    4. Click Create Security Attribute.
    5. Enter a name and description for the security attribute.
      Avoid entering confidential information.
    6. Select the attribute type:
      • If you select static, proceed to the next step.
      • If you select List of values, enter the values that you want to associate with this security attribute. List each value on a separate line.
    7. Click Create. The security attribute is displayed security attribute list.
    After you create a security attribute, you can create ZPR policies. Policies are enabled by associating security attributes to resources.
  • Use the oci security-attribute security-attribute create command and required parameters to create a security attribute in the specified security attribute namespace:

    oci security-attribute security-attribute create --description <security_attribute_description> --name <security_attribute_name> --security-attribute-namespace-id <security_attribute_namespace_ocid> [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the CreateSecurityAttribute operation to create a security attribute.