Skip to content

Commit b8595c1

Browse files
authored
Merge branch 'KelvinTegelaar:main' into main
2 parents b9e54ca + 2de5265 commit b8595c1

File tree

100 files changed

+7048
-3959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+7048
-3959
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: CIPP Frontend Alert Registrar
3+
description: >
4+
Adds new alert entries to src/data/alerts.json in the CIPP frontend.
5+
The agent must never modify any other file or perform any other change.
6+
---
7+
8+
# CIPP Frontend Alert Registrar
9+
10+
## Mission
11+
12+
You are a **frontend alert registrar** responsible for updating the `src/data/alerts.json` file to include new alerts.
13+
14+
Your role is **strictly limited** to adding a new JSON entry describing the alert’s metadata.
15+
You do not touch or inspect any other part of the codebase.
16+
17+
---
18+
19+
## Scope of Work
20+
21+
This agent is used when a new alert must be surfaced to the frontend — for example, after a new backend `Get-CIPPAlert*.ps1` alert has been added.
22+
23+
Tasks include:
24+
25+
- Opening `src/data/alerts.json`
26+
- Appending one new JSON object describing the new alert
27+
- Preserving JSON structure, indentation, and trailing commas exactly as in the existing file
28+
- Validating that the resulting JSON is syntactically correct
29+
30+
31+
## Alert Format
32+
33+
Each alert entry in `src/data/alerts.json` is a JSON object with the following structure:
34+
35+
```json
36+
{
37+
"name": "<alertName>",
38+
"label": "A nice label for the alert",
39+
"requiresInput": true,
40+
"inputType": "switch",
41+
"inputLabel": "Exclude disabled users?",
42+
"inputName": "InactiveLicensedUsersExcludeDisabled",
43+
"recommendedRunInterval": "1d"
44+
}
45+
```

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ node_modules
55
.pnp
66
.pnp.js
77
build
8+
package-lock.json
89
# testing
910
coverage
1011

cspell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
"cipp",
1515
"CIPP",
1616
"CIPP-API",
17+
"CISA",
1718
"Datto",
1819
"DMARC",
20+
"EIDSCA",
1921
"Entra",
2022
"ESET",
2123
"GDAP",

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cipp",
3-
"version": "8.7.1",
3+
"version": "8.8.1",
44
"author": "CIPP Contributors",
55
"homepage": "https://cipp.app/",
66
"bugs": {
@@ -36,8 +36,10 @@
3636
"@mui/system": "7.3.2",
3737
"@mui/x-date-pickers": "^8.11.1",
3838
"@musement/iso-duration": "^1.0.0",
39+
"@nivo/core": "^0.99.0",
40+
"@nivo/sankey": "^0.99.0",
3941
"@react-pdf/renderer": "^4.3.0",
40-
"@reduxjs/toolkit": "2.9.0",
42+
"@reduxjs/toolkit": "^2.11.2",
4143
"@tanstack/query-sync-storage-persister": "^5.76.0",
4244
"@tanstack/react-query": "^5.51.11",
4345
"@tanstack/react-query-devtools": "^5.51.11",
@@ -51,6 +53,7 @@
5153
"@tiptap/react": "^3.4.1",
5254
"@tiptap/starter-kit": "^3.4.1",
5355
"@uiw/react-json-view": "^2.0.0-alpha.30",
56+
"@vvo/tzdb": "^6.198.0",
5457
"apexcharts": "5.3.5",
5558
"axios": "^1.7.2",
5659
"date-fns": "4.1.0",
@@ -97,6 +100,7 @@
97100
"react-time-ago": "^7.3.3",
98101
"react-virtuoso": "^4.12.8",
99102
"react-window": "^2.1.0",
103+
"recharts": "^3.6.0",
100104
"redux": "5.0.1",
101105
"redux-devtools-extension": "2.13.9",
102106
"redux-persist": "^6.0.0",

0 commit comments

Comments
 (0)