Class: Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v2/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

Instance Attribute Details

#associated_findings::Array<::Google::Cloud::SecurityCenter::V2::AttackPath::AttackPathNode::PathNodeAssociatedFinding>



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/v2/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::V2::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::V2::AttackPath::AttackPathNode::AttackStepNode>



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/v2/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::V2::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



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/v2/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::V2::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



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/v2/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::V2::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



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/v2/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::V2::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



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/v2/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::V2::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