google-cloud-platform

How to see "Network Security Address Group" details


We created an address group at the organization level using the following command:

# create address group
gcloud network-security org-address-groups create trusted-ips \
   --organization my-organization \
   --type IPv4 \
   --capacity 100 \
   --location global \
   --description List of trusted IPs

# add IPs to the address group
gcloud network-security org-address-groups add-items trusted-ips \
    --organization my-organization \
    --items 1.2.3.4 \
    --location global

The commands finished successfully. Then, we used this address group in the firewall policy rule, which is also visible on the GUI:

enter image description here

Is there an option to see the details of trusted-ips (list of IP addresses) somewhere on the GUI? There exists a CLI command (gcloud network-security org-address-groups list), but we are intererested in being able to see it in the web console.


Solution

  • As of writing this answer, Google team has implemented a way to see "address group" details. There is now a link:

    Firewall rule details

    New page is opened which shows which IPs are allowed:

    Address group details