Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions packages/@azure/arm-security/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,11 +614,12 @@ export interface Alert extends Resource {
*/
readonly actionTaken?: string;
/**
* @member {string} [reportedSeverity] Estimated severity of this alert
* @member {ReportedSeverity} [reportedSeverity] Estimated severity of this
* alert. Possible values include: 'Silent', 'Information', 'Low', 'High'
* **NOTE: This property will not be serialized. It can only be populated by
* the server.**
*/
readonly reportedSeverity?: string;
readonly reportedSeverity?: ReportedSeverity;
/**
* @member {string} [compromisedEntity] The entity that the incident happened
* on
Expand Down Expand Up @@ -651,6 +652,13 @@ export interface Alert extends Resource {
* the server.**
*/
readonly canBeInvestigated?: boolean;
/**
* @member {boolean} [isIncident] Whether this alert is for incident type or
* not (otherwise - single alert)
* **NOTE: This property will not be serialized. It can only be populated by
* the server.**
*/
readonly isIncident?: boolean;
/**
* @member {AlertEntity[]} [entities] objects that are related to this alerts
*/
Expand Down Expand Up @@ -1929,6 +1937,14 @@ export type AutoProvision = 'On' | 'Off';
*/
export type SettingKind = 'DataExportSetting' | 'AlertSuppressionSetting';

/**
* Defines values for ReportedSeverity.
* Possible values include: 'Silent', 'Information', 'Low', 'High'
* @readonly
* @enum {string}
*/
export type ReportedSeverity = 'Silent' | 'Information' | 'Low' | 'High';

/**
* Defines values for SecurityFamily.
* Possible values include: 'Waf', 'Ngfw', 'SaasWaf', 'Va'
Expand Down
7 changes: 7 additions & 0 deletions packages/@azure/arm-security/lib/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,13 @@ export const Alert: msRest.CompositeMapper = {
name: "Boolean"
}
},
isIncident: {
readOnly: true,
serializedName: "properties.isIncident",
type: {
name: "Boolean"
}
},
entities: {
serializedName: "properties.entities",
type: {
Expand Down