Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::IncidentAdditionalData

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb

Overview

Incident additional data property bag.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#alert_product_namesArray<String>

Returns List of product names of alerts in the incident.

Returns:

  • (Array<String>)

    List of product names of alerts in the incident



25
26
27
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb', line 25

def alert_product_names
  @alert_product_names
end

#alerts_countInteger

Returns The number of alerts in the incident.

Returns:

  • (Integer)

    The number of alerts in the incident



16
17
18
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb', line 16

def alerts_count
  @alerts_count
end

#bookmarks_countInteger

Returns The number of bookmarks in the incident.

Returns:

  • (Integer)

    The number of bookmarks in the incident



19
20
21
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb', line 19

def bookmarks_count
  @bookmarks_count
end

#comments_countInteger

Returns The number of comments in the incident.

Returns:

  • (Integer)

    The number of comments in the incident



22
23
24
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb', line 22

def comments_count
  @comments_count
end

#tacticsArray<AttackTactic>

Returns The tactics associated with incident.

Returns:

  • (Array<AttackTactic>)

    The tactics associated with incident



28
29
30
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb', line 28

def tactics
  @tactics
end

Class Method Details

.mapperObject

Mapper for IncidentAdditionalData class as Ruby Hash. This will be used for serialization/deserialization.



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident_additional_data.rb', line 35

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IncidentAdditionalData',
    type: {
      name: 'Composite',
      class_name: 'IncidentAdditionalData',
      model_properties: {
        alerts_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'alertsCount',
          type: {
            name: 'Number'
          }
        },
        bookmarks_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'bookmarksCount',
          type: {
            name: 'Number'
          }
        },
        comments_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'commentsCount',
          type: {
            name: 'Number'
          }
        },
        alert_product_names: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'alertProductNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        tactics: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tactics',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AttackTacticElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end