diff options
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/ModelAudit.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/ModelAudit.go | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/ModelAudit.go b/vendor/github.com/yaegashi/msgraph.go/beta/ModelAudit.go new file mode 100644 index 00000000..e65ab1d6 --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/ModelAudit.go @@ -0,0 +1,109 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "time" + +// AuditActivityInitiator undocumented +type AuditActivityInitiator struct { + // Object is the base model of AuditActivityInitiator + Object + // User undocumented + User *UserIdentity `json:"user,omitempty"` + // App undocumented + App *AppIdentity `json:"app,omitempty"` +} + +// AuditActor undocumented +type AuditActor struct { + // Object is the base model of AuditActor + Object + // Type Actor Type. + Type *string `json:"type,omitempty"` + // UserPermissions List of user permissions when the audit was performed. + UserPermissions []string `json:"userPermissions,omitempty"` + // ApplicationID AAD Application Id. + ApplicationID *string `json:"applicationId,omitempty"` + // ApplicationDisplayName Name of the Application. + ApplicationDisplayName *string `json:"applicationDisplayName,omitempty"` + // UserPrincipalName User Principal Name (UPN). + UserPrincipalName *string `json:"userPrincipalName,omitempty"` + // ServicePrincipalName Service Principal Name (SPN). + ServicePrincipalName *string `json:"servicePrincipalName,omitempty"` + // IPAddress IPAddress. + IPAddress *string `json:"ipAddress,omitempty"` + // UserID User Id. + UserID *string `json:"userId,omitempty"` + // UserRoleScopeTags List of user scope tags when the audit was performed. + UserRoleScopeTags []RoleScopeTagInfo `json:"userRoleScopeTags,omitempty"` +} + +// AuditEvent A class containing the properties for Audit Event. +type AuditEvent struct { + // Entity is the base model of AuditEvent + Entity + // DisplayName Event display name. + DisplayName *string `json:"displayName,omitempty"` + // ComponentName Component name. + ComponentName *string `json:"componentName,omitempty"` + // Actor AAD user and application that are associated with the audit event. + Actor *AuditActor `json:"actor,omitempty"` + // Activity Friendly name of the activity. + Activity *string `json:"activity,omitempty"` + // ActivityDateTime The date time in UTC when the activity was performed. + ActivityDateTime *time.Time `json:"activityDateTime,omitempty"` + // ActivityType The type of activity that was being performed. + ActivityType *string `json:"activityType,omitempty"` + // ActivityOperationType The HTTP operation type of the activity. + ActivityOperationType *string `json:"activityOperationType,omitempty"` + // ActivityResult The result of the activity. + ActivityResult *string `json:"activityResult,omitempty"` + // CorrelationID The client request Id that is used to correlate activity within the system. + CorrelationID *UUID `json:"correlationId,omitempty"` + // Resources Resources being modified. + Resources []AuditResource `json:"resources,omitempty"` + // Category Audit category. + Category *string `json:"category,omitempty"` +} + +// AuditLogRoot undocumented +type AuditLogRoot struct { + // Entity is the base model of AuditLogRoot + Entity + // SignIns undocumented + SignIns []SignIn `json:"signIns,omitempty"` + // DirectoryAudits undocumented + DirectoryAudits []DirectoryAudit `json:"directoryAudits,omitempty"` + // RestrictedSignIns undocumented + RestrictedSignIns []RestrictedSignIn `json:"restrictedSignIns,omitempty"` + // DirectoryProvisioning undocumented + DirectoryProvisioning []ProvisioningObjectSummary `json:"directoryProvisioning,omitempty"` + // Provisioning undocumented + Provisioning []ProvisioningObjectSummary `json:"provisioning,omitempty"` +} + +// AuditProperty undocumented +type AuditProperty struct { + // Object is the base model of AuditProperty + Object + // DisplayName Display name. + DisplayName *string `json:"displayName,omitempty"` + // OldValue Old value. + OldValue *string `json:"oldValue,omitempty"` + // NewValue New value. + NewValue *string `json:"newValue,omitempty"` +} + +// AuditResource undocumented +type AuditResource struct { + // Object is the base model of AuditResource + Object + // DisplayName Display name. + DisplayName *string `json:"displayName,omitempty"` + // ModifiedProperties List of modified properties. + ModifiedProperties []AuditProperty `json:"modifiedProperties,omitempty"` + // Type Audit resource's type. + Type *string `json:"type,omitempty"` + // ResourceID Audit resource's Id. + ResourceID *string `json:"resourceId,omitempty"` +} |