list_firewall_rules
Retrieve and filter firewall rules in a GCP project using a specified network. Simplify network security management by listing rules for review or auditing purposes.
Instructions
List firewall rules in a GCP project, optionally filtered by network.
Args:
project_id: The ID of the GCP project
network: Optional network name to filter firewall rules by
Returns:
List of firewall rules in the specified GCP project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
network | No | ||
project_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"network": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Network"
},
"project_id": {
"title": "Project Id",
"type": "string"
}
},
"required": [
"project_id"
],
"title": "list_firewall_rulesArguments",
"type": "object"
}