From fc4bb924299a2edb60329e176ef590ce8d33b4cc Mon Sep 17 00:00:00 2001 From: alphadev4 <113519745+alphadev4@users.noreply.github.com> Date: Mon, 16 Sep 2024 13:59:29 +0500 Subject: [PATCH] Update plugins/azure/mysqlserver/mysqlFlexibleServerCMKEncrypted.js --- plugins/azure/mysqlserver/mysqlFlexibleServerCMKEncrypted.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/azure/mysqlserver/mysqlFlexibleServerCMKEncrypted.js b/plugins/azure/mysqlserver/mysqlFlexibleServerCMKEncrypted.js index 29b0b57100..d188ae81d3 100644 --- a/plugins/azure/mysqlserver/mysqlFlexibleServerCMKEncrypted.js +++ b/plugins/azure/mysqlserver/mysqlFlexibleServerCMKEncrypted.js @@ -38,7 +38,7 @@ module.exports = { for (var flexibleServer of servers.data) { if (!flexibleServer.id) continue; - if (flexibleServer.dataEncryption && flexibleServer.dataEncryption.primaryKeyURI ) { + if (flexibleServer.dataEncryption && flexibleServer.dataEncryption.primaryKeyURI) { helpers.addResult(results, 0, 'MySQL flexible server data is encrypted using CMK', location, flexibleServer.id); } else { helpers.addResult(results, 2, 'MySQL flexible server data is not encrypted using CMK', location, flexibleServer.id);