Skip to content

Commit

Permalink
Stop using usingEphemeralEncryptionKey (#88884) (#89008)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
chrisronline and kibanamachine authored Jan 21, 2021
1 parent 9fd1df8 commit 1b882f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion x-pack/plugins/monitoring/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"triggersActionsUi",
"alerts",
"actions",
"encryptedSavedObjects",
"encryptedSavedObjects"
],
"server": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class AlertingSecurity {

return {
isSufficientlySecure: !isSecurityEnabled || (isSecurityEnabled && isTLSEnabled),
hasPermanentEncryptionKey: !encryptedSavedObjects?.usingEphemeralEncryptionKey,
hasPermanentEncryptionKey: Boolean(encryptedSavedObjects),
};
};
}

0 comments on commit 1b882f0

Please sign in to comment.