Skip to content

Commit

Permalink
Merge pull request #1328 from DChorn-ANS/dev
Browse files Browse the repository at this point in the history
Seperate Unused and Overused License Alerts
  • Loading branch information
KelvinTegelaar authored Jan 25, 2023
2 parents 658e8e5 + fa82827 commit fcf1ff0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/views/tenant/administration/AlertWizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const AlertWizard = () => {
/>
<RFFCFormSwitch name="QuotaUsed" label="Alert on 90% mailbox quota used" />
<RFFCFormSwitch name="UnusedLicenses" label="Alert on unused licenses" />
<RFFCFormSwitch name="OverusedLicenses" label="Alert on overused licenses" />
<RFFCFormSwitch name="AppSecretExpiry" label="Alert on expiring application secrets" />
<RFFCFormSwitch name="ApnCertExpiry" label="Alert on expiring APN certificates" />
<RFFCFormSwitch name="VppTokenExpiry" label="Alert on expiring VPP tokens" />
Expand Down Expand Up @@ -204,6 +205,14 @@ const AlertWizard = () => {
icon={props.values.UnusedLicenses ? faCheck : faTimes}
/>
</CListGroupItem>
<CListGroupItem className="d-flex justify-content-between align-items-center">
Alert on overused licenses
<FontAwesomeIcon
color="#f77f00"
size="lg"
icon={props.values.OverusedLicenses ? faCheck : faTimes}
/>
</CListGroupItem>
<CListGroupItem className="d-flex justify-content-between align-items-center">
Alert on expiring application secrets
<FontAwesomeIcon
Expand Down
7 changes: 7 additions & 0 deletions src/views/tenant/administration/ListAlertsQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ const ListAlertsQueue = () => {
exportSelector: 'UnusedLicenses',
cell: cellBooleanFormatter(),
},
{
name: 'Overused Licenses',
selector: (row) => row['OverusedLicenses'],
sortable: true,
exportSelector: 'OverusedLicenses',
cell: cellBooleanFormatter(),
},
{
name: 'App Secret Expiry',
selector: (row) => row['AppSecretExpiry'],
Expand Down

0 comments on commit fcf1ff0

Please sign in to comment.