Skip to content

Commit

Permalink
fixed query before remediation field
Browse files Browse the repository at this point in the history
  • Loading branch information
freitasmillena committed Aug 9, 2023
1 parent 1c49ee0 commit 8e32b44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CxPolicy[result] {
"keyActualValue": sprintf("'azurerm_function_app[%s].site_config.min_tls_version' is not set to '1.2'", [name]),
"searchLine": common_lib.build_search_line(["resource", "azurerm_function_app", name, "site_config", "min_tls_version"], []),
"remediation": json.marshal({
"before": sprintf("%.1f", [app.site_config.min_tls_version]),
"before": sprintf("%.1f", [to_number(app.site_config.min_tls_version)]),
"after": "1.2"
}),
"remediationType": "replacement",
Expand Down

0 comments on commit 8e32b44

Please sign in to comment.