Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Incident

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

Overview

Represents an incident in Azure Security Insights.

Instance Attribute Summary collapse

Attributes inherited from ResourceWithEtag

#etag, #id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#additional_dataIncidentAdditionalData

Returns Additional data on the incident.

Returns:



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

def additional_data
  @additional_data
end

#classificationIncidentClassification

Possible values include: ‘Undetermined’, ‘TruePositive’, ‘BenignPositive’, ‘FalsePositive’

Returns:



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

def classification
  @classification
end

#classification_commentString

Returns Describes the reason the incident was closed.

Returns:

  • (String)

    Describes the reason the incident was closed



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

def classification_comment
  @classification_comment
end

#classification_reasonIncidentClassificationReason

incident was closed with. Possible values include: ‘SuspiciousActivity’, ‘SuspiciousButExpected’, ‘IncorrectAlertLogic’, ‘InaccurateData’

Returns:



30
31
32
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 30

def classification_reason
  @classification_reason
end

#created_time_utcDateTime

Returns The time the incident was created.

Returns:

  • (DateTime)

    The time the incident was created



33
34
35
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 33

def created_time_utc
  @created_time_utc
end

#descriptionString

Returns The description of the incident.

Returns:

  • (String)

    The description of the incident



36
37
38
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 36

def description
  @description
end

#first_activity_time_utcDateTime

Returns The time of the first activity in the incident.

Returns:

  • (DateTime)

    The time of the first activity in the incident



39
40
41
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 39

def first_activity_time_utc
  @first_activity_time_utc
end

#incident_numberInteger

Returns A sequential number.

Returns:

  • (Integer)

    A sequential number



45
46
47
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 45

def incident_number
  @incident_number
end

#incident_urlString

Returns The deep-link url to the incident in Azure portal.

Returns:

  • (String)

    The deep-link url to the incident in Azure portal



42
43
44
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 42

def incident_url
  @incident_url
end

#labelsArray<IncidentLabel>

Returns List of labels relevant to this incident.

Returns:

  • (Array<IncidentLabel>)

    List of labels relevant to this incident



48
49
50
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 48

def labels
  @labels
end

#last_activity_time_utcDateTime

Returns The time of the last activity in the incident.

Returns:

  • (DateTime)

    The time of the last activity in the incident



51
52
53
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 51

def last_activity_time_utc
  @last_activity_time_utc
end

#last_modified_time_utcDateTime

Returns The last time the incident was updated.

Returns:

  • (DateTime)

    The last time the incident was updated



54
55
56
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 54

def last_modified_time_utc
  @last_modified_time_utc
end

#ownerIncidentOwnerInfo

assigned to

Returns:



58
59
60
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 58

def owner
  @owner
end

to the incident

Returns:

  • (Array<String>)

    List of resource ids of Analytic rules related



62
63
64
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 62

def related_analytic_rule_ids
  @related_analytic_rule_ids
end

#severityIncidentSeverity

values include: ‘High’, ‘Medium’, ‘Low’, ‘Informational’

Returns:



66
67
68
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 66

def severity
  @severity
end

#statusIncidentStatus

include: ‘New’, ‘Active’, ‘Closed’

Returns:



70
71
72
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 70

def status
  @status
end

#titleString

Returns The title of the incident.

Returns:

  • (String)

    The title of the incident



73
74
75
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 73

def title
  @title
end

Class Method Details

.mapperObject

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



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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 80

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Incident',
    type: {
      name: 'Composite',
      class_name: 'Incident',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        additional_data: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.additionalData',
          type: {
            name: 'Composite',
            class_name: 'IncidentAdditionalData'
          }
        },
        classification: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.classification',
          type: {
            name: 'String'
          }
        },
        classification_comment: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.classificationComment',
          type: {
            name: 'String'
          }
        },
        classification_reason: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.classificationReason',
          type: {
            name: 'String'
          }
        },
        created_time_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        first_activity_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.firstActivityTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        incident_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.incidentUrl',
          type: {
            name: 'String'
          }
        },
        incident_number: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.incidentNumber',
          type: {
            name: 'Number'
          }
        },
        labels: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.labels',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'IncidentLabelElementType',
                type: {
                  name: 'Composite',
                  class_name: 'IncidentLabel'
                }
            }
          }
        },
        last_activity_time_utc: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastActivityTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        last_modified_time_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModifiedTimeUtc',
          type: {
            name: 'DateTime'
          }
        },
        owner: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.owner',
          type: {
            name: 'Composite',
            class_name: 'IncidentOwnerInfo'
          }
        },
        related_analytic_rule_ids: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.relatedAnalyticRuleIds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        severity: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.severity',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        title: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.title',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end