Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::ThreatPreventionProfile.
ThreatPreventionProfile defines an action for specific threat signatures or severity levels.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#antivirus_overrides
def antivirus_overrides() -> ::Array<::Google::Cloud::NetworkSecurity::V1::AntivirusOverride>
Returns
- (::Array<::Google::Cloud::NetworkSecurity::V1::AntivirusOverride>) — Optional. Configuration for overriding antivirus actions per protocol.
#antivirus_overrides=
def antivirus_overrides=(value) -> ::Array<::Google::Cloud::NetworkSecurity::V1::AntivirusOverride>
Parameter
- value (::Array<::Google::Cloud::NetworkSecurity::V1::AntivirusOverride>) — Optional. Configuration for overriding antivirus actions per protocol.
Returns
- (::Array<::Google::Cloud::NetworkSecurity::V1::AntivirusOverride>) — Optional. Configuration for overriding antivirus actions per protocol.
#severity_overrides
def severity_overrides() -> ::Array<::Google::Cloud::NetworkSecurity::V1::SeverityOverride>
Returns
- (::Array<::Google::Cloud::NetworkSecurity::V1::SeverityOverride>) — Optional. Configuration for overriding threats actions by severity match.
#severity_overrides=
def severity_overrides=(value) -> ::Array<::Google::Cloud::NetworkSecurity::V1::SeverityOverride>
Parameter
- value (::Array<::Google::Cloud::NetworkSecurity::V1::SeverityOverride>) — Optional. Configuration for overriding threats actions by severity match.
Returns
- (::Array<::Google::Cloud::NetworkSecurity::V1::SeverityOverride>) — Optional. Configuration for overriding threats actions by severity match.
#threat_overrides
def threat_overrides() -> ::Array<::Google::Cloud::NetworkSecurity::V1::ThreatOverride>
Returns
- (::Array<::Google::Cloud::NetworkSecurity::V1::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.
#threat_overrides=
def threat_overrides=(value) -> ::Array<::Google::Cloud::NetworkSecurity::V1::ThreatOverride>
Parameter
- value (::Array<::Google::Cloud::NetworkSecurity::V1::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.
Returns
- (::Array<::Google::Cloud::NetworkSecurity::V1::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.