Skip to content

Commit

Permalink
Update plugins/azure/mysqlserver/mysqlFlexibleServerCMKEncrypted.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alphadev4 committed Sep 16, 2024
1 parent 69438e1 commit fc4bb92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fc4bb92

Please sign in to comment.