@@ -283,6 +283,44 @@ const DevicesList = () => {
283
283
path : '/api/ListDevices' ,
284
284
reportName : `${ tenant ?. defaultDomainName } -Device-List` ,
285
285
params : { TenantFilter : tenant ?. defaultDomainName } ,
286
+ tableProps : {
287
+ keyField : 'id' ,
288
+ selectableRows : true ,
289
+ actionsList : [
290
+ {
291
+ label : 'Sync Device' ,
292
+ modal : true ,
293
+ modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=!id&Action=syncDevice` ,
294
+ modalMessage : 'Are you sure you want to Sync these device(s)?' ,
295
+ } ,
296
+ {
297
+ label : 'Reboot Device(s)' ,
298
+ modal : true ,
299
+ modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=!id&Action=rebootNow` ,
300
+ modalMessage : 'Are you sure you want to reboot these device(s)?' ,
301
+ } ,
302
+ {
303
+ label : 'Update Windows Defender' ,
304
+ modal : true ,
305
+ modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=!id&Action=windowsDefenderUpdateSignatures` ,
306
+ modalMessage :
307
+ 'Are you sure you want to update the Windows Defender signatures for these device(s)?' ,
308
+ } ,
309
+ {
310
+ label : 'Rotate Local Admin Password' ,
311
+ modal : true ,
312
+ modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=!id&Action=RotateLocalAdminPassword` ,
313
+ modalMessage : 'Are you sure you want to rotate the password for these devices(s)?' ,
314
+ } ,
315
+ {
316
+ label : 'Rotate Bitlocker Keys' ,
317
+ modal : true ,
318
+ modalUrl : `/api/ExecDeviceAction?TenantFilter=${ tenant . defaultDomainName } &GUID=!id&Action=rotateBitLockerKeys` ,
319
+ modalMessage :
320
+ 'Are you sure you want to rotate the Bitlocker Keys for these device(s)?' ,
321
+ } ,
322
+ ] ,
323
+ } ,
286
324
} }
287
325
/>
288
326
)
0 commit comments