@@ -77,15 +77,6 @@ const RiskyUsers = () => {
77
77
modalMessage : 'Are you sure you want to dismiss this users risk?' ,
78
78
icon : < FontAwesomeIcon icon = { faPaperPlane } className = "me-2" /> ,
79
79
} ,
80
- /* TODO Add action for Compromised
81
- {
82
- label: 'Confirm Compromised',
83
- color: 'info',
84
- modal: true,
85
- modalUrl: `/api/ExecBECRemediate?TenantFilter=${tenant.defaultDomainName}&userid=${row.id}`,
86
- modalMessage: 'Are you sure you want to confirm this user as compromised?',
87
- icon: <FontAwesomeIcon icon={faMinusCircle} className="me-2" />,
88
- },*/
89
80
] }
90
81
placement = "end"
91
82
visible = { ocVisible }
@@ -186,10 +177,12 @@ const RiskyUsers = () => {
186
177
path : `api/ListGraphRequest` ,
187
178
reportName : `${ tenant ?. defaultDomainName } -ListRiskyUsers` ,
188
179
params : {
189
- TenantFilter : tenant ? .defaultDomainName ,
180
+ TenantFilter : tenant . defaultDomainName ,
190
181
Endpoint : `identityProtection/riskyUsers` ,
191
182
$count : true ,
192
183
$orderby : 'riskLastUpdatedDateTime desc' ,
184
+ NoPagination : true ,
185
+ $top : 500 ,
193
186
} ,
194
187
tableProps : {
195
188
selectableRows : true ,
@@ -200,13 +193,6 @@ const RiskyUsers = () => {
200
193
model : true ,
201
194
modalUrl : `/api/ExecDismissRiskyUser?TenantFilter=${ tenant . defaultDomainName } &userid=!id&userDisplayName=!userDisplayName` ,
202
195
} ,
203
- /* TODO Add action for Compromised
204
- {
205
- label: 'Confirm Compromised',
206
- color: 'danger',
207
- model: true,
208
- modalUrl: `/api/ExecBECRemediate?TenantFilter=${tenant.defaultDomainName}&userid=!id`,
209
- },*/
210
196
] ,
211
197
} ,
212
198
} }
0 commit comments