Skip to content

Commit 4269a2c

Browse files
Merge pull request #2557 from KelvinTegelaar/dev
Dev to Special Release
2 parents 608f3c2 + c04901b commit 4269a2c

File tree

12 files changed

+98
-14
lines changed

12 files changed

+98
-14
lines changed

.vscode/launch.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
"request": "launch",
2828
"name": "Launch Chrome Debugger",
2929
"url": "http://localhost:4280"
30+
},
31+
{
32+
"type": "PowerShell",
33+
"name": "Launch in Windows Terminal",
34+
"request": "launch",
35+
"cwd": "${cwd}",
36+
"script": ". '${cwd}\\Tools\\Start-CippDevEmulators.ps1'"
3037
}
3138
],
3239
"compounds": [

Tools/Start-CippDevEmulators.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Write-Host "Starting CIPP Dev Emulators"
2+
$Path = (Get-Item $PSScriptRoot).Parent.Parent.FullName
3+
wt --title CIPP`; new-tab --title 'Azurite' -d $Path pwsh -c azurite`; new-tab --title 'FunctionApp' -d $Path\CIPP-API pwsh -c func start`; new-tab --title 'CIPP Frontend' -d $Path\CIPP pwsh -c npm run start`; new-tab --title 'SWA' -d $Path\CIPP pwsh -c npm run start-swa
4+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cipp",
3-
"version": "5.8.0",
3+
"version": "5.8.5",
44
"description": "The CyberDrain Improved Partner Portal is a portal to help manage administration for Microsoft Partners.",
55
"homepage": "https://cipp.app/",
66
"bugs": {

public/MFAStates.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"value": "disabled",
4+
"label": "Disabled"
5+
},
6+
{
7+
"value": "enabled",
8+
"label": "Enabled"
9+
},
10+
{
11+
"value": "enforced",
12+
"label": "Enforced"
13+
}
14+
]

public/version_latest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.8.0
1+
5.8.5

src/components/buttons/TableModalButton.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,5 @@ TableModalButton.propTypes = {
5050
title: PropTypes.string,
5151
className: PropTypes.string,
5252
countOnly: PropTypes.bool,
53+
icon: PropTypes.string,
5354
}

src/components/tables/CellBoolean.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export default function CellBoolean({
4747
if (
4848
cell.toLowerCase() === 'success' ||
4949
cell.toLowerCase() === 'enabled' ||
50+
cell.toLowerCase() === 'enforced' ||
5051
cell.toLowerCase() === 'pass' ||
5152
cell.toLowerCase() === 'true' ||
5253
cell.toLowerCase() === 'compliant'

src/data/standards.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,16 @@
550550
"impact": "High Impact",
551551
"impactColour": "danger"
552552
},
553+
{
554+
"name": "standards.PerUserMFA",
555+
"cat": "Entra (AAD) Standards",
556+
"tag": ["highimpact"],
557+
"helpText": "Enables per user MFA for all users.",
558+
"addedComponent": [],
559+
"label": "Enables per user MFA for all users.",
560+
"impact": "High Impact",
561+
"impactColour": "danger"
562+
},
553563
{
554564
"name": "standards.OutBoundSpamAlert",
555565
"cat": "Exchange Standards",
@@ -1327,7 +1337,7 @@
13271337
},
13281338
{
13291339
"type": "boolean",
1330-
"label": "Enable Internal Sender Admin Notifications",
1340+
"label": "Enable External Sender Admin Notifications",
13311341
"name": "standards.MalwareFilterPolicy.EnableExternalSenderAdminNotifications"
13321342
},
13331343
{

src/views/endpoint/intune/MEMListCompliance.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const ComplianceList = () => {
151151
label: 'Delete Policy',
152152
modal: true,
153153
modalUrl: `api/RemovePolicy?TenantFilter=${tenant?.defaultDomainName}&ID=!id&URLName=deviceCompliancePolicies`,
154-
modalMessage: 'Are you sure you want to convert these users to a shared mailbox?',
154+
modalMessage: 'Are you sure you want to delete these policies?',
155155
},
156156
],
157157
},

src/views/identity/administration/Users.jsx

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,26 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
111111
modalUrl: `/api/ExecSendPush?TenantFilter=${tenant.defaultDomainName}&UserEmail=${row.userPrincipalName}`,
112112
modalMessage: 'Are you sure you want to send a MFA request?',
113113
},
114+
{
115+
label: 'Set Per-User MFA',
116+
color: 'info',
117+
modal: true,
118+
modalUrl: `/api/ExecPerUserMFA`,
119+
modalType: 'POST',
120+
modalBody: {
121+
TenantFilter: tenant.defaultDomainName,
122+
userId: `${row.userPrincipalName}`,
123+
},
124+
modalMessage: 'Are you sure you want to set per-user MFA for these users?',
125+
modalDropdown: {
126+
url: '/MFAStates.json',
127+
labelField: 'label',
128+
valueField: 'value',
129+
addedField: {
130+
State: 'value',
131+
},
132+
},
133+
},
114134
{
115135
label: 'Convert to Shared Mailbox',
116136
color: 'info',
@@ -500,6 +520,26 @@ const Users = (row) => {
500520
modalUrl: `/api/ExecResetMFA?TenantFilter=!Tenant&ID=!id`,
501521
modalMessage: 'Are you sure you want to enable MFA for these users?',
502522
},
523+
{
524+
label: 'Set Per-User MFA',
525+
color: 'info',
526+
modal: true,
527+
modalUrl: `/api/ExecPerUserMFA`,
528+
modalType: 'POST',
529+
modalBody: {
530+
TenantFilter: tenant.defaultDomainName,
531+
userId: '!userPrincipalName',
532+
},
533+
modalMessage: 'Are you sure you want to set per-user MFA for these users?',
534+
modalDropdown: {
535+
url: '/MFAStates.json',
536+
labelField: 'label',
537+
valueField: 'value',
538+
addedField: {
539+
State: 'value',
540+
},
541+
},
542+
},
503543
{
504544
label: 'Enable Online Archive',
505545
color: 'info',

0 commit comments

Comments
 (0)