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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
|
// Code generated by msgraph.go/gen DO NOT EDIT.
package msgraph
import "time"
// Security undocumented
type Security struct {
// Entity is the base model of Security
Entity
// ProviderStatus undocumented
ProviderStatus []SecurityProviderStatus `json:"providerStatus,omitempty"`
// Alerts undocumented
Alerts []Alert `json:"alerts,omitempty"`
// CloudAppSecurityProfiles undocumented
CloudAppSecurityProfiles []CloudAppSecurityProfile `json:"cloudAppSecurityProfiles,omitempty"`
// DomainSecurityProfiles undocumented
DomainSecurityProfiles []DomainSecurityProfile `json:"domainSecurityProfiles,omitempty"`
// FileSecurityProfiles undocumented
FileSecurityProfiles []FileSecurityProfile `json:"fileSecurityProfiles,omitempty"`
// HostSecurityProfiles undocumented
HostSecurityProfiles []HostSecurityProfile `json:"hostSecurityProfiles,omitempty"`
// IPSecurityProfiles undocumented
IPSecurityProfiles []IPSecurityProfile `json:"ipSecurityProfiles,omitempty"`
// ProviderTenantSettings undocumented
ProviderTenantSettings []ProviderTenantSetting `json:"providerTenantSettings,omitempty"`
// SecureScoreControlProfiles undocumented
SecureScoreControlProfiles []SecureScoreControlProfile `json:"secureScoreControlProfiles,omitempty"`
// SecureScores undocumented
SecureScores []SecureScore `json:"secureScores,omitempty"`
// TiIndicators undocumented
TiIndicators []TiIndicator `json:"tiIndicators,omitempty"`
// UserSecurityProfiles undocumented
UserSecurityProfiles []UserSecurityProfile `json:"userSecurityProfiles,omitempty"`
// SecurityActions undocumented
SecurityActions []SecurityAction `json:"securityActions,omitempty"`
}
// SecurityAction undocumented
type SecurityAction struct {
// Entity is the base model of SecurityAction
Entity
// ActionReason undocumented
ActionReason *string `json:"actionReason,omitempty"`
// AppID undocumented
AppID *string `json:"appId,omitempty"`
// AzureTenantID undocumented
AzureTenantID *string `json:"azureTenantId,omitempty"`
// ClientContext undocumented
ClientContext *string `json:"clientContext,omitempty"`
// CompletedDateTime undocumented
CompletedDateTime *time.Time `json:"completedDateTime,omitempty"`
// CreatedDateTime undocumented
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// ErrorInfo undocumented
ErrorInfo *ResultInfo `json:"errorInfo,omitempty"`
// LastActionDateTime undocumented
LastActionDateTime *time.Time `json:"lastActionDateTime,omitempty"`
// Name undocumented
Name *string `json:"name,omitempty"`
// Parameters undocumented
Parameters []KeyValuePair `json:"parameters,omitempty"`
// States undocumented
States []SecurityActionState `json:"states,omitempty"`
// Status undocumented
Status *OperationStatus `json:"status,omitempty"`
// User undocumented
User *string `json:"user,omitempty"`
// VendorInformation undocumented
VendorInformation *SecurityVendorInformation `json:"vendorInformation,omitempty"`
}
// SecurityActionState undocumented
type SecurityActionState struct {
// Object is the base model of SecurityActionState
Object
// AppID undocumented
AppID *string `json:"appId,omitempty"`
// Status undocumented
Status *OperationStatus `json:"status,omitempty"`
// UpdatedDateTime undocumented
UpdatedDateTime *time.Time `json:"updatedDateTime,omitempty"`
// User undocumented
User *string `json:"user,omitempty"`
}
// SecurityBaselineCategoryStateSummary The security baseline per category compliance state summary for the security baseline of the account.
type SecurityBaselineCategoryStateSummary struct {
// SecurityBaselineStateSummary is the base model of SecurityBaselineCategoryStateSummary
SecurityBaselineStateSummary
// DisplayName The category name
DisplayName *string `json:"displayName,omitempty"`
}
// SecurityBaselineDeviceState The security baseline compliance state summary of the security baseline for a device.
type SecurityBaselineDeviceState struct {
// Entity is the base model of SecurityBaselineDeviceState
Entity
// ManagedDeviceID Intune device id
ManagedDeviceID *string `json:"managedDeviceId,omitempty"`
// DeviceDisplayName Display name of the device
DeviceDisplayName *string `json:"deviceDisplayName,omitempty"`
// UserPrincipalName User Principal Name
UserPrincipalName *string `json:"userPrincipalName,omitempty"`
// State Security baseline compliance state
State *SecurityBaselineComplianceState `json:"state,omitempty"`
// LastReportedDateTime Last modified date time of the policy report
LastReportedDateTime *time.Time `json:"lastReportedDateTime,omitempty"`
}
// SecurityBaselineSettingState The security baseline compliance state of a setting for a device
type SecurityBaselineSettingState struct {
// Entity is the base model of SecurityBaselineSettingState
Entity
// SettingName The setting name that is being reported
SettingName *string `json:"settingName,omitempty"`
// State The compliance state of the security baseline setting
State *SecurityBaselineComplianceState `json:"state,omitempty"`
// SettingCategoryID The setting category id which this setting belongs to
SettingCategoryID *string `json:"settingCategoryId,omitempty"`
}
// SecurityBaselineState Security baseline state for a device.
type SecurityBaselineState struct {
// Entity is the base model of SecurityBaselineState
Entity
// SecurityBaselineTemplateID The security baseline template id
SecurityBaselineTemplateID *string `json:"securityBaselineTemplateId,omitempty"`
// DisplayName The display name of the security baseline
DisplayName *string `json:"displayName,omitempty"`
// SettingStates undocumented
SettingStates []SecurityBaselineSettingState `json:"settingStates,omitempty"`
}
// SecurityBaselineStateSummary The security baseline compliance state summary for the security baseline of the account.
type SecurityBaselineStateSummary struct {
// Entity is the base model of SecurityBaselineStateSummary
Entity
// SecureCount Number of secure devices
SecureCount *int `json:"secureCount,omitempty"`
// NotSecureCount Number of not secure devices
NotSecureCount *int `json:"notSecureCount,omitempty"`
// UnknownCount Number of unknown devices
UnknownCount *int `json:"unknownCount,omitempty"`
// ErrorCount Number of error devices
ErrorCount *int `json:"errorCount,omitempty"`
// ConflictCount Number of conflict devices
ConflictCount *int `json:"conflictCount,omitempty"`
// NotApplicableCount Number of not applicable devices
NotApplicableCount *int `json:"notApplicableCount,omitempty"`
}
// SecurityBaselineTemplate The security baseline template of the account
type SecurityBaselineTemplate struct {
// DeviceManagementTemplate is the base model of SecurityBaselineTemplate
DeviceManagementTemplate
// DeviceStateSummary undocumented
DeviceStateSummary *SecurityBaselineStateSummary `json:"deviceStateSummary,omitempty"`
// DeviceStates undocumented
DeviceStates []SecurityBaselineDeviceState `json:"deviceStates,omitempty"`
// CategoryDeviceStateSummaries undocumented
CategoryDeviceStateSummaries []SecurityBaselineCategoryStateSummary `json:"categoryDeviceStateSummaries,omitempty"`
}
// SecurityProviderStatus undocumented
type SecurityProviderStatus struct {
// Object is the base model of SecurityProviderStatus
Object
// Enabled undocumented
Enabled *bool `json:"enabled,omitempty"`
// Endpoint undocumented
Endpoint *string `json:"endpoint,omitempty"`
// Provider undocumented
Provider *string `json:"provider,omitempty"`
// Region undocumented
Region *string `json:"region,omitempty"`
// Vendor undocumented
Vendor *string `json:"vendor,omitempty"`
}
// SecurityVendorInformation undocumented
type SecurityVendorInformation struct {
// Object is the base model of SecurityVendorInformation
Object
// Provider undocumented
Provider *string `json:"provider,omitempty"`
// ProviderVersion undocumented
ProviderVersion *string `json:"providerVersion,omitempty"`
// SubProvider undocumented
SubProvider *string `json:"subProvider,omitempty"`
// Vendor undocumented
Vendor *string `json:"vendor,omitempty"`
}
|