Skip to content

Add LogSanitizer for tainted values in log statements#1864

Draft
stiv03 wants to merge 1 commit into
masterfrom
fix/log-injection-sanitizer
Draft

Add LogSanitizer for tainted values in log statements#1864
stiv03 wants to merge 1 commit into
masterfrom
fix/log-injection-sanitizer

Sanitize tainted values in log statements (CWE-117)

efce139
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 29, 2026 in 59s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 191 in multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/upload/AsyncUploadJobOrchestrator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

See more on https://sonarcloud.io/project/issues?id=cloudfoundry_multiapps-controller&issues=AZ8SD3UlfwQ4mSZzr-62&open=AZ8SD3UlfwQ4mSZzr-62&pullRequest=1864

Check warning on line 115 in multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/api/impl/FilesApiServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert these arguments to time zone-aware types before computing a duration between them.

See more on https://sonarcloud.io/project/issues?id=cloudfoundry_multiapps-controller&issues=AZ8SD3VxfwQ4mSZzr-64&open=AZ8SD3VxfwQ4mSZzr-64&pullRequest=1864

Check warning on line 111 in multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/upload/AsyncUploadJobOrchestrator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

See more on https://sonarcloud.io/project/issues?id=cloudfoundry_multiapps-controller&issues=AZ8SD3UlfwQ4mSZzr-61&open=AZ8SD3UlfwQ4mSZzr-61&pullRequest=1864

Check warning on line 84 in multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/upload/AsyncUploadJobOrchestrator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

See more on https://sonarcloud.io/project/issues?id=cloudfoundry_multiapps-controller&issues=AZ8SD3UlfwQ4mSZzr-60&open=AZ8SD3UlfwQ4mSZzr-60&pullRequest=1864

Check warning on line 114 in multiapps-controller-web/src/main/java/org/cloudfoundry/multiapps/controller/web/api/impl/FilesApiServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

See more on https://sonarcloud.io/project/issues?id=cloudfoundry_multiapps-controller&issues=AZ8SD3VxfwQ4mSZzr-63&open=AZ8SD3VxfwQ4mSZzr-63&pullRequest=1864