Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions .github/workflows/label_sponsor_requests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Label Issues
on:
issues:
Expand All @@ -14,4 +13,6 @@ jobs:
- name: Sponsor Labels
uses: JasonEtco/is-sponsor-label-action@v1.2.0
with:
label: 'Sponsor Request'
label: 'Sponsor Priority'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34 changes: 34 additions & 0 deletions src/data/alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,5 +331,39 @@
"label": "Alert on quarantine release requests",
"recommendedRunInterval": "30m",
"description": "Monitors for user requests to release quarantined messages and provides a CIPP-native alternative to the external email forwarding method. This helps MSPs maintain secure configurations while getting timely notifications about quarantine activity. Links to the tenant's quarantine page are provided in alerts."
},
{
"name": "SecureScore",
"label": "Alert on a low Secure Score",
"recommendedRunInterval": "1d",
"requiresInput": true,
"multipleInput": true,
"inputs": [
{
"inputType": "autoComplete",
"inputLabel": "Threshold type absolute number or percent",
"inputName": "ThresholdType",
"creatable": false,
"multiple": false,
"options": [
{
"label": "Percent",
"value": "percent"
},
{
"label": "Absolute",
"value": "absolute"
}
],
"required": true
},
{
"inputType": "number",
"inputLabel": "Threshold Value (below this will trigger the alert)",
"inputName": "InputValue",
"required": true
}
],
"description": "Monitors Secure Score and alerts when it falls below the specified threshold (absolute or percent value). Helps identify security gaps and areas for improvement."
}
]
20 changes: 20 additions & 0 deletions src/pages/tenant/administration/alert-configuration/alert.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,16 @@ const AlertWizard = () => {
name={commandValue.value?.inputName}
formControl={formControl}
label={commandValue.value?.inputLabel}
required={commandValue.value?.required || false}
{...(commandValue.value?.inputType === 'autoComplete'
? {
options: commandValue.value?.options,
creatable: commandValue.value?.creatable || true,
multiple: commandValue.value?.multiple || true,
}
: {}
)
}
/>
)}
{commandValue?.value?.multipleInput &&
Expand All @@ -974,6 +984,16 @@ const AlertWizard = () => {
name={input.inputName}
formControl={formControl}
label={input.inputLabel}
required={input.required || false}
{...(input.inputType === 'autoComplete'
? {
options: input.options,
creatable: input.creatable ?? true,
multiple: input.multiple ?? true,
}
: {}
)
}
/>
</Grid>
</Grid>
Expand Down