Class: Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Incident
- Inherits:
-
ResourceWithEtag
- Object
- ResourceWithEtag
- Azure::SecurityInsights::Mgmt::V2019_01_01_preview::Models::Incident
- 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
-
#additional_data ⇒ IncidentAdditionalData
Additional data on the incident.
-
#classification ⇒ IncidentClassification
Possible values include: ‘Undetermined’, ‘TruePositive’, ‘BenignPositive’, ‘FalsePositive’.
-
#classification_comment ⇒ String
Describes the reason the incident was closed.
-
#classification_reason ⇒ IncidentClassificationReason
incident was closed with.
-
#created_time_utc ⇒ DateTime
The time the incident was created.
-
#description ⇒ String
The description of the incident.
-
#first_activity_time_utc ⇒ DateTime
The time of the first activity in the incident.
-
#incident_number ⇒ Integer
A sequential number.
-
#incident_url ⇒ String
The deep-link url to the incident in Azure portal.
-
#labels ⇒ Array<IncidentLabel>
List of labels relevant to this incident.
-
#last_activity_time_utc ⇒ DateTime
The time of the last activity in the incident.
-
#last_modified_time_utc ⇒ DateTime
The last time the incident was updated.
-
#owner ⇒ IncidentOwnerInfo
assigned to.
-
#related_analytic_rule_ids ⇒ Array<String>
to the incident.
-
#severity ⇒ IncidentSeverity
values include: ‘High’, ‘Medium’, ‘Low’, ‘Informational’.
-
#status ⇒ IncidentStatus
include: ‘New’, ‘Active’, ‘Closed’.
-
#title ⇒ String
The title of the incident.
Attributes inherited from ResourceWithEtag
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Incident class as Ruby Hash.
Instance Attribute Details
#additional_data ⇒ IncidentAdditionalData
Returns Additional data on the incident.
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 |
#classification ⇒ IncidentClassification
Possible values include: ‘Undetermined’, ‘TruePositive’, ‘BenignPositive’, ‘FalsePositive’
21 22 23 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 21 def classification @classification end |
#classification_comment ⇒ String
Returns 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_reason ⇒ IncidentClassificationReason
incident was closed with. Possible values include: ‘SuspiciousActivity’, ‘SuspiciousButExpected’, ‘IncorrectAlertLogic’, ‘InaccurateData’
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_utc ⇒ DateTime
Returns 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 |
#description ⇒ String
Returns 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_utc ⇒ DateTime
Returns 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_number ⇒ Integer
Returns 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_url ⇒ String
Returns 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 |
#labels ⇒ Array<IncidentLabel>
Returns 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_utc ⇒ DateTime
Returns 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_utc ⇒ DateTime
Returns 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 |
#owner ⇒ IncidentOwnerInfo
assigned to
58 59 60 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 58 def owner @owner end |
#related_analytic_rule_ids ⇒ Array<String>
to the incident
62 63 64 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 62 def @related_analytic_rule_ids end |
#severity ⇒ IncidentSeverity
values include: ‘High’, ‘Medium’, ‘Low’, ‘Informational’
66 67 68 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 66 def severity @severity end |
#status ⇒ IncidentStatus
include: ‘New’, ‘Active’, ‘Closed’
70 71 72 |
# File 'lib/2019-01-01-preview/generated/azure_mgmt_security_insights/models/incident.rb', line 70 def status @status end |
#title ⇒ String
Returns 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
.mapper ⇒ Object
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 |