FirewallPolicyRuleFirewallPolicyRule is the Schema for the FirewallPolicyRules API. Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).
TypeMR
Providerprovider-gcp-compute
Groupcompute.gcp.m.upbound.io
Scopenamespaced
Versionv1beta1

1apiVersion: compute.gcp.m.upbound.io/v1beta1

2kind: FirewallPolicyRule

kind
string
metadata
object
spec
object

FirewallPolicyRuleSpec defines the desired state of FirewallPolicyRule

forProvider
required
object

(No description available)

action
string
direction
string
disabled
boolean
object

Reference to a FirewallPolicy in compute to populate firewallPolicy.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a FirewallPolicy in compute to populate firewallPolicy.

namespace
string
policy
object

Policies for selection.

resolve
string
match
object

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. Structure is documented below.

array

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

array

References to AddressGroup in networksecurity to populate destAddressGroups.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of AddressGroup in networksecurity to populate destAddressGroups.

namespace
string
policy
object

Policies for selection.

resolve
string
array

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

array

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.

array

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

array

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

array

Pairs of IP protocols and ports that the rule should match. Structure is documented below.

ports
array

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.

array

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

array

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

array

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.

array

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

array

List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. Structure is documented below.

name
string
nameRef
object

Reference to a TagValue in tags to populate name.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a TagValue in tags to populate name.

namespace
string
policy
object

Policies for selection.

resolve
string
array

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

priority
number
array

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.

array

A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the targetSecureTag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target secure tags allowed is 256. Structure is documented below.

name
string
nameRef
object

Reference to a TagValue in tags to populate name.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a TagValue in tags to populate name.

namespace
string
policy
object

Policies for selection.

resolve
string
array

A list of service accounts indicating the sets of instances that are applied with this rule.

tlsInspect
boolean
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

action
string
direction
string
disabled
boolean
object

Reference to a FirewallPolicy in compute to populate firewallPolicy.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a FirewallPolicy in compute to populate firewallPolicy.

namespace
string
policy
object

Policies for selection.

resolve
string
match
object

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. Structure is documented below.

array

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

array

References to AddressGroup in networksecurity to populate destAddressGroups.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a list of AddressGroup in networksecurity to populate destAddressGroups.

namespace
string
policy
object

Policies for selection.

resolve
string
array

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

array

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.

array

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

array

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

array

Pairs of IP protocols and ports that the rule should match. Structure is documented below.

ports
array

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.

array

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

array

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

array

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.

array

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

array

List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. Structure is documented below.

name
string
nameRef
object

Reference to a TagValue in tags to populate name.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a TagValue in tags to populate name.

namespace
string
policy
object

Policies for selection.

resolve
string
array

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

priority
number
array

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.

array

A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the targetSecureTag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target secure tags allowed is 256. Structure is documented below.

name
string
nameRef
object

Reference to a TagValue in tags to populate name.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a TagValue in tags to populate name.

namespace
string
policy
object

Policies for selection.

resolve
string
array

A list of service accounts indicating the sets of instances that are applied with this rule.

tlsInspect
boolean
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

FirewallPolicyRuleStatus defines the observed state of FirewallPolicyRule.

object

(No description available)

action
string
direction
string
disabled
boolean
id
string
kind
string
match
object

A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. Structure is documented below.

array

Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.

array

Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.

array

CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.

array

Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000.

array

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.

array

Pairs of IP protocols and ports that the rule should match. Structure is documented below.

ports
array

An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port.

array

Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.

array

Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.

array

CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.

array

Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000.

array

List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. Structure is documented below.

name
string
state
string
array

Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.

priority
number
array

A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.

array

A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the targetSecureTag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target secure tags allowed is 256. Structure is documented below.

name
string
state
string
array

A list of service accounts indicating the sets of instances that are applied with this rule.

tlsInspect
boolean
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string