Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
7dffc4c
feat: add fuzzy match distance setting to Intune template based on Le…
kris6673 Mar 20, 2026
4fc1b57
feat: add warningMessage support standards
kris6673 Mar 20, 2026
88bc10a
Added UI Elements for adding conditional access policies to package tags
TecharyJames Apr 2, 2026
5ffd20e
Merge remote-tracking branch 'upstream/dev' into Feat-Conditional-acc…
TecharyJames Apr 3, 2026
db57e52
Mark TemplateList as optional and non-creatable
TecharyJames Apr 3, 2026
83d657b
Lookup CA template names via API
TecharyJames Apr 3, 2026
b6438ee
Merge branch 'dev' into Feat-Conditional-accesss-policy-package-tags
KelvinTegelaar Apr 4, 2026
05b9326
chore(deps): bump actions/setup-node from 6.3.0 to 6.4.0
dependabot[bot] Apr 22, 2026
9ae908d
chore(deps): bump recharts from 3.8.0 to 3.8.1
dependabot[bot] Apr 22, 2026
93cfed2
chore(deps): bump @tanstack/react-query-devtools from 5.91.3 to 5.96.2
dependabot[bot] Apr 22, 2026
c22177f
chore(deps): bump mui-tiptap from 1.29.1 to 1.30.0
dependabot[bot] Apr 22, 2026
c3c90af
chore(deps): bump @uiw/react-json-view
dependabot[bot] Apr 22, 2026
9f1cc80
Merge pull request #5914 from KelvinTegelaar/dev
KelvinTegelaar Apr 24, 2026
e4f978a
Merge pull request #5916 from KelvinTegelaar/dev
JohnDuprey Apr 24, 2026
a5f2b74
feat: add allTenants support for multiple intune pages
kris6673 Apr 24, 2026
f86925d
Merge branch 'dev' of https://github.com/kris6673/CIPP into alltenant…
kris6673 Apr 25, 2026
1707506
feat: integrate useCippReportDB for data handling
kris6673 Apr 25, 2026
d7d36a3
feat: Add allTenants support for all the Teams SharePoint pages
kris6673 Apr 26, 2026
b44a184
Merge branch 'KelvinTegelaar:main' into feat/-Configure-Encrypted-Mes…
chris-dewey-1991 Apr 26, 2026
2ed1760
Add OME Encrypted Message Branding standard
chris-dewey-1991 Apr 26, 2026
9154580
feat: enhance ISO 8601 duration formatting logic
kris6673 Apr 26, 2026
fbd50ab
Use 'at Risk' for riskState filters
TecharyJames Apr 27, 2026
3e88968
Fix: Update notification message to include instruction for reviewing…
bmsimp Apr 27, 2026
dd06564
feat(mde-onboarding): show full connector details on single tenant view
kris6673 Apr 27, 2026
e48cbe6
feat: update intuneCollection with new properties
kris6673 Apr 28, 2026
d39ca33
feat: show Intune policy setting descriptions
kris6673 Apr 28, 2026
8b0cd1a
Merge pull request #5937 from KelvinTegelaar/dev
JohnDuprey Apr 28, 2026
c2a2e6c
Merge pull request #5927 from TecharyJames/Fix-Default-risky-users-fi…
KelvinTegelaar Apr 29, 2026
1d07002
Merge pull request #5923 from kris6673/iso8601Duration
KelvinTegelaar Apr 29, 2026
e2344de
Merge pull request #5928 from bmsimp/fix/permission-notification-message
KelvinTegelaar Apr 29, 2026
531d6f3
Merge pull request #5929 from kris6673/feat/mde-onboarding-full-prope…
KelvinTegelaar Apr 29, 2026
92f5095
Merge pull request #5936 from kris6673/settings-tooltips
KelvinTegelaar Apr 29, 2026
9dfb743
Update standards.json to remove Conflict
chris-dewey-1991 Apr 29, 2026
6221563
Merge branch 'dev' into feat/-Configure-Encrypted-Message-Branding_OME
chris-dewey-1991 Apr 29, 2026
7500ef1
fix: remove groups type
JohnDuprey Apr 29, 2026
29d4310
Merge pull request #5922 from chris-dewey-1991/feat/-Configure-Encryp…
KelvinTegelaar Apr 29, 2026
5e96361
fix: build issue
JohnDuprey Apr 29, 2026
c7c9dc0
undo change
JohnDuprey Apr 29, 2026
46cf051
fix: turbopack prod build issues, switch to webpack
JohnDuprey Apr 29, 2026
a92b206
fix: update CheckExtension recommendedRunInterval to valid interval
StoricU Apr 30, 2026
455959a
Merge pull request #5944 from StoricU/fix/check-extension-recommended…
KelvinTegelaar Apr 30, 2026
4d09517
feat(mem): use tooltip-enabled policy details in compare view
kris6673 Apr 30, 2026
17077aa
feat(compare): add null safety
kris6673 Apr 30, 2026
1bcf7bd
feat(intune): show administrative template policy details
kris6673 Apr 30, 2026
57b8f2b
Add ResultMode, GitHub import & cache explorer
Zacgoose May 1, 2026
be2a3b4
correct MD examples
Zacgoose May 1, 2026
fabce5a
Custom variable support + block explicit calls with tenantfilter
Zacgoose May 1, 2026
4dfe578
Bye Bye audit log ServiceFilter, you will not be missed
Zacgoose May 1, 2026
76ab16e
chore: bump version to 10.4.3
JohnDuprey May 2, 2026
0ba8d57
Pass tenant filter to alerts endpoint
Zacgoose May 4, 2026
7189fe6
updates CIS
KelvinTegelaar May 4, 2026
fbc092d
Allow the tenant filter to be populated with tenant id or initial domain
Zacgoose May 4, 2026
0b1ba6c
feat: add Dutch (Belgium) language
JohnDuprey May 4, 2026
9ece1d2
fix: quarantine action issues
JohnDuprey May 4, 2026
e776575
feat: add AllTenant support to groups
JohnDuprey May 4, 2026
3488384
feat: PR check on fork
JohnDuprey May 4, 2026
7140778
fix: pdf/csv export missing columns if first row does not have the de…
JohnDuprey May 4, 2026
5828c00
update standards.json for SMB1001
KelvinTegelaar May 5, 2026
8469fae
deviations count
Zacgoose May 5, 2026
35eff10
fix: Support IPv6 in GeoIP lookup
JohnDuprey May 6, 2026
8818d4b
pass utc to api for nice response message
Zacgoose May 6, 2026
efa060a
Correct support for all tenant mode in the tenant backup page
Zacgoose May 6, 2026
f0b5468
Fix removing row in bulk add user removing the wrong row
Zacgoose May 6, 2026
68331c4
Update CippWizardCSVImport.jsx
Zacgoose May 6, 2026
0ac68ab
public group standard
KelvinTegelaar May 6, 2026
1e668ec
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar May 6, 2026
27af9a2
Empty AllowList Standard for CIS
KelvinTegelaar May 6, 2026
4b2c909
add teasm ZAP standard
KelvinTegelaar May 6, 2026
cdcde9b
standards improvements
KelvinTegelaar May 6, 2026
4832593
Ensure that collaboration invitations are sent to allowed domains only
KelvinTegelaar May 6, 2026
344acd1
Enable reporting for standard AutoAddProxy
Zacgoose May 7, 2026
43bec67
tag and standard updates
KelvinTegelaar May 7, 2026
d8aa246
TAP audit log prebuilt alert
Zacgoose May 7, 2026
d3c75d8
more test suite tags
KelvinTegelaar May 7, 2026
d53745f
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar May 7, 2026
7c05747
Add Usage Location field to JIT Admin and template forms (#5910)
joaadvi May 7, 2026
b898428
Merge pull request #5951 from kris6673/admin-templates
KelvinTegelaar May 7, 2026
397d0c9
add purview section
KelvinTegelaar May 7, 2026
1b51746
feat: add AutoDiscover data retrieval to CippDomainCards
kris6673 May 7, 2026
038c9f6
Add Investigate status to custom tests
Zacgoose May 8, 2026
b0661ac
Update AuditLogTemplates.json
Zacgoose May 8, 2026
f2d78d1
Merge pull request #5974 from kris6673/issue5972
KelvinTegelaar May 8, 2026
922be32
Merge pull request #5971 from joaadvi/feat/jit-admin-usage-location
KelvinTegelaar May 8, 2026
406b2d5
Merge pull request #5950 from kris6673/feat/compare-intune-policy-too…
KelvinTegelaar May 8, 2026
182f0c8
pushing new compliance menus
KelvinTegelaar May 8, 2026
78fa718
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar May 8, 2026
2a59c79
feat: add manager and sponsor properties to user patching
kris6673 May 8, 2026
ad8ca14
Merge pull request #5976 from kris6673/5933
KelvinTegelaar May 8, 2026
d251423
fix(jit-admin): submit TAP lifetime within policy bounds
kris6673 May 8, 2026
6e1466a
Merge pull request #5977 from kris6673/5965
KelvinTegelaar May 8, 2026
ed9d0f9
Disable all tenant support for message trace
Zacgoose May 8, 2026
8e09f22
add make to portals list
rvdwegen May 8, 2026
b05e092
feat(standards): add by-standard alignment summary view
kris6673 May 8, 2026
3f7ed1f
feat: add Indirect Reseller Link component and integrate into onboard…
JohnDuprey May 8, 2026
3878e5c
fix typo
JohnDuprey May 8, 2026
f482fa8
fix: minor tweaks
JohnDuprey May 8, 2026
64a5439
chore: bump version to 10.4.4
JohnDuprey May 8, 2026
45f1d72
purview adding
KelvinTegelaar May 9, 2026
b8abed9
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar May 9, 2026
e3ed181
fix alert mode
KelvinTegelaar May 10, 2026
98d5d94
Custom Test - Alert on X statuses
Zacgoose May 11, 2026
4b9efd8
Update index.js
Zacgoose May 11, 2026
cfe8c70
adds #5939
KelvinTegelaar May 11, 2026
0d42f67
#5939
KelvinTegelaar May 11, 2026
64e4080
implemenets #5948
KelvinTegelaar May 11, 2026
445820d
Better intune policy support for alltenants list
Zacgoose May 11, 2026
8b79d99
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
Zacgoose May 11, 2026
55dd9cc
HVE user page
Zacgoose May 11, 2026
9cee69d
eclusions everywhere
KelvinTegelaar May 11, 2026
14461b4
eclusions everywhere
KelvinTegelaar May 11, 2026
1b77b78
Update manifest for PWA chrome install option
Zacgoose May 11, 2026
08c793d
Update manifest.json
Zacgoose May 11, 2026
da6dc7f
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
Zacgoose May 11, 2026
20e2f55
implements #5986
KelvinTegelaar May 11, 2026
bc41239
implements #5986
KelvinTegelaar May 11, 2026
8e99c01
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
KelvinTegelaar May 11, 2026
2e9b9fd
fixed weird button
KelvinTegelaar May 11, 2026
2a1b912
Merge pull request #5984 from kris6673/by-standards-view
KelvinTegelaar May 11, 2026
35711f8
Merge branch 'dev' of https://github.com/kris6673/CIPP into allTenant…
kris6673 May 11, 2026
5ca3e9a
Merge branch 'dev' into alltenants-intune
kris6673 May 11, 2026
be88cc9
Merge branch 'dev' into levenshtein-distance
kris6673 May 11, 2026
dd0ba6f
Merge pull request #5920 from kris6673/alltenants-intune
KelvinTegelaar May 11, 2026
2f84947
Merge branch 'dev' into levenshtein-distance
kris6673 May 11, 2026
fd23c0d
Merge branch 'dev' into allTenants-SP
kris6673 May 11, 2026
fe72217
Merge pull request #5794 from TecharyJames/Feat-Conditional-accesss-p…
KelvinTegelaar May 11, 2026
ccf4e9c
Merge pull request #5685 from kris6673/levenshtein-distance
KelvinTegelaar May 11, 2026
0fc7b3c
Merge pull request #5921 from kris6673/allTenants-SP
KelvinTegelaar May 11, 2026
4b0800b
Merge pull request #5903 from KelvinTegelaar/dependabot/github_action…
KelvinTegelaar May 11, 2026
7bcd507
Merge pull request #5906 from KelvinTegelaar/dependabot/npm_and_yarn/…
KelvinTegelaar May 11, 2026
cef8744
Merge pull request #5905 from KelvinTegelaar/dependabot/npm_and_yarn/…
KelvinTegelaar May 11, 2026
06e1645
Merge pull request #5904 from KelvinTegelaar/dependabot/npm_and_yarn/…
KelvinTegelaar May 11, 2026
7dcb867
Merge pull request #5908 from KelvinTegelaar/dependabot/npm_and_yarn/…
KelvinTegelaar May 11, 2026
a4915df
chore(deps): bump @tanstack/react-query-persist-client
dependabot[bot] May 11, 2026
fe4bd7f
fix: allow alltenants sync on onedrive/sharepoint
JohnDuprey May 11, 2026
d7e8b0b
fix: tweak toggle button size
JohnDuprey May 11, 2026
15939e2
feat: improve run standard now UX
JohnDuprey May 12, 2026
1cb6a11
fix: enhance standard name retrieval logic for better matching
JohnDuprey May 12, 2026
6cd8c63
chore: linting
JohnDuprey May 12, 2026
4f2d499
feat: enhance intune template details display
JohnDuprey May 12, 2026
0a70010
fix: update translation keys and adjust template usage references
JohnDuprey May 12, 2026
63c85df
OneDrive Sharing disable
KelvinTegelaar May 12, 2026
6c55bc4
OneDrive Sharing disable
KelvinTegelaar May 12, 2026
7054bfc
Add AlertUserReportPhising
KelvinTegelaar May 12, 2026
d00ebb7
chore: bump version to 10.4.5
JohnDuprey May 12, 2026
335e40a
Merge pull request #5907 from KelvinTegelaar/dependabot/npm_and_yarn/…
KelvinTegelaar May 12, 2026
19c48ea
auth options
Zacgoose May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/Node_Project_Check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6.3.0
uses: actions/setup-node@v6.4.0
with:
node-version: ${{ matrix.node-version }}
- name: Install and Build Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cipp_dev_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo "node_version=$node_sanitized_version" >> $GITHUB_OUTPUT

- name: Set up Node.js
uses: actions/setup-node@v6.3.0
uses: actions/setup-node@v6.4.0
with:
node-version: ${{ steps.get_node_version.outputs.node_version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cipp_frontend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
echo "node_version=$node_sanitized_version" >> $GITHUB_OUTPUT

- name: Set up Node.js
uses: actions/setup-node@v6.3.0
uses: actions/setup-node@v6.4.0
with:
node-version: ${{ steps.get_node_version.outputs.node_version }}

Expand Down
28 changes: 26 additions & 2 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# Only process fork PRs with specific branch conditions
# Must be a fork AND (source is main/master OR target is main/master)
if: |
github.event.pull_request.head.repo.fork == true &&
github.event.pull_request.head.repo.fork == true &&
((github.event.pull_request.head.ref == 'main' || github.event.pull_request.head.ref == 'master') ||
(github.event.pull_request.base.ref == 'main' || github.event.pull_request.base.ref == 'master'))
uses: actions/github-script@v9
Expand All @@ -31,7 +31,31 @@ jobs:
script: |
let message = '';

// Check if the fork has open PRs (indicates pull bot or similar is active)
const forkOwner = context.payload.pull_request.head.repo.owner.login;
const forkRepo = context.payload.pull_request.head.repo.name;
const forkPullsUrl = context.payload.pull_request.head.repo.html_url + '/pulls';

let openPRs = [];
try {
const { data: prs } = await github.rest.pulls.list({
owner: forkOwner,
repo: forkRepo,
state: 'open',
per_page: 5
});
openPRs = prs;
} catch (e) {
// Can't read fork PRs — skip
}

message += '🔄 If you are attempting to update your CIPP repo please follow the instructions at: https://docs.cipp.app/setup/self-hosting-guide/updating. Are you a sponsor? Contact the helpdesk for direct assistance with updating to the latest version.';

if (openPRs.length > 0) {
message += ` It looks like you may already have a pending update PR on your fork — check your [open pull requests](${forkPullsUrl}) to accept it.`;
} else {
message += ` You can enable [Pull Bot](https://github.com/apps/pull) or [Repo Sync](https://github.com/apps/repo-sync) to automatically keep your fork up to date.`;
}
message += '\n\n';

// Check if PR is targeting main/master
Expand All @@ -40,7 +64,7 @@ jobs:
}

// Check if PR is from a fork's main/master branch
if (context.payload.pull_request.head.repo.fork &&
if (context.payload.pull_request.head.repo.fork &&
(context.payload.pull_request.head.ref === 'main' || context.payload.pull_request.head.ref === 'master')) {
message += '⚠️ This PR cannot be merged because it originates from your fork\'s main/master branch. If you are attempting to contribute code please PR from your dev branch or another non-main/master branch.\n\n';
}
Expand Down
27 changes: 21 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
const disableOptimizePackageImports = process.env.NEXT_DISABLE_OPTIMIZE_PACKAGE_IMPORTS === '1'

/** @type {import('next').NextConfig} */
const config = {
reactStrictMode: false,
experimental: {
optimizePackageImports: disableOptimizePackageImports
? []
: [
'@mui/material',
'@mui/icons-material',
'@mui/lab',
'@mui/system',
'@mui/x-date-pickers',
'material-react-table',
'mui-tiptap',
'recharts',
'@react-pdf/renderer',
],
webpackMemoryOptimizations: true,
preloadEntriesOnStart: false,
turbopackFileSystemCacheForDev: false,
turbopackMemoryLimit: 4096,
},
images: {
unoptimized: true,
},
Expand All @@ -12,12 +33,6 @@ const config = {
},
},
},
experimental: {
webpackMemoryOptimizations: true,
preloadEntriesOnStart: false,
turbopackFileSystemCacheForDev: false,
turbopackMemoryLimit: 4096,
},
async redirects() {
return []
},
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cipp",
"version": "10.4.1",
"version": "10.4.5",
"author": "CIPP Contributors",
"homepage": "https://cipp.app/",
"bugs": {
Expand All @@ -16,7 +16,7 @@
},
"scripts": {
"dev": "next -H 127.0.0.1",
"build": "next build && rm -rf package.json yarn.lock",
"build": "next build --webpack && rm -rf package.json yarn.lock",
"start": "next start",
"export": "next export",
"lint": "npx eslint .",
Expand All @@ -43,8 +43,8 @@
"@reduxjs/toolkit": "^2.11.2",
"@tanstack/query-sync-storage-persister": "^5.90.25",
"@tanstack/react-query": "^5.96.2",
"@tanstack/react-query-devtools": "^5.51.11",
"@tanstack/react-query-persist-client": "^5.76.0",
"@tanstack/react-query-devtools": "^5.96.2",
"@tanstack/react-query-persist-client": "^5.96.2",
"@tanstack/react-table": "^8.19.2",
"@tiptap/core": "^3.4.1",
"@tiptap/extension-heading": "^3.4.1",
Expand All @@ -53,7 +53,7 @@
"@tiptap/pm": "^3.22.3",
"@tiptap/react": "^3.20.5",
"@tiptap/starter-kit": "^3.20.5",
"@uiw/react-json-view": "^2.0.0-alpha.41",
"@uiw/react-json-view": "^2.0.0-alpha.42",
"@vvo/tzdb": "^6.198.0",
"apexcharts": "5.10.4",
"axios": "1.15.0",
Expand All @@ -73,7 +73,7 @@
"lodash.isequal": "4.5.0",
"material-react-table": "^3.0.1",
"monaco-editor": "^0.55.1",
"mui-tiptap": "^1.29.1",
"mui-tiptap": "^1.30.0",
"next": "^16.2.2",
"nprogress": "0.2.0",
"numeral": "2.0.6",
Expand Down Expand Up @@ -102,7 +102,7 @@
"react-time-ago": "^7.3.3",
"react-virtuoso": "^4.18.5",
"react-window": "^2.2.7",
"recharts": "^3.7.0",
"recharts": "^3.8.1",
"redux": "5.0.1",
"redux-devtools-extension": "2.13.9",
"redux-persist": "^6.0.0",
Expand Down
7 changes: 7 additions & 0 deletions public/languageList.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@
"languageTag": "Danish (da-DK)",
"LCID": "1030"
},
{
"language": "Dutch",
"Geographic area": "Belgium",
"tag": "nl-BE",
"languageTag": "Dutch (nl-BE)",
"LCID": "2067"
},
{
"language": "Dutch",
"Geographic area": "Netherlands",
Expand Down
21 changes: 16 additions & 5 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
{
"short_name": "Carpatin",
"name": "Carpatin",
"short_name": "CIPP",
"name": "CIPP - CyberDrian Improved Partner Portal",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": ".",
"start_url": "/",
"scope": "/",
"display": "standalone",
"theme_color": "#000000",
"theme_color": "#ffffff",
"background_color": "#ffffff"
}
}
8 changes: 8 additions & 0 deletions public/sw.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Minimal service worker to satisfy Chrome's installability criteria.
// This does NOT cache anything or provide offline support — it simply
// passes all requests through to the network so Chrome treats the site
// as an installable web app.

self.addEventListener('install', () => self.skipWaiting())
self.addEventListener('activate', (event) => event.waitUntil(self.clients.claim()))
self.addEventListener('fetch', () => {})
2 changes: 1 addition & 1 deletion public/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "10.4.1"
"version": "10.4.5"
}
27 changes: 27 additions & 0 deletions src/components/CippCards/CippDomainCards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,13 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
waiting: !!domain,
});

const { data: autoDiscoverData, isFetching: autoDiscoverLoading } = ApiGetCall({
url: "/api/ListDomainHealth",
queryKey: `autodiscover-${domain}`,
data: { Domain: domain, Action: "ReadAutoDiscover" },
waiting: !!domain,
});

const { data: httpsData, isFetching: httpsLoading } = ApiGetCall({
url: "/api/ListDomainHealth",
queryKey: `https-${domain}-${subdomains}`,
Expand Down Expand Up @@ -684,6 +691,26 @@ export const CippDomainCards = ({ domain: propDomain = "", fullwidth = false })
}
/>
</Grid>
<Grid size={{ md: gridItemSize, xs: 12 }}>
<DomainResultCard
title="AutoDiscover"
data={autoDiscoverData}
isFetching={autoDiscoverLoading}
info={
<div>
<p>
AutoDiscover ({autoDiscoverData?.RecordType || "None"}):
</p>
<CippCodeBlock code={autoDiscoverData?.Record || "No record found"} />
<ResultList
passes={autoDiscoverData?.ValidationPasses}
warns={autoDiscoverData?.ValidationWarns}
fails={autoDiscoverData?.ValidationFails}
/>
</div>
}
/>
</Grid>
{enableHttps && (
<Grid size={{ md: gridItemSize, xs: 12 }}>
<DomainResultCard
Expand Down
29 changes: 15 additions & 14 deletions src/components/CippCards/CippRemediationCard.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Button, Typography, List, ListItem, SvgIcon } from "@mui/material";
import CippButtonCard from "./CippButtonCard"; // Adjust the import path as needed
import { CippApiDialog } from "../CippComponents/CippApiDialog";
import { useDialog } from "../../hooks/use-dialog";
import { Sync } from "@mui/icons-material";
import { ShieldCheckIcon } from "@heroicons/react/24/outline";
import { Button, Typography, List, ListItem, SvgIcon } from '@mui/material'
import CippButtonCard from './CippButtonCard' // Adjust the import path as needed
import { CippApiDialog } from '../CippComponents/CippApiDialog'
import { useDialog } from '../../hooks/use-dialog'
import { Sync } from '@mui/icons-material'
import { ShieldCheckIcon } from '@heroicons/react/24/outline'

export default function CippRemediationCard(props) {
const { userPrincipalName, isFetching, userId, tenantFilter, restartProcess } = props;
const createDialog = useDialog();
const { userPrincipalName, isFetching, userId, tenantFilter, restartProcess } = props
const createDialog = useDialog()
return (
<CippButtonCard
title={
Expand Down Expand Up @@ -60,20 +60,21 @@ export default function CippRemediationCard(props) {
<ListItem>Disconnect all current sessions</ListItem>
<ListItem>Remove all MFA methods for the user</ListItem>
<ListItem>Disable all inbox rules for the user</ListItem>
<ListItem>Disable OneDrive sharing</ListItem>
</List>
<CippApiDialog
title="Remediate User"
createDialog={createDialog}
api={{
url: "/api/execBecRemediate",
url: '/api/execBecRemediate',
confirmText:
"This will remediate this user, blocking their signin, resetting their password, disconnecting their sessions, and disabling all their inbox rules. Are you sure you want to continue?",
type: "POST",
data: { tenantFilter: tenantFilter, userId: "userId", username: "userPrincipalName" },
replacementBehaviour: "removeNulls",
'This will remediate this user, blocking their signin, resetting their password, disconnecting their sessions, and disabling all their inbox rules. Are you sure you want to continue?',
type: 'POST',
data: { tenantFilter: tenantFilter, userId: 'userId', username: 'userPrincipalName' },
replacementBehaviour: 'removeNulls',
}}
row={props}
/>
</CippButtonCard>
);
)
}
32 changes: 17 additions & 15 deletions src/components/CippComponents/CippApiResults.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,21 +188,23 @@ export const CippApiResults = (props) => {
} else {
setFetchingVisible(false);
}
if (!errorsOnly) {
if (allResults.length > 0) {
setFinalResults(
allResults.map((res, index) => ({
id: index,
text: res.text,
copyField: res.copyField,
severity: res.severity,
visible: true,
...res,
})),
);
} else {
setFinalResults([]);
}
const resultsToShow = errorsOnly
? allResults.filter((r) => r.severity === "error")
: allResults;

if (resultsToShow.length > 0) {
setFinalResults(
resultsToShow.map((res, index) => ({
id: index,
text: res.text,
copyField: res.copyField,
severity: res.severity,
visible: true,
...res,
})),
);
} else {
setFinalResults([]);
}
}, [
apiObject.isError,
Expand Down
15 changes: 15 additions & 0 deletions src/components/CippComponents/CippAppTemplateDrawer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,21 @@ export const CippAppTemplateDrawer = ({
/>
</Grid>
</CippFormCondition>
<CippFormCondition
formControl={formControl}
field="AssignTo"
compareType="isNot"
compareValue="On"
>
<Grid size={{ xs: 12 }}>
<CippFormComponent
type="textField"
label="Exclude Group Names separated by comma. Wildcards (*) are allowed"
name="excludeGroup"
formControl={formControl}
/>
</Grid>
</CippFormCondition>

{/* Add App Button */}
{applicationType?.value && (
Expand Down
Loading