Class DirectoryAudit

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryAudit
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class DirectoryAudit extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Directory Audit.
  • Field Details

    • activityDateTime

      @SerializedName(value="activityDateTime", alternate="ActivityDateTime") @Expose @Nullable public OffsetDateTime activityDateTime
      The Activity Date Time. Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
    • activityDisplayName

      @SerializedName(value="activityDisplayName", alternate="ActivityDisplayName") @Expose @Nullable public String activityDisplayName
      The Activity Display Name. Indicates the activity name or the operation name (examples: 'Create User' and 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities.
    • additionalDetails

      @SerializedName(value="additionalDetails", alternate="AdditionalDetails") @Expose @Nullable public List<KeyValue> additionalDetails
      The Additional Details. Indicates additional details on the activity.
    • category

      @SerializedName(value="category", alternate="Category") @Expose @Nullable public String category
      The Category. Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement. For a list of categories for activities logged, refer to Azure AD audit log categories and activities.
    • correlationId

      @SerializedName(value="correlationId", alternate="CorrelationId") @Expose @Nullable public String correlationId
      The Correlation Id. Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services.
    • initiatedBy

      @SerializedName(value="initiatedBy", alternate="InitiatedBy") @Expose @Nullable public AuditActivityInitiator initiatedBy
      The Initiated By. Indicates information about the user or app initiated the activity.
    • loggedByService

      @SerializedName(value="loggedByService", alternate="LoggedByService") @Expose @Nullable public String loggedByService
      The Logged By Service. Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management.
    • operationType

      @SerializedName(value="operationType", alternate="OperationType") @Expose @Nullable public String operationType
      The Operation Type. Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete.
    • result

      @SerializedName(value="result", alternate="Result") @Expose @Nullable public OperationResult result
      The Result. Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue.
    • resultReason

      @SerializedName(value="resultReason", alternate="ResultReason") @Expose @Nullable public String resultReason
      The Result Reason. Indicates the reason for failure if the result is failure or timeout.
    • targetResources

      @SerializedName(value="targetResources", alternate="TargetResources") @Expose @Nullable public List<TargetResource> targetResources
      The Target Resources. Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other.
  • Constructor Details

    • DirectoryAudit

      public DirectoryAudit()
  • 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