Skip to main content

GCP - Firewall Remediation

This Playbook is part of the GCP Enrichment and Remediation Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

This playbook adds new firewall rules with access only from private ip address range and blocks traffic that's exposed to public internet. For example, if RDP is exposed to the entire world, this playbook adds new firewall rules that only allows traffic from private ip address and blocks rest of the RDP traffic.


This playbook uses the following sub-playbooks, integrations, and scripts.


This playbook does not use any sub-playbooks.


  • Google Cloud Compute


  • Set


  • gcp-compute-list-firewall
  • gcp-compute-insert-firewall
  • gcp-compute-add-network-tag
  • gcp-compute-get-instance

Playbook Inputs#

NameDescriptionDefault ValueRequired
GcpInstanceThe name of the GCP instance that has the public ip.Required
GcpZoneThe zone of the GCP instance that is hosted in.Required
GcpNetworkThe VPC network of the GCP instance.Required
RemotePortThe remote port that is publicly exposed to.alert.remoteportRequired
RemoteProtocolThe remote protocol that is publicly exposed to.Required
GcpProjectThe name of the GCP project associated with the instance and related objects.alert.asmcloud.ProjectRequired
instance_nameGoogle Cloud Compute integration instance to use if you have multiple instances configured (optional).Optional

Playbook Outputs#

There are no outputs for this playbook.

Playbook Image#

GCP - Firewall Remediation