Skip to content

Commit 3d7e73c

Browse files
Merge pull request #2714 from Ren-Roros-Digital/riskquickfix
Risk report quickfix
2 parents 97ad63a + 68c6af9 commit 3d7e73c

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

src/views/identity/administration/RiskyUsers.jsx

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,6 @@ const RiskyUsers = () => {
7777
modalMessage: 'Are you sure you want to dismiss this users risk?',
7878
icon: <FontAwesomeIcon icon={faPaperPlane} className="me-2" />,
7979
},
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-
},*/
8980
]}
9081
placement="end"
9182
visible={ocVisible}
@@ -186,10 +177,12 @@ const RiskyUsers = () => {
186177
path: `api/ListGraphRequest`,
187178
reportName: `${tenant?.defaultDomainName}-ListRiskyUsers`,
188179
params: {
189-
TenantFilter: tenant?.defaultDomainName,
180+
TenantFilter: tenant.defaultDomainName,
190181
Endpoint: `identityProtection/riskyUsers`,
191182
$count: true,
192183
$orderby: 'riskLastUpdatedDateTime desc',
184+
NoPagination: true,
185+
$top: 500,
193186
},
194187
tableProps: {
195188
selectableRows: true,
@@ -200,13 +193,6 @@ const RiskyUsers = () => {
200193
model: true,
201194
modalUrl: `/api/ExecDismissRiskyUser?TenantFilter=${tenant.defaultDomainName}&userid=!id&userDisplayName=!userDisplayName`,
202195
},
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-
},*/
210196
],
211197
},
212198
}}

src/views/identity/reports/RiskDetections.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,12 @@ const RiskDetections = () => {
214214
path: `api/ListGraphRequest`,
215215
reportName: `${tenant?.defaultDomainName}-RiskDetections-Report`,
216216
params: {
217-
TenantFilter: tenant?.defaultDomainName,
217+
TenantFilter: tenant.defaultDomainName,
218218
Endpoint: `identityProtection/riskDetections`,
219219
$count: true,
220220
$orderby: 'detectedDateTime desc',
221+
NoPagination: true,
222+
$top: 500,
221223
},
222224
}}
223225
/>

0 commit comments

Comments
 (0)