class Azure::SecurityInsights::Mgmt::V2020_01_01::Models::Incident

Represents an incident in Azure Security Insights.

Attributes

additional_data[RW]

@return [IncidentAdditionalData] Additional data on the incident

classification[RW]

@return [IncidentClassification] The reason the incident was closed. Possible values include: 'Undetermined', 'TruePositive', 'BenignPositive', 'FalsePositive'

classification_comment[RW]

@return [String] Describes the reason the incident was closed

classification_reason[RW]

@return [IncidentClassificationReason] The classification reason the incident was closed with. Possible values include: 'SuspiciousActivity', 'SuspiciousButExpected', 'IncorrectAlertLogic', 'InaccurateData'

created_time_utc[RW]

@return [DateTime] The time the incident was created

description[RW]

@return [String] The description of the incident

first_activity_time_utc[RW]

@return [DateTime] The time of the first activity in the incident

incident_number[RW]

@return [Integer] A sequential number

incident_url[RW]

@return [String] The deep-link url to the incident in Azure portal

labels[RW]

@return [Array<IncidentLabel>] List of labels relevant to this incident

last_activity_time_utc[RW]

@return [DateTime] The time of the last activity in the incident

last_modified_time_utc[RW]

@return [DateTime] The last time the incident was updated

owner[RW]

@return [IncidentOwnerInfo] Describes a user that the incident is assigned to

severity[RW]

@return [IncidentSeverity] The severity of the incident. Possible values include: 'High', 'Medium', 'Low', 'Informational'

status[RW]

@return [IncidentStatus] The status of the incident. Possible values include: 'New', 'Active', 'Closed'

title[RW]

@return [String] The title of the incident

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-01-01/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