Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
SELC-4470 fix: re-added the log by performing input sanitization
Browse files Browse the repository at this point in the history
  • Loading branch information
empassaro committed Apr 16, 2024
1 parent 816e6b3 commit 46c63c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ public SaResource getSAFromAnac(String taxId) {
@Override
public AsResource getASFromIvass(String ivassCode) {
try {
if (ivassCode.matches("\\w*")) { log.debug("getASFromIvass = {}", ivassCode); }
Assert.hasText(ivassCode, "IvassCode is required");
ResponseEntity<InsuranceCompanyResource> result = restClient._searchByOriginIdUsingGET(ivassCode);
log.debug("getASFromIvass = {}", ivassCode);

Check failure

Code scanning / CodeQL

Log Injection High

This log entry depends on a
user-provided value
.
Expand Down

0 comments on commit 46c63c8

Please sign in to comment.