Reference documentation and code samples for the Google Cloud Network Security V1 Client class ThreatPreventionProfile.
ThreatPreventionProfile defines an action for specific threat signatures or severity levels.
Generated from protobuf message google.cloud.networksecurity.v1.ThreatPreventionProfile
Namespace
Google \ Cloud \ NetworkSecurity \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ severity_overrides |
array<SeverityOverride>
Optional. Configuration for overriding threats actions by severity match. |
↳ threat_overrides |
array<ThreatOverride>
Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied. |
↳ antivirus_overrides |
array<AntivirusOverride>
Optional. Configuration for overriding antivirus actions per protocol. |
getSeverityOverrides
Optional. Configuration for overriding threats actions by severity match.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<SeverityOverride> |
|
setSeverityOverrides
Optional. Configuration for overriding threats actions by severity match.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SeverityOverride>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThreatOverrides
Optional. Configuration for overriding threats actions by threat_id match.
If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ThreatOverride> |
|
setThreatOverrides
Optional. Configuration for overriding threats actions by threat_id match.
If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ThreatOverride>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAntivirusOverrides
Optional. Configuration for overriding antivirus actions per protocol.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<AntivirusOverride> |
|
setAntivirusOverrides
Optional. Configuration for overriding antivirus actions per protocol.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AntivirusOverride>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|