We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9306a commit 165f7b4Copy full SHA for 165f7b4
utils/src/main/java/org/apache/cloudstack/utils/process/ProcessRunner.java
@@ -67,7 +67,7 @@ String removeCommandSensitiveInfoForLogging(String command) {
67
public ProcessRunner(ExecutorService executor) {
68
this.executor = executor;
69
commandLogReplacements.add(new Ternary<>("ipmitool", "-P\\s+\\S+", "-P *****"));
70
- commandLogReplacements.add(new Ternary<>("ipmitool", "(?i)(password)(\\s+)\\S+(\\s+)\\S+", "$1****$2****"));
+ commandLogReplacements.add(new Ternary<>("ipmitool", "(?i)(password)(\\s+)\\S+(\\s+)\\S+", "$1 ****$2****"));
71
}
72
73
/**
0 commit comments