Skip to content

Commit

Permalink
remediation guides plugin named updated and tested
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahaslam306 committed Apr 12, 2023
1 parent 32f306a commit c1e75cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/aws/opensearch/opensearchEncryptedDomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = {
},
remediate: function(config, cache, settings, resource, callback) {
var putCall = this.actions.remediate;
var pluginName = 'osEncryptedDomain';
var pluginName = 'opensearchEncryptedDomain';
let defaultKeyDesc = 'Default master key that protects my OpenSearch data when no other key is defined';
var domainNameArr = resource.split(':');
var domain = domainNameArr[domainNameArr.length - 1].split('/')[1];
Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/opensearch/opensearchHttpsOnly.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = {
},
remediate: function(config, cache, settings, resource, callback) {
var putCall = this.actions.remediate;
var pluginName = 'osHttpsOnly';
var pluginName = 'opensearchHttpsOnly';
var domainNameArr = resource.split(':');
var domain = domainNameArr[domainNameArr.length - 1].split('/')[1];

Expand Down
2 changes: 1 addition & 1 deletion plugins/aws/opensearch/opensearchNodeToNodeEncryption.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = {
},
remediate: function(config, cache, settings, resource, callback) {
var putCall = this.actions.remediate;
var pluginName = 'osNodeToNodeEncryption';
var pluginName = 'opensearchNodeToNodeEncryption';
var domainNameArr = resource.split(':');
var domain = domainNameArr[domainNameArr.length - 1].split('/')[1];

Expand Down

0 comments on commit c1e75cb

Please sign in to comment.