Google Cloud Security Command Center V1 Client - Class CloudArmor (2.0.0-RC1)

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

Fields related to Google Cloud Armor findings.

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

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ security_policy Google\Cloud\SecurityCenter\V1\SecurityPolicy

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

↳ requests Google\Cloud\SecurityCenter\V1\Requests

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

↳ adaptive_protection Google\Cloud\SecurityCenter\V1\AdaptiveProtection

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

↳ attack Google\Cloud\SecurityCenter\V1\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
Google\Cloud\SecurityCenter\V1\SecurityPolicy|null

hasSecurityPolicy

clearSecurityPolicy

setSecurityPolicy

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

Parameter
Name Description
var Google\Cloud\SecurityCenter\V1\SecurityPolicy
Returns
Type Description
$this

getRequests

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

Returns
Type Description
Google\Cloud\SecurityCenter\V1\Requests|null

hasRequests

clearRequests

setRequests

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

Parameter
Name Description
var Google\Cloud\SecurityCenter\V1\Requests
Returns
Type Description
$this

getAdaptiveProtection

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

Returns
Type Description
Google\Cloud\SecurityCenter\V1\AdaptiveProtection|null

hasAdaptiveProtection

clearAdaptiveProtection

setAdaptiveProtection

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

Parameter
Name Description
var Google\Cloud\SecurityCenter\V1\AdaptiveProtection
Returns
Type Description
$this

getAttack

Information about DDoS attack volume and classification.

Returns
Type Description
Google\Cloud\SecurityCenter\V1\Attack|null

hasAttack

clearAttack

setAttack

Information about DDoS attack volume and classification.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V1\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