Listing Security Lists

List the security lists in the specified VCN and compartment.

    1. On the Virtual Cloud Networks list page, select the VCN that contains the security list you want to work with. If you need help finding the list page or the VCN, see Listing VCNs.
    2. On the details page, perform one of the following actions depending on the option that you see:
      • On the Security tab, go to the Security Lists section.
      • Under Resources, select Security Lists.

      All security lists in the VCN are displayed in a table.

  • Use the network security-list list command and parameters to list the security lists in the specified VCN and compartment:

    oci network security-list list --compartment-id compartment-ocid --vcn-id vcn-ocid ... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the ListSecurityLists operation to Lists the security lists in a specified VCN and compartment.