Skip to content

fix(security): mask patient PII in logs and return correct HTTP status codes (AMRIT#153)#213

Open
Piyush0000 wants to merge 4 commits into
PSMRI:mainfrom
Piyush0000:fix/amrit-153-pii-masking-global-exception-handler
Open

fix(security): mask patient PII in logs and return correct HTTP status codes (AMRIT#153)#213
Piyush0000 wants to merge 4 commits into
PSMRI:mainfrom
Piyush0000:fix/amrit-153-pii-masking-global-exception-handler

fix(api): mask PII in logs and return correct HTTP status codes (#153)

8270694
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 13, 2026 in 1m 17s

Quality Gate failed

Annotations

Check warning on line 242 in src/main/java/com/iemr/hwc/utils/response/OutputResponse.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

See more on https://sonarcloud.io/project/issues?id=PSMRI_HWC-API&issues=AZ4g7u8k4uxx0HPA9NO6&open=AZ4g7u8k4uxx0HPA9NO6&pullRequest=213

Check failure on line 338 in src/main/java/com/iemr/hwc/controller/generalOPD/GeneralOPDController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Unable to modify data" 9 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_HWC-API&issues=AZ4g7u_k4uxx0HPA9NO9&open=AZ4g7u_k4uxx0HPA9NO9&pullRequest=213

Check warning on line 252 in src/main/java/com/iemr/hwc/utils/response/OutputResponse.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

See more on https://sonarcloud.io/project/issues?id=PSMRI_HWC-API&issues=AZ4g7u8k4uxx0HPA9NO8&open=AZ4g7u8k4uxx0HPA9NO8&pullRequest=213

Check warning on line 245 in src/main/java/com/iemr/hwc/utils/response/OutputResponse.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge the previous cases into this one using comma-separated label.

See more on https://sonarcloud.io/project/issues?id=PSMRI_HWC-API&issues=AZ4g7u8k4uxx0HPA9NO7&open=AZ4g7u8k4uxx0HPA9NO7&pullRequest=213