Skip to content

Firewall Rules

Provider: Google Cloud
Service ID: gcp_firewall_rules
Rendering: Table with expandable rows containing tabbed sub-tables

Quick Example

<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
    service: 'gcp_firewall_rules',
    provider: 'gcp',
    region: 'europe-west2',
    source: 'live',
    attributes: ['project', 'name', 'direction', 'priority', 'network', 'disabled']
});
</script>

<div data-sd-service="gcp_firewall_rules" data-sd-source="live"></div>

Default Attributes

When no attributes array is specified, these columns are displayed:

attributes: ['project', 'name', 'direction', 'priority', 'network', 'disabled', 'source_ranges', 'target_tags', 'allowed']

All Attributes

Attribute Display Name Format Description
project Project text From API field: __project_id__
name Name text From API field: name
firewall_id Firewall ID text From API field: id
direction Direction text From API field: direction
priority Priority text From API field: priority
network Network gcp_resource_name From API field: network
disabled Disabled boolean From API field: disabled
source_ranges Source Ranges tag_list From API field: source_ranges
target_tags Target Tags tag_list From API field: target_tags
allowed Allowed compound_sub_table Expandable sub-table: Allowed
denied Denied compound_sub_table Expandable sub-table: Denied
description Description text From API field: description
creation_time Creation Time datetime From API field: creation_timestamp

= included in default view

Sub-Table: Allowed

Allowed

Column Display Name
protocol Protocol
ports Ports

Sub-Table: Denied

Denied

Column Display Name
protocol Protocol
ports Ports

Sort Order

Results are sorted by: name