Google Cloud Security Command Center V2 Client - Class CloudArmor (2.0.3)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class CloudArmor.

Fields related to Google Cloud Armor findings.

Generated from protobuf message google.cloud.securitycenter.v2.CloudArmor

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ security_policy SecurityPolicy

Information about the Google Cloud Armor security policy relevant to the finding.

↳ requests Requests

Information about incoming requests evaluated by Google Cloud Armor security policies.

↳ adaptive_protection AdaptiveProtection

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

↳ attack Attack

Information about DDoS attack volume and classification.

↳ threat_vector string

Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.

↳ duration Google\Protobuf\Duration

Duration of attack from the start until the current moment (updated every 5 minutes).

getSecurityPolicy

Information about the Google Cloud Armor security policy relevant to the finding.

Returns
Type Description
SecurityPolicy|null

hasSecurityPolicy

clearSecurityPolicy

setSecurityPolicy

Information about the Google Cloud Armor security policy relevant to the finding.

Parameter
Name Description
var SecurityPolicy
Returns
Type Description
$this

getRequests

Information about incoming requests evaluated by Google Cloud Armor security policies.

Returns
Type Description
Requests|null

hasRequests

clearRequests

setRequests

Information about incoming requests evaluated by Google Cloud Armor security policies.

Parameter
Name Description
var Requests
Returns
Type Description
$this

getAdaptiveProtection

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

Returns
Type Description
AdaptiveProtection|null

hasAdaptiveProtection

clearAdaptiveProtection

setAdaptiveProtection

Information about potential Layer 7 DDoS attacks identified by Google Cloud Armor Adaptive Protection.

Parameter
Name Description
var AdaptiveProtection
Returns
Type Description
$this

getAttack

Information about DDoS attack volume and classification.

Returns
Type Description
Attack|null

hasAttack

clearAttack

setAttack

Information about DDoS attack volume and classification.

Parameter
Name Description
var Attack
Returns
Type Description
$this

getThreatVector

Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.

Returns
Type Description
string

setThreatVector

Distinguish between volumetric & protocol DDoS attack and application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS attacks, or "L_7" for Layer 7 DDoS attacks.

Parameter
Name Description
var string
Returns
Type Description
$this

getDuration

Duration of attack from the start until the current moment (updated every 5 minutes).

Returns
Type Description
Google\Protobuf\Duration|null

hasDuration

clearDuration

setDuration

Duration of attack from the start until the current moment (updated every 5 minutes).

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this