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
value
mixed
static::value
name
mixed
Constants
THREAT_ACTION_UNSPECIFIED
Value: 0
Threat action not specified.
Generated from protobuf enum THREAT_ACTION_UNSPECIFIED = 0;
DEFAULT_ACTION
Value: 4
The default action (as specified by the vendor) is taken.
Generated from protobuf enum DEFAULT_ACTION = 4;
ALLOW
Value: 1
The packet matching this rule will be allowed to transmit.
Generated from protobuf enum ALLOW = 1;
ALERT
Value: 2
The 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: 3
The 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;

