gcp-firewall-scanner

command module
v0.0.0-...-3d853a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2023 License: MIT Imports: 12 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL