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. On the Security Attribute Namespace list page, select the namespace that you want to create a security attribute in. If you need help finding the list page, see Listing Security Attribute Namespaces.
    2. Select Create Security Attribute.
    3. Enter a name and description for the security attribute.
      Avoid entering confidential information.
    4. 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.
    5. Select 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.