
com.azure.resourcemanager.security.fluent.models.AlertInner Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
import com.azure.resourcemanager.security.models.AlertEntity;
import com.azure.resourcemanager.security.models.AlertPropertiesSupportingEvidence;
import com.azure.resourcemanager.security.models.AlertSeverity;
import com.azure.resourcemanager.security.models.AlertStatus;
import com.azure.resourcemanager.security.models.Intent;
import com.azure.resourcemanager.security.models.ResourceIdentifier;
import java.io.IOException;
import java.time.OffsetDateTime;
import java.util.List;
import java.util.Map;
/**
* Security alert.
*/
@Fluent
public final class AlertInner extends ProxyResource {
/*
* describes security alert properties.
*/
private AlertProperties innerProperties;
/*
* The type of the resource.
*/
private String type;
/*
* The name of the resource.
*/
private String name;
/*
* Fully qualified resource Id for the resource.
*/
private String id;
/**
* Creates an instance of AlertInner class.
*/
public AlertInner() {
}
/**
* Get the innerProperties property: describes security alert properties.
*
* @return the innerProperties value.
*/
private AlertProperties innerProperties() {
return this.innerProperties;
}
/**
* Get the type property: The type of the resource.
*
* @return the type value.
*/
@Override
public String type() {
return this.type;
}
/**
* Get the name property: The name of the resource.
*
* @return the name value.
*/
@Override
public String name() {
return this.name;
}
/**
* Get the id property: Fully qualified resource Id for the resource.
*
* @return the id value.
*/
@Override
public String id() {
return this.id;
}
/**
* Get the version property: Schema version.
*
* @return the version value.
*/
public String version() {
return this.innerProperties() == null ? null : this.innerProperties().version();
}
/**
* Get the alertType property: Unique identifier for the detection logic (all alert instances from the same
* detection logic will have the same alertType).
*
* @return the alertType value.
*/
public String alertType() {
return this.innerProperties() == null ? null : this.innerProperties().alertType();
}
/**
* Get the systemAlertId property: Unique identifier for the alert.
*
* @return the systemAlertId value.
*/
public String systemAlertId() {
return this.innerProperties() == null ? null : this.innerProperties().systemAlertId();
}
/**
* Get the productComponentName property: The name of Azure Security Center pricing tier which powering this alert.
* Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing.
*
* @return the productComponentName value.
*/
public String productComponentName() {
return this.innerProperties() == null ? null : this.innerProperties().productComponentName();
}
/**
* Get the alertDisplayName property: The display name of the alert.
*
* @return the alertDisplayName value.
*/
public String alertDisplayName() {
return this.innerProperties() == null ? null : this.innerProperties().alertDisplayName();
}
/**
* Get the description property: Description of the suspicious activity that was detected.
*
* @return the description value.
*/
public String description() {
return this.innerProperties() == null ? null : this.innerProperties().description();
}
/**
* Get the severity property: The risk level of the threat that was detected. Learn more:
* https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified.
*
* @return the severity value.
*/
public AlertSeverity severity() {
return this.innerProperties() == null ? null : this.innerProperties().severity();
}
/**
* Get the intent property: The kill chain related intent behind the alert. For list of supported values, and
* explanations of Azure Security Center's supported kill chain intents.
*
* @return the intent value.
*/
public Intent intent() {
return this.innerProperties() == null ? null : this.innerProperties().intent();
}
/**
* Get the startTimeUtc property: The UTC time of the first event or activity included in the alert in ISO8601
* format.
*
* @return the startTimeUtc value.
*/
public OffsetDateTime startTimeUtc() {
return this.innerProperties() == null ? null : this.innerProperties().startTimeUtc();
}
/**
* Get the endTimeUtc property: The UTC time of the last event or activity included in the alert in ISO8601 format.
*
* @return the endTimeUtc value.
*/
public OffsetDateTime endTimeUtc() {
return this.innerProperties() == null ? null : this.innerProperties().endTimeUtc();
}
/**
* Get the resourceIdentifiers property: The resource identifiers that can be used to direct the alert to the right
* product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different
* type per alert.
*
* @return the resourceIdentifiers value.
*/
public List resourceIdentifiers() {
return this.innerProperties() == null ? null : this.innerProperties().resourceIdentifiers();
}
/**
* Get the remediationSteps property: Manual action items to take to remediate the alert.
*
* @return the remediationSteps value.
*/
public List remediationSteps() {
return this.innerProperties() == null ? null : this.innerProperties().remediationSteps();
}
/**
* Get the vendorName property: The name of the vendor that raises the alert.
*
* @return the vendorName value.
*/
public String vendorName() {
return this.innerProperties() == null ? null : this.innerProperties().vendorName();
}
/**
* Get the status property: The life cycle status of the alert.
*
* @return the status value.
*/
public AlertStatus status() {
return this.innerProperties() == null ? null : this.innerProperties().status();
}
/**
* Get the extendedLinks property: Links related to the alert.
*
* @return the extendedLinks value.
*/
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy