Class: Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/attack_path.rb
Overview
Represents one point that an attacker passes through in this attack path.
Defined Under Namespace
Modules: NodeType Classes: AttackStepNode, PathNodeAssociatedFinding
Instance Attribute Summary collapse
-
#associated_findings ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::PathNodeAssociatedFinding>
The findings associated with this node in the attack path.
-
#attack_steps ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::AttackStepNode>
A list of attack step nodes that exist in this attack path node.
-
#display_name ⇒ ::String
Human-readable name of this resource.
-
#resource ⇒ ::String
The name of the resource at this point in the attack path.
- #resource_type ⇒ ::String
-
#uuid ⇒ ::String
Unique id of the attack path node.
Instance Attribute Details
#associated_findings ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::PathNodeAssociatedFinding>
Returns The findings associated with this node in the attack path.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/cloud/securitycenter/v1/attack_path.rb', line 62 class AttackPathNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A finding that is associated with this node in the attack path. # @!attribute [rw] canonical_finding # @return [::String] # Canonical name of the associated findings. Example: # `organizations/123/sources/456/findings/789` # @!attribute [rw] finding_category # @return [::String] # The additional taxonomy group within findings from a given source. # @!attribute [rw] name # @return [::String] # Full resource name of the finding. class PathNodeAssociatedFinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Detailed steps the attack can take between path nodes. # @!attribute [rw] uuid # @return [::String] # Unique ID for one Node # @!attribute [rw] type # @return [::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::NodeType] # Attack step type. Can be either AND, OR or DEFENSE # @!attribute [rw] display_name # @return [::String] # User friendly name of the attack step # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Attack step labels for metadata # @!attribute [rw] description # @return [::String] # Attack step description class AttackStepNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The type of the incoming attack step node. module NodeType # Type not specified NODE_TYPE_UNSPECIFIED = 0 # Incoming edge joined with AND NODE_TYPE_AND = 1 # Incoming edge joined with OR NODE_TYPE_OR = 2 # Incoming edge is defense NODE_TYPE_DEFENSE = 3 # Incoming edge is attacker NODE_TYPE_ATTACKER = 4 end end |
#attack_steps ⇒ ::Array<::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::AttackStepNode>
Returns A list of attack step nodes that exist in this attack path node.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/cloud/securitycenter/v1/attack_path.rb', line 62 class AttackPathNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A finding that is associated with this node in the attack path. # @!attribute [rw] canonical_finding # @return [::String] # Canonical name of the associated findings. Example: # `organizations/123/sources/456/findings/789` # @!attribute [rw] finding_category # @return [::String] # The additional taxonomy group within findings from a given source. # @!attribute [rw] name # @return [::String] # Full resource name of the finding. class PathNodeAssociatedFinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Detailed steps the attack can take between path nodes. # @!attribute [rw] uuid # @return [::String] # Unique ID for one Node # @!attribute [rw] type # @return [::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::NodeType] # Attack step type. Can be either AND, OR or DEFENSE # @!attribute [rw] display_name # @return [::String] # User friendly name of the attack step # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Attack step labels for metadata # @!attribute [rw] description # @return [::String] # Attack step description class AttackStepNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The type of the incoming attack step node. module NodeType # Type not specified NODE_TYPE_UNSPECIFIED = 0 # Incoming edge joined with AND NODE_TYPE_AND = 1 # Incoming edge joined with OR NODE_TYPE_OR = 2 # Incoming edge is defense NODE_TYPE_DEFENSE = 3 # Incoming edge is attacker NODE_TYPE_ATTACKER = 4 end end |
#display_name ⇒ ::String
Returns Human-readable name of this resource.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/cloud/securitycenter/v1/attack_path.rb', line 62 class AttackPathNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A finding that is associated with this node in the attack path. # @!attribute [rw] canonical_finding # @return [::String] # Canonical name of the associated findings. Example: # `organizations/123/sources/456/findings/789` # @!attribute [rw] finding_category # @return [::String] # The additional taxonomy group within findings from a given source. # @!attribute [rw] name # @return [::String] # Full resource name of the finding. class PathNodeAssociatedFinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Detailed steps the attack can take between path nodes. # @!attribute [rw] uuid # @return [::String] # Unique ID for one Node # @!attribute [rw] type # @return [::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::NodeType] # Attack step type. Can be either AND, OR or DEFENSE # @!attribute [rw] display_name # @return [::String] # User friendly name of the attack step # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Attack step labels for metadata # @!attribute [rw] description # @return [::String] # Attack step description class AttackStepNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The type of the incoming attack step node. module NodeType # Type not specified NODE_TYPE_UNSPECIFIED = 0 # Incoming edge joined with AND NODE_TYPE_AND = 1 # Incoming edge joined with OR NODE_TYPE_OR = 2 # Incoming edge is defense NODE_TYPE_DEFENSE = 3 # Incoming edge is attacker NODE_TYPE_ATTACKER = 4 end end |
#resource ⇒ ::String
Returns 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.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/cloud/securitycenter/v1/attack_path.rb', line 62 class AttackPathNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A finding that is associated with this node in the attack path. # @!attribute [rw] canonical_finding # @return [::String] # Canonical name of the associated findings. Example: # `organizations/123/sources/456/findings/789` # @!attribute [rw] finding_category # @return [::String] # The additional taxonomy group within findings from a given source. # @!attribute [rw] name # @return [::String] # Full resource name of the finding. class PathNodeAssociatedFinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Detailed steps the attack can take between path nodes. # @!attribute [rw] uuid # @return [::String] # Unique ID for one Node # @!attribute [rw] type # @return [::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::NodeType] # Attack step type. Can be either AND, OR or DEFENSE # @!attribute [rw] display_name # @return [::String] # User friendly name of the attack step # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Attack step labels for metadata # @!attribute [rw] description # @return [::String] # Attack step description class AttackStepNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The type of the incoming attack step node. module NodeType # Type not specified NODE_TYPE_UNSPECIFIED = 0 # Incoming edge joined with AND NODE_TYPE_AND = 1 # Incoming edge joined with OR NODE_TYPE_OR = 2 # Incoming edge is defense NODE_TYPE_DEFENSE = 3 # Incoming edge is attacker NODE_TYPE_ATTACKER = 4 end end |
#resource_type ⇒ ::String
Returns The supported resource type.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/cloud/securitycenter/v1/attack_path.rb', line 62 class AttackPathNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A finding that is associated with this node in the attack path. # @!attribute [rw] canonical_finding # @return [::String] # Canonical name of the associated findings. Example: # `organizations/123/sources/456/findings/789` # @!attribute [rw] finding_category # @return [::String] # The additional taxonomy group within findings from a given source. # @!attribute [rw] name # @return [::String] # Full resource name of the finding. class PathNodeAssociatedFinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Detailed steps the attack can take between path nodes. # @!attribute [rw] uuid # @return [::String] # Unique ID for one Node # @!attribute [rw] type # @return [::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::NodeType] # Attack step type. Can be either AND, OR or DEFENSE # @!attribute [rw] display_name # @return [::String] # User friendly name of the attack step # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Attack step labels for metadata # @!attribute [rw] description # @return [::String] # Attack step description class AttackStepNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The type of the incoming attack step node. module NodeType # Type not specified NODE_TYPE_UNSPECIFIED = 0 # Incoming edge joined with AND NODE_TYPE_AND = 1 # Incoming edge joined with OR NODE_TYPE_OR = 2 # Incoming edge is defense NODE_TYPE_DEFENSE = 3 # Incoming edge is attacker NODE_TYPE_ATTACKER = 4 end end |
#uuid ⇒ ::String
Returns Unique id of the attack path node.
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
# File 'proto_docs/google/cloud/securitycenter/v1/attack_path.rb', line 62 class AttackPathNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A finding that is associated with this node in the attack path. # @!attribute [rw] canonical_finding # @return [::String] # Canonical name of the associated findings. Example: # `organizations/123/sources/456/findings/789` # @!attribute [rw] finding_category # @return [::String] # The additional taxonomy group within findings from a given source. # @!attribute [rw] name # @return [::String] # Full resource name of the finding. class PathNodeAssociatedFinding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Detailed steps the attack can take between path nodes. # @!attribute [rw] uuid # @return [::String] # Unique ID for one Node # @!attribute [rw] type # @return [::Google::Cloud::SecurityCenter::V1::AttackPath::AttackPathNode::NodeType] # Attack step type. Can be either AND, OR or DEFENSE # @!attribute [rw] display_name # @return [::String] # User friendly name of the attack step # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Attack step labels for metadata # @!attribute [rw] description # @return [::String] # Attack step description class AttackStepNode include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end # The type of the incoming attack step node. module NodeType # Type not specified NODE_TYPE_UNSPECIFIED = 0 # Incoming edge joined with AND NODE_TYPE_AND = 1 # Incoming edge joined with OR NODE_TYPE_OR = 2 # Incoming edge is defense NODE_TYPE_DEFENSE = 3 # Incoming edge is attacker NODE_TYPE_ATTACKER = 4 end end |