Reference documentation and code samples for the Google Cloud Network Security V1 Client class ThreatAction.
Threat action override.
Protobuf type google.cloud.networksecurity.v1.ThreatAction
Namespace
Google \ Cloud \ NetworkSecurity \ V1Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
THREAT_ACTION_UNSPECIFIED
Value: 0Threat action not specified.
Generated from protobuf enum THREAT_ACTION_UNSPECIFIED = 0;
DEFAULT_ACTION
Value: 4The default action (as specified by the vendor) is taken.
Generated from protobuf enum DEFAULT_ACTION = 4;
ALLOW
Value: 1The packet matching this rule will be allowed to transmit.
Generated from protobuf enum ALLOW = 1;
ALERT
Value: 2The packet matching this rule will be allowed to transmit, but a threat_log entry will be sent to the consumer project.
Generated from protobuf enum ALERT = 2;
DENY
Value: 3The packet matching this rule will be dropped, and a threat_log entry will be sent to the consumer project.
Generated from protobuf enum DENY = 3;