Package com.microsoft.graph.models
Class ServicePrincipalRiskDetection
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ServicePrincipalRiskDetection
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class ServicePrincipalRiskDetection
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Service Principal Risk Detection.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Activity.The Activity Date Time.The Additional Info.The App Id.The Correlation Id.The Detected Date Time.The Detection Timing Type.The Ip Address.The Key Ids.The Last Updated Date Time.The Location.The Request Id.The Risk Detail.The Risk Event Type.The Risk Level.The Risk State.The Service Principal Display Name.The Service Principal Id.The Source.The Token Issuer Type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
activity
@SerializedName(value="activity", alternate="Activity") @Expose @Nullable public ActivityType activityThe Activity. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. -
activityDateTime
@SerializedName(value="activityDateTime", alternate="ActivityDateTime") @Expose @Nullable public OffsetDateTime activityDateTimeThe Activity Date Time. Date and time when the risky activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z -
additionalInfo
@SerializedName(value="additionalInfo", alternate="AdditionalInfo") @Expose @Nullable public String additionalInfoThe Additional Info. Additional information associated with the risk detection. This string value is represented as a JSON object with the quotations escaped. -
appId
The App Id. The unique identifier for the associated application. -
correlationId
@SerializedName(value="correlationId", alternate="CorrelationId") @Expose @Nullable public String correlationIdThe Correlation Id. Correlation ID of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. -
detectedDateTime
@SerializedName(value="detectedDateTime", alternate="DetectedDateTime") @Expose @Nullable public OffsetDateTime detectedDateTimeThe Detected Date Time. Date and time when the risk was detected. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. -
detectionTimingType
@SerializedName(value="detectionTimingType", alternate="DetectionTimingType") @Expose @Nullable public RiskDetectionTimingType detectionTimingTypeThe Detection Timing Type. Timing of the detected risk , whether real-time or offline. The possible values are: notDefined, realtime, nearRealtime, offline, unknownFutureValue. -
ipAddress
The Ip Address. Provides the IP address of the client from where the risk occurred. -
keyIds
The Key Ids. The unique identifier for the key credential associated with the risk detection. -
lastUpdatedDateTime
@SerializedName(value="lastUpdatedDateTime", alternate="LastUpdatedDateTime") @Expose @Nullable public OffsetDateTime lastUpdatedDateTimeThe Last Updated Date Time. Date and time when the risk detection was last updated. -
location
@SerializedName(value="location", alternate="Location") @Expose @Nullable public SignInLocation locationThe Location. Location from where the sign-in was initiated. -
requestId
The Request Id. Request identifier of the sign-in activity associated with the risk detection. This property is null if the risk detection is not associated with a sign-in activity. Supports $filter (eq). -
riskDetail
@SerializedName(value="riskDetail", alternate="RiskDetail") @Expose @Nullable public RiskDetail riskDetailThe Risk Detail. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. -
riskEventType
@SerializedName(value="riskEventType", alternate="RiskEventType") @Expose @Nullable public String riskEventTypeThe Risk Event Type. The type of risk event detected. The possible values are: investigationsThreatIntelligence, generic, adminConfirmedServicePrincipalCompromised, suspiciousSignins, leakedCredentials, anomalousServicePrincipalActivity, maliciousApplication, suspiciousApplication. -
riskLevel
@SerializedName(value="riskLevel", alternate="RiskLevel") @Expose @Nullable public RiskLevel riskLevelThe Risk Level. Level of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: low, medium, high, hidden, none. -
riskState
@SerializedName(value="riskState", alternate="RiskState") @Expose @Nullable public RiskState riskStateThe Risk State. The state of a detected risky service principal or sign-in activity. The possible values are: none, dismissed, atRisk, confirmedCompromised. -
servicePrincipalDisplayName
@SerializedName(value="servicePrincipalDisplayName", alternate="ServicePrincipalDisplayName") @Expose @Nullable public String servicePrincipalDisplayNameThe Service Principal Display Name. The display name for the service principal. -
servicePrincipalId
@SerializedName(value="servicePrincipalId", alternate="ServicePrincipalId") @Expose @Nullable public String servicePrincipalIdThe Service Principal Id. The unique identifier for the service principal. Supports $filter (eq). -
source
The Source. Source of the risk detection. For example, identityProtection. -
tokenIssuerType
@SerializedName(value="tokenIssuerType", alternate="TokenIssuerType") @Expose @Nullable public TokenIssuerType tokenIssuerTypeThe Token Issuer Type. Indicates the type of token issuer for the detected sign-in risk. The possible values are: AzureAD.
-
-
Constructor Details
-
ServicePrincipalRiskDetection
public ServicePrincipalRiskDetection()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-