Selectively enable logging in FAST and firewall policy module rules (#2032)
* use logging in firewall policy module examples * enable logging for selected hierarchical firewall rules
This commit is contained in:
committed by
GitHub
parent
1e06c35a1f
commit
01c7f806ce
@@ -22,6 +22,7 @@ allow-healthchecks:
|
||||
|
||||
allow-ssh-from-iap:
|
||||
description: Enable SSH from IAP
|
||||
enable_logging: true
|
||||
priority: 1002
|
||||
match:
|
||||
source_ranges:
|
||||
|
||||
@@ -23,6 +23,7 @@ allow-healthchecks:
|
||||
allow-ssh-from-iap:
|
||||
description: Enable SSH from IAP
|
||||
priority: 1002
|
||||
enable_logging: true
|
||||
match:
|
||||
source_ranges:
|
||||
- 35.235.240.0/20
|
||||
|
||||
@@ -23,6 +23,7 @@ allow-healthchecks:
|
||||
allow-ssh-from-iap:
|
||||
description: Enable SSH from IAP
|
||||
priority: 1002
|
||||
enable_logging: true
|
||||
match:
|
||||
source_ranges:
|
||||
- 35.235.240.0/20
|
||||
|
||||
@@ -23,6 +23,7 @@ allow-healthchecks:
|
||||
allow-ssh-from-iap:
|
||||
description: Enable SSH from IAP
|
||||
priority: 1002
|
||||
enable_logging: true
|
||||
match:
|
||||
source_ranges:
|
||||
- 35.235.240.0/20
|
||||
|
||||
@@ -23,6 +23,7 @@ allow-healthchecks:
|
||||
allow-ssh-from-iap:
|
||||
description: Enable SSH from IAP
|
||||
priority: 1002
|
||||
enable_logging: true
|
||||
match:
|
||||
source_ranges:
|
||||
- 35.235.240.0/20
|
||||
|
||||
@@ -49,13 +49,15 @@ module "firewall-policy" {
|
||||
}
|
||||
}
|
||||
mgmt = {
|
||||
priority = 1001
|
||||
priority = 1001
|
||||
enable_logging = true
|
||||
match = {
|
||||
source_ranges = ["10.1.1.0/24"]
|
||||
}
|
||||
}
|
||||
ssh = {
|
||||
priority = 1002
|
||||
priority = 1002
|
||||
enable_logging = true
|
||||
match = {
|
||||
source_ranges = ["10.0.0.0/8"]
|
||||
# source_tags = ["tagValues/123456"]
|
||||
@@ -102,13 +104,15 @@ module "firewall-policy" {
|
||||
}
|
||||
}
|
||||
mgmt = {
|
||||
priority = 1001
|
||||
priority = 1001
|
||||
enable_logging = true
|
||||
match = {
|
||||
source_ranges = ["10.1.1.0/24"]
|
||||
}
|
||||
}
|
||||
ssh = {
|
||||
priority = 1002
|
||||
priority = 1002
|
||||
enable_logging = true
|
||||
match = {
|
||||
source_ranges = ["10.0.0.0/8"]
|
||||
# source_tags = ["tagValues/123456"]
|
||||
|
||||
@@ -79,7 +79,7 @@ values:
|
||||
action: allow
|
||||
direction: INGRESS
|
||||
disabled: false
|
||||
enable_logging: null
|
||||
enable_logging: True
|
||||
firewall_policy: test-1
|
||||
match:
|
||||
- dest_address_groups: null
|
||||
@@ -106,7 +106,7 @@ values:
|
||||
action: allow
|
||||
direction: INGRESS
|
||||
disabled: false
|
||||
enable_logging: null
|
||||
enable_logging: True
|
||||
firewall_policy: test-1
|
||||
match:
|
||||
- dest_address_groups: null
|
||||
|
||||
@@ -74,7 +74,7 @@ values:
|
||||
description: null
|
||||
direction: INGRESS
|
||||
disabled: false
|
||||
enable_logging: null
|
||||
enable_logging: True
|
||||
match:
|
||||
- dest_address_groups: null
|
||||
dest_fqdns: null
|
||||
@@ -98,7 +98,7 @@ values:
|
||||
description: null
|
||||
direction: INGRESS
|
||||
disabled: false
|
||||
enable_logging: null
|
||||
enable_logging: True
|
||||
match:
|
||||
- dest_address_groups: null
|
||||
dest_fqdns: null
|
||||
|
||||
Reference in New Issue
Block a user