diff --git a/server/src/resolvers/PAHost.js b/server/src/resolvers/PAHost.js index 50671fe..dfd4fde 100644 --- a/server/src/resolvers/PAHost.js +++ b/server/src/resolvers/PAHost.js @@ -1,7 +1,7 @@ import { decryptKey } from '../lib/paloalto' const PAHost = { - key: parent => decryptKey(parent.encryptedKey).slice(0, 5) + '*****' + key: parent => `${decryptKey(parent.encryptedKey).slice(0, 5)}*****` } export { PAHost } diff --git a/web/src/views/SystemAdministration/PaloAlto.vue b/web/src/views/SystemAdministration/PaloAlto.vue index ffb730f..9a10d30 100644 --- a/web/src/views/SystemAdministration/PaloAlto.vue +++ b/web/src/views/SystemAdministration/PaloAlto.vue @@ -1,7 +1,90 @@ - +