Listing Security Lists

List the security lists in the specified VCN and compartment.

    1. Open the navigation menu, select Networking, and then select Virtual cloud networks.
    2. Click the name of the VCN you're interested in.
    3. Under Resources, click Security Lists.
    4. The security lists in this VCN are listed in a table below the VCN details.
  • 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.