Verify journald log doesn't have private credential information logged

Changes:
    - Test to parse through journald and verifying password credential
      is not logged.

Change-Id: I764448a4abd003749de2ca235b95e35d455a3473
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/remote_logging/test_remote_logging.robot b/remote_logging/test_remote_logging.robot
index ea4db55..10fb992 100644
--- a/remote_logging/test_remote_logging.robot
+++ b/remote_logging/test_remote_logging.robot
@@ -112,6 +112,18 @@
     ...  msg=The remote journald doesn't contain the boot message: ${BMC_BOOT_MSG}.
 
 
+Verify BMC Journald Contains No Credential Data
+    [Documentation]  Check that BMC journald doesnt log any credential data.
+    [Tags]  Verify_BMC_Journald_Contains_No_Credential_Data
+
+    Open Connection And Log In
+    ${bmc_journald}  ${stderr}  ${rc}=  BMC Execute Command
+    ...  journalctl -o json-pretty | cat
+
+    Should Not Contain Any  ${bmc_journald}  ${OPENBMC_PASSWORD}
+    ...  msg=Journald logs BMC credentials/password ${OPENBMC_PASSWORD}.
+
+
 *** Keywords ***
 
 Suite Setup Execution