Skip to content

Feat: Add EntraConnectSyncStatus alert #4106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
9 changes: 9 additions & 0 deletions src/data/alerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
"inputName": "InactiveLicensedUsersExcludeDisabled",
"recommendedRunInterval": "1d"
},
{
"name": "EntraConnectSyncStatus",
"label": "Alert if Entra Connect sync is enabled and has not run in the last X hours",
"requiresInput": true,
"inputType": "number",
"inputLabel": "Hours(Default:72)",
"inputName": "EntraConnectSyncStatusHours",
"recommendedRunInterval": "1d"
},
{
"name": "QuotaUsed",
"label": "Alert on % mailbox quota used",
Expand Down
9 changes: 7 additions & 2 deletions src/pages/tenant/administration/alert-configuration/alert.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ const AlertWizard = () => {
type="autoComplete"
name="logbook"
multiple={false}
creatable={false}
formControl={formControl}
validators={{
required: { value: true, message: "This field is required" },
Expand Down Expand Up @@ -503,7 +504,8 @@ const AlertWizard = () => {
required: { value: true, message: "This field is required" },
}}
formControl={formControl}
multiple
multiple={true}
creatable={false}
options={actionstoTake}
/>
</Grid>
Expand Down Expand Up @@ -574,6 +576,7 @@ const AlertWizard = () => {
type="autoComplete"
validators={{ required: true }}
multiple={false}
creatable={false}
name="command"
formControl={formControl}
label="What alerting script should run"
Expand All @@ -588,6 +591,7 @@ const AlertWizard = () => {
<CippFormComponent
type="autoComplete"
multiple={false}
creatable={false}
name="recurrence"
validators={{
required: { value: true, message: "This field is required" },
Expand Down Expand Up @@ -616,7 +620,8 @@ const AlertWizard = () => {
required: { value: true, message: "This field is required" },
}}
formControl={formControl}
multiple
multiple={true}
creatable={false}
options={postExecutionOptions}
/>
</Grid>
Expand Down
Loading