Skip to content

A simple tool designed to scan Google Cloud Platform (GCP) firewall rules and identify any unused rules.

License

Notifications You must be signed in to change notification settings

siansiansu/gcp-firewall-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCP Firewall Scanner

A simple tool designed to scan Google Cloud Platform (GCP) firewall rules and identify any unused rules.

Usage

Print tables in a terminal.

go run ./main.go --projectID=${ProjectID} --format table

Create a CSV file with the results.

go run ./main.go --projectID=${ProjectID} --format csv

Efficiently scan only the running instances.

go run ./main.go --projectID=${ProjectID} --format csv --running

If you choose to output the results as a CSV file, these two files will be created in your current directory.

  • instances_${projectID}.csv
  • firewalls_${projectID}.csv

About

A simple tool designed to scan Google Cloud Platform (GCP) firewall rules and identify any unused rules.

Topics

Resources

License

Stars

Watchers

Forks

Languages