This policy generated a report of aggregated billing data for either the current month or a user-specified month that is compliant with the FinOps Foundation's FinOps Cost and Usage Specification, also known as FOCUS. The user can filter this report by billing center and report on either amortized or unamortized costs by using the appropriate parameters.
- The policy gathers currency information from the Flexera Bill Analysis API.
- The policy then makes an API request to the Flexera Bill Analysis API to gather aggregated costs for the relevant month. The Flexera dimensions specified in the request body are equivalent to various FOCUS dimensions.
- The results of the above are then normalized to match the FOCUS specification.
This policy template has the following input parameters:
- Email Addresses - Email addresses of the recipients you wish to notify when new incidents are created.
- Billing Month - Billing month to report on in YYYY-MM format. Leave blank to do current month.
- Amortization - Whether to report costs amortized or unamortized.
- Billing Centers - List of Billing Center names/IDs to report on. Leave empty to report on the entire organization without filtering by Billing Center.
- Attach CSV To Incident Email - Whether or not to attach the results as a CSV file to the incident email.
- Incident Table Rows for Email Body (#) - The number of results to include in the incident table in the incident email. Set to '0' to not show an incident table at all, and '100000' to include all results. Does not impact attached CSV files or the incident as presented in Flexera One.
The following policy actions are taken automatically upon completion:
- Send an email report
This Policy Template uses Credentials for authenticating to datasources -- in order to apply this policy template you must have a Credential registered in the system that is compatible with this policy template. If there are no Credentials listed when you apply the policy template, please contact your Flexera Org Admin and ask them to register a Credential that is compatible with this policy template. The information below should be consulted when creating the credential(s).
- Flexera Credential (provider=flexera) which has the following roles:
billing_center_viewerpolicy_viewer
The Provider-Specific Credentials page in the docs has detailed instructions for setting up Credentials for the most common providers.
- Flexera
This policy template does not incur any cloud costs.