diff --git a/cost/flexera/cco/focus_report/CHANGELOG.md b/cost/flexera/cco/focus_report/CHANGELOG.md index 9d69b76ae4..0ae4fb9ab4 100644 --- a/cost/flexera/cco/focus_report/CHANGELOG.md +++ b/cost/flexera/cco/focus_report/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.1.3 + +- Fixed issue where policy template would fail to complete if "Unamortized" was selected for the `Amortization` parameter. + ## v0.1.2 - Added `hide_skip_approvals` field to the info section. It dynamically controls "Skip Action Approvals" visibility. diff --git a/cost/flexera/cco/focus_report/focus_report.pt b/cost/flexera/cco/focus_report/focus_report.pt index a6378d08aa..d4ea3cd5fc 100644 --- a/cost/flexera/cco/focus_report/focus_report.pt +++ b/cost/flexera/cco/focus_report/focus_report.pt @@ -7,7 +7,7 @@ category "Cost" severity "low" default_frequency "weekly" info( - version: "0.1.2", + version: "0.1.3", provider: "Flexera", service: "Cloud Cost Optimization", policy_set: "Cloud Cost Optimization", @@ -224,7 +224,7 @@ datasource "ds_flexera_costs" do field "service", jmes_path(col_item, "dimensions.service") field "usage_unit", jmes_path(col_item, "dimensions.usage_unit") field "cost_amortized", jmes_path(col_item, "metrics.cost_amortized_unblended_adj") - field "cost_unamortized", jmes_path(col_item, "metrics.cost_unamortized_unblended_adj") + field "cost_unamortized", jmes_path(col_item, "metrics.cost_nonamortized_unblended_adj") end end end @@ -233,7 +233,7 @@ script "js_flexera_costs", type: "javascript" do parameters "ds_included_bcs", "ds_dates", "param_amortization", "rs_org_id", "rs_optima_host" result "request" code <<-EOS - amortization = "cost_unamortized_unblended_adj" + amortization = "cost_nonamortized_unblended_adj" if (param_amortization == "Amortized") { amortization = "cost_amortized_unblended_adj" } var request = {