forked from KelvinTegelaar/CIPP-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Raphael Buechi
committed
Aug 28, 2024
1 parent
0e39f4c
commit 7e51f92
Showing
1 changed file
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,27 @@ | ||
{ | ||
"name": "AXE Best Practices - Table", | ||
"style": "Table", | ||
"Fields": [] | ||
"Fields": [ | ||
{ | ||
"name": "Unusedlicenses", | ||
"API": "CIPPFunction", | ||
"Command": "Get-CIPPLicenseOverview", | ||
"ExtractFields": [ | ||
"License", | ||
"TotalLicenses", | ||
"availableUnits", | ||
"CountUsed" | ||
], | ||
"StoreAs": "JSON", | ||
"where": "$_.availableUnits -gt 0", | ||
"FrontendFields": [ | ||
{ | ||
"name": "Unused licenses", | ||
"desc": "Check if there are any unused licenses", | ||
"formatter": "table", | ||
"value": "Unusedlicenses" | ||
} | ||
] | ||
} | ||
] | ||
} |