Skip to content

Commit

Permalink
Update plugins/azure/postgresqlserver/postgresqlCMKEncrypted.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mehakseedat63 authored Dec 1, 2023
1 parent e39df97 commit 3217427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/azure/postgresqlserver/postgresqlCMKEncrypted.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports = {

for (let server of servers.data) {
if (!server.id) continue;

if (server.byokEnforcement && server.byokEnforcement.toLowerCase() === 'enabled') {
helpers.addResult(results, 0, 'PostgreSQL server is encrypted using CMK', location, server.id);
} else {
Expand Down

0 comments on commit 3217427

Please sign in to comment.