Skip to content

Commit 046c4d5

Browse files
authored
Merge pull request #701 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents c97cf28 + 950118c commit 046c4d5

File tree

3 files changed

+37
-53
lines changed

3 files changed

+37
-53
lines changed

src/data/Extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
"links": [
275275
{
276276
"name": "HaloPSA Documentation",
277-
"url": "https://halopsa.com/guides/"
277+
"url": "https://usehalo.com/halopsa/guides/2697"
278278
}
279279
],
280280
"SettingOptions": [

src/data/alerts.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,41 @@
187187
"label": "Alert on device compliance issues",
188188
"recommendedRunInterval": "4h"
189189
},
190+
{
191+
"name": "IntunePolicyConflicts",
192+
"label": "Alert on Intune policy or app conflicts/errors",
193+
"recommendedRunInterval": "4h",
194+
"requiresInput": true,
195+
"multipleInput": true,
196+
"inputs": [
197+
{
198+
"inputType": "switch",
199+
"inputLabel": "Alert per issue (off = aggregated)",
200+
"inputName": "AlertEachIssue"
201+
},
202+
{
203+
"inputType": "switch",
204+
"inputLabel": "Include policy status issues",
205+
"inputName": "IncludePolicies"
206+
},
207+
{
208+
"inputType": "switch",
209+
"inputLabel": "Include app install issues",
210+
"inputName": "IncludeApplications"
211+
},
212+
{
213+
"inputType": "switch",
214+
"inputLabel": "Alert on conflicts",
215+
"inputName": "AlertConflicts"
216+
},
217+
{
218+
"inputType": "switch",
219+
"inputLabel": "Alert on errors/failures",
220+
"inputName": "AlertErrors"
221+
}
222+
],
223+
"description": "Monitors Intune policy assignment states and app install statuses for conflicts or errors. Defaults to aggregated alerts with all mechanisms enabled and both conflicts and errors included."
224+
},
190225
{
191226
"name": "BreachAlert",
192227
"label": "Alert on (new) potentially breached passwords. Generates an alert if a password is found to be breached.",

src/pages/dashboardv2/identity/index.js

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
import React from "react";
2-
import {
3-
Container,
4-
Typography,
5-
Card,
6-
CardContent,
7-
CardHeader,
8-
Box,
9-
Stack,
10-
Chip,
11-
} from "@mui/material";
1+
import { Container } from "@mui/material";
122
import { TabbedLayout } from "/src/layouts/TabbedLayout";
133
import { Layout as DashboardLayout } from "/src/layouts/index.js";
144
import tabOptions from "../tabOptions";
@@ -34,47 +24,6 @@ const Page = () => {
3424
const identityTests =
3525
testsApi.data?.TestResults?.filter((test) => test.TestType === "Identity") || [];
3626

37-
const getStatusColor = (status) => {
38-
switch (status?.toLowerCase()) {
39-
case "passed":
40-
return "success";
41-
case "failed":
42-
return "error";
43-
case "investigate":
44-
return "warning";
45-
case "skipped":
46-
return "default";
47-
default:
48-
return "default";
49-
}
50-
};
51-
52-
const getRiskColor = (risk) => {
53-
switch (risk?.toLowerCase()) {
54-
case "high":
55-
return "error";
56-
case "medium":
57-
return "warning";
58-
case "low":
59-
return "info";
60-
default:
61-
return "default";
62-
}
63-
};
64-
65-
const getImpactColor = (impact) => {
66-
switch (impact?.toLowerCase()) {
67-
case "high":
68-
return "error";
69-
case "medium":
70-
return "warning";
71-
case "low":
72-
return "info";
73-
default:
74-
return "default";
75-
}
76-
};
77-
7827
const offCanvas = {
7928
size: "lg",
8029
children: (row) => <CippTestDetailOffCanvas row={row} />,

0 commit comments

Comments
 (0)