Skip to content

Commit

Permalink
Merge pull request #2714 from Ren-Roros-Digital/riskquickfix
Browse files Browse the repository at this point in the history
Risk report quickfix
  • Loading branch information
KelvinTegelaar authored Jul 24, 2024
2 parents 97ad63a + 68c6af9 commit 3d7e73c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
20 changes: 3 additions & 17 deletions src/views/identity/administration/RiskyUsers.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,6 @@ const RiskyUsers = () => {
modalMessage: 'Are you sure you want to dismiss this users risk?',
icon: <FontAwesomeIcon icon={faPaperPlane} className="me-2" />,
},
/* TODO Add action for Compromised
{
label: 'Confirm Compromised',
color: 'info',
modal: true,
modalUrl: `/api/ExecBECRemediate?TenantFilter=${tenant.defaultDomainName}&userid=${row.id}`,
modalMessage: 'Are you sure you want to confirm this user as compromised?',
icon: <FontAwesomeIcon icon={faMinusCircle} className="me-2" />,
},*/
]}
placement="end"
visible={ocVisible}
Expand Down Expand Up @@ -186,10 +177,12 @@ const RiskyUsers = () => {
path: `api/ListGraphRequest`,
reportName: `${tenant?.defaultDomainName}-ListRiskyUsers`,
params: {
TenantFilter: tenant?.defaultDomainName,
TenantFilter: tenant.defaultDomainName,
Endpoint: `identityProtection/riskyUsers`,
$count: true,
$orderby: 'riskLastUpdatedDateTime desc',
NoPagination: true,
$top: 500,
},
tableProps: {
selectableRows: true,
Expand All @@ -200,13 +193,6 @@ const RiskyUsers = () => {
model: true,
modalUrl: `/api/ExecDismissRiskyUser?TenantFilter=${tenant.defaultDomainName}&userid=!id&userDisplayName=!userDisplayName`,
},
/* TODO Add action for Compromised
{
label: 'Confirm Compromised',
color: 'danger',
model: true,
modalUrl: `/api/ExecBECRemediate?TenantFilter=${tenant.defaultDomainName}&userid=!id`,
},*/
],
},
}}
Expand Down
4 changes: 3 additions & 1 deletion src/views/identity/reports/RiskDetections.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,12 @@ const RiskDetections = () => {
path: `api/ListGraphRequest`,
reportName: `${tenant?.defaultDomainName}-RiskDetections-Report`,
params: {
TenantFilter: tenant?.defaultDomainName,
TenantFilter: tenant.defaultDomainName,
Endpoint: `identityProtection/riskDetections`,
$count: true,
$orderby: 'detectedDateTime desc',
NoPagination: true,
$top: 500,
},
}}
/>
Expand Down

0 comments on commit 3d7e73c

Please sign in to comment.