1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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"`
}
|