Creating a Security Attribute

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

Security attributes are created and contained in security attribute namespaces. If necessary, create a security attribute namespace first and then add security attributes to it.
    1. Open the navigation menu and click Identity & Security. Under Zero Trust Packet Routing, click Security Attribute Namespace.
    2. Click the name of the security attribute namespace that you want to add a security attribute to.
    3. Click Create Security Attribute.
    4. Enter a name and description for the security attribute.
      Avoid entering confidential information.
    5. Select the attribute type:
      • If you select Static, proceed to the next step.
      • If you select A list of values, enter the values that you want to associate with this security attribute. List each value on a separate line.
    6. Click Create. The security attribute is displayed in the security attribute list on the namespace details page.
    After you create a security attribute, you can create ZPR policies. Policies are enabled by associating security attributes with 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.