Fix sensitive data exposure in Baremetal PING PXE resource logs (#13298) - #13668
Fix sensitive data exposure in Baremetal PING PXE resource logs (#13298)#13668DaanHoogland wants to merge 2 commits into
Quality Gate failed
Failed conditions
19.0% Coverage on New Code (required ≥ 40%)
Annotations
Check warning on line 195 in utils/src/main/java/com/cloud/utils/ssh/SSHCmdHelper.java
sonarqubecloud / SonarCloud Code Analysis
Use the built-in formatting to construct this argument.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-JoumokIHhbILjIdbq&open=AZ-JoumokIHhbILjIdbq&pullRequest=13668
Check warning on line 193 in utils/src/main/java/com/cloud/utils/ssh/SSHCmdHelper.java
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 71 to 64, Complexity from 18 to 14, Nesting Level from 5 to 2, Number of Variables from 17 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-JoumokIHhbILjIdbv&open=AZ-JoumokIHhbILjIdbv&pullRequest=13668
Check warning on line 258 in utils/src/main/java/com/cloud/utils/ssh/SSHCmdHelper.java
sonarqubecloud / SonarCloud Code Analysis
Format specifiers should be used instead of string concatenation.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-JoumokIHhbILjIdbu&open=AZ-JoumokIHhbILjIdbu&pullRequest=13668
Check failure on line 193 in utils/src/main/java/com/cloud/utils/ssh/SSHCmdHelper.java
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 35 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-JoumokIHhbILjIdbs&open=AZ-JoumokIHhbILjIdbs&pullRequest=13668
Check warning on line 258 in utils/src/main/java/com/cloud/utils/ssh/SSHCmdHelper.java
sonarqubecloud / SonarCloud Code Analysis
Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-JoumokIHhbILjIdbr&open=AZ-JoumokIHhbILjIdbr&pullRequest=13668
Check warning on line 195 in utils/src/main/java/com/cloud/utils/ssh/SSHCmdHelper.java
sonarqubecloud / SonarCloud Code Analysis
Format specifiers should be used instead of string concatenation.
See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ-JoumokIHhbILjIdbt&open=AZ-JoumokIHhbILjIdbt&pullRequest=13668