This Policy Template leverages the Azure Billing API (Savings Plans By Savings Plan Order) to report on Savings Plan utilization. It will notify only if utilization of a Savings Plan falls below the value specified in the Maximum Savings Plan Utilization Threshold
field. It examines the Savings Plan utilization for the prior 1 day, 7 days or 30 days in making this determination.
This policy has the following input parameters required when launching the policy.
- Email Addresses - Email addresses of the recipients you wish to notify when new incidents are created.
- Azure Endpoint - The endpoint to send Azure API requests to. Recommended to leave this at default unless using this policy with Azure China.
- Look Back Period - Number of days of prior Azure Savings Plan usage to analyze.
- Maximum Savings Plan Utilization Threshold (%) - Show Savings Plans with utilization below this value.
The following policy actions are taken on any resources found to be out of compliance.
- Sends an email report
This Policy Template uses Credentials for authenticating to datasources -- in order to apply this policy you must have a Credential registered in the system that is compatible with this policy. If there are no Credentials listed when you apply the policy, please contact your Flexera Org Admin and ask them to register a Credential that is compatible with this policy. The information below should be consulted when creating the credential(s).
For administrators creating and managing credentials to use with this policy, the following information is needed:
-
Azure Resource Manager Credential (provider=azure_rm) which has the following permissions:
Microsoft.Billing/billingAccounts/read
-
Flexera Credential (provider=flexera) which has the following roles:
billing_center_viewer
The Provider-Specific Credentials page in the docs has detailed instructions for setting up Credentials for the most common providers.
- Azure
This policy template does not incur any cloud costs.