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 Details

    • appId

      @SerializedName(value="appId", alternate="AppId") @Expose @Nullable public String 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 displayName
      The Display Name. The display name for the service principal.
    • isEnabled

      @SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabled
      The Is Enabled. true if the service principal account is enabled; otherwise, false.
    • isProcessing

      @SerializedName(value="isProcessing", alternate="IsProcessing") @Expose @Nullable public Boolean isProcessing
      The 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 riskDetail
      The 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 riskLastUpdatedDateTime
      The 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 riskLevel
      The 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 riskState
      The 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 servicePrincipalType
      The 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 history
      The 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to