Package com.microsoft.graph.models
Class RiskyServicePrincipal
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.RiskyServicePrincipal
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
- Direct Known Subclasses:
RiskyServicePrincipalHistoryItem
public class RiskyServicePrincipal
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Risky Service Principal.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe App Id.The Display Name.The History.The Is Enabled.The Is Processing.The Risk Detail.The Risk Last Updated Date Time.The Risk Level.The Risk State.The Service Principal 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
-
appId
The App Id. The globally unique identifier for the associated application (its appId property), if any. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. The display name for the service principal. -
isEnabled
@SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabledThe Is Enabled. true if the service principal account is enabled; otherwise, false. -
isProcessing
@SerializedName(value="isProcessing", alternate="IsProcessing") @Expose @Nullable public Boolean isProcessingThe Is Processing. Indicates whether Azure AD is currently processing the service principal's risky state. -
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, unknownFutureValue, 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. -
riskLastUpdatedDateTime
@SerializedName(value="riskLastUpdatedDateTime", alternate="RiskLastUpdatedDateTime") @Expose @Nullable public OffsetDateTime riskLastUpdatedDateTimeThe Risk Last Updated Date Time. The date and time that the risk state was last updated. 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, 2021 is 2021-01-01T00:00:00Z. Supports $filter (eq). -
riskLevel
@SerializedName(value="riskLevel", alternate="RiskLevel") @Expose @Nullable public RiskLevel riskLevelThe Risk Level. Level of the detected risky workload identity. The possible values are: low, medium, high, hidden, none, unknownFutureValue. Supports $filter (eq). -
riskState
@SerializedName(value="riskState", alternate="RiskState") @Expose @Nullable public RiskState riskStateThe Risk State. State of the service principal's risk. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue. -
servicePrincipalType
@SerializedName(value="servicePrincipalType", alternate="ServicePrincipalType") @Expose @Nullable public String servicePrincipalTypeThe Service Principal Type. Identifies whether the service principal represents an Application, a ManagedIdentity, or a legacy application (socialIdp). This is set by Azure AD internally and is inherited from servicePrincipal. -
history
@SerializedName(value="history", alternate="History") @Expose @Nullable public RiskyServicePrincipalHistoryItemCollectionPage historyThe History. Represents the risk history of Azure AD service principals.
-
-
Constructor Details
-
RiskyServicePrincipal
public RiskyServicePrincipal()
-
-
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
-