Skip to content

Commit

Permalink
Merge pull request #214 from ChetanT-System/dependabot_bump_fixes
Browse files Browse the repository at this point in the history
Fix | Log injection issue fixed
  • Loading branch information
almadigabor authored Jul 31, 2024
2 parents 714f012 + 90bf3f4 commit e27e5a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed
- Trivy issue fixed.


## [2.4.3] - 2024-05-31

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import java.util.List;

import org.eclipse.tractusx.sde.common.utils.LogUtil;
import org.eclipse.tractusx.sde.edc.constants.EDCAssetConfigurableConstant;
import org.eclipse.tractusx.sde.edc.entities.request.contractdefinition.Criterion;
import org.eclipse.tractusx.sde.edc.model.response.QueryDataOfferModel;
Expand All @@ -48,7 +49,7 @@ public List<QueryDataOfferModel> getDDTRUrl(String bpnNumber) {

@CacheEvict(value = "bpn-ddtr", key = "#bpnNumber")
public void removeDDTRUrlCache(String bpnNumber) {
log.info("Cleared '" + bpnNumber + "' bpn-ddtr cache");
log.info(LogUtil.encode("Cleared '" + bpnNumber + "' bpn-ddtr cache"));
}

@CacheEvict(value = "bpn-ddtr", allEntries = true)
Expand Down

0 comments on commit e27e5a4

Please sign in to comment.