Fix for security hotspot related to safe archive expansion 69/119369/9
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>
Tue, 16 Mar 2021 12:01:23 +0000 (12:01 +0000)
committerToine Siebelink <toine.siebelink@est.tech>
Tue, 6 Apr 2021 09:16:35 +0000 (09:16 +0000)
commita3ceacb9ebf11c6467d66c0f42af714ef93591c2
tree17fb41b04f5b56c61cca75cb6c746cd5abe17ed3
parent2b0b0368cf6c62f8c05ed8a98a701e1102427861
Fix for security hotspot related to safe archive expansion

https://sonarcloud.io/project/security_hotspots?id=onap_cps&hotspots=AXfObcsqA2pnU4Plp4-g

Issue-ID: CPS-289
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Ibe8627413fc9e3964cdc5bb98caf5e25fa4f3a95
cps-rest/src/main/java/org/onap/cps/rest/utils/MultipartFileUtil.java
cps-rest/src/main/java/org/onap/cps/rest/utils/ZipFileSizeValidator.java [new file with mode: 0644]
cps-rest/src/test/groovy/org/onap/cps/rest/utils/ZipFileSizeValidatorSpec.groovy [new file with mode: 0644]