Google Cloud Security Command Center V2 Client - Class AttackPathNode (2.0.2)

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

Represents one point that an attacker passes through in this attack path.

Generated from protobuf message google.cloud.securitycenter.v2.AttackPath.AttackPathNode

Namespace

Google \ Cloud \ SecurityCenter \ V2 \ AttackPath

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource string

The name of the resource at this point in the attack path. The format of the name follows the Cloud Asset Inventory resource name format

↳ resource_type string

The supported resource type

↳ display_name string

Human-readable name of this resource.

↳ associated_findings array<AttackPathNode\PathNodeAssociatedFinding>

The findings associated with this node in the attack path.

↳ uuid string

Unique id of the attack path node.

↳ attack_steps array<AttackPathNode\AttackStepNode>

A list of attack step nodes that exist in this attack path node.

getResource

The name of the resource at this point in the attack path.

The format of the name follows the Cloud Asset Inventory resource name format

Returns
Type Description
string

setResource

The name of the resource at this point in the attack path.

The format of the name follows the Cloud Asset Inventory resource name format

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceType

Returns
Type Description
string

setResourceType

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Human-readable name of this resource.

Returns
Type Description
string

setDisplayName

Human-readable name of this resource.

Parameter
Name Description
var string
Returns
Type Description
$this

getAssociatedFindings

The findings associated with this node in the attack path.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAssociatedFindings

The findings associated with this node in the attack path.

Parameter
Name Description
var array<AttackPathNode\PathNodeAssociatedFinding>
Returns
Type Description
$this

getUuid

Unique id of the attack path node.

Returns
Type Description
string

setUuid

Unique id of the attack path node.

Parameter
Name Description
var string
Returns
Type Description
$this

getAttackSteps

A list of attack step nodes that exist in this attack path node.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAttackSteps

A list of attack step nodes that exist in this attack path node.

Parameter
Name Description
var array<AttackPathNode\AttackStepNode>
Returns
Type Description
$this