From 6dadcb4ed8cbf054f4a46bd02f667fda7b67ff06 Mon Sep 17 00:00:00 2001 From: Ashish Padhy <100484401+Shurtu-gal@users.noreply.github.com> Date: Sat, 14 Dec 2024 14:09:39 +0530 Subject: [PATCH] fix: sonarcloud issues Signed-off-by: Ashish Padhy <100484401+Shurtu-gal@users.noreply.github.com> --- .sonarcloud.properties | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.sonarcloud.properties b/.sonarcloud.properties index 0657ce6336b..436a7233f02 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -1 +1,9 @@ -sonar.exclusions=test/**/* \ No newline at end of file +sonar.exclusions=test/**/* +sonar.issue.ignore.multicriteria=e1,e2 + +# Exclude copy recursively and root user issue in Dockerfile +sonar.issue.ignore.multicriteria.e1.ruleKey=docker:S6470 +sonar.issue.ignore.multicriteria.e1.resourceKey=**/Dockerfile + +sonar.issue.ignore.multicriteria.e2.ruleKey=docker:S6471 +sonar.issue.ignore.multicriteria.e2.resourceKey=**/Dockerfile \ No newline at end of file