Update hub-detect-sh
Censoring new password and api token parameters.
@@ -40,6 +40,12 @@ for i in $*; do
LOGGABLE_SCRIPT_ARGS="$LOGGABLE_SCRIPT_ARGS --blackduck.hub.proxy.password=<redacted>"
elif [[ $i == --blackduck.hub.api.token=* ]]; then
LOGGABLE_SCRIPT_ARGS="$LOGGABLE_SCRIPT_ARGS --blackduck.hub.api.token=<redacted>"
+ elif [[ $i == --blackduck.password=* ]]; then
+ LOGGABLE_SCRIPT_ARGS="$LOGGABLE_SCRIPT_ARGS --blackduck.password=<redacted>"
+ elif [[ $i == --blackduck.proxy.password=* ]]; then
+ LOGGABLE_SCRIPT_ARGS="$LOGGABLE_SCRIPT_ARGS --blackduck.proxy.password=<redacted>"
+ elif [[ $i == --blackduck.api.token=* ]]; then
+ LOGGABLE_SCRIPT_ARGS="$LOGGABLE_SCRIPT_ARGS --blackduck.api.token=<redacted>"
else
LOGGABLE_SCRIPT_ARGS="$LOGGABLE_SCRIPT_ARGS $i"
fi
