From 6145a434f4d33cb59f95b655323554cdd930d6c7 Mon Sep 17 00:00:00 2001 From: Sviataslau Dauhuchyts Date: Fri, 13 Sep 2024 10:13:56 +0300 Subject: [PATCH] Fix SAST scan vuln --- .github/workflows/sast.yaml | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sast.yaml b/.github/workflows/sast.yaml index 1e29f13..2050a9f 100644 --- a/.github/workflows/sast.yaml +++ b/.github/workflows/sast.yaml @@ -16,7 +16,7 @@ env: # List of paths (space separated) to ignore # Supports PATTERNS # EXCLUDE_PATHS: 'foo bar/baz file.txt dir/*.yml' - EXCLUDE_PATHS: '' + EXCLUDE_PATHS: '*docker-compose.y*ml' # List of rules (space separated) to ignore # EXCLUDE_RULES: 'generic.secrets.security.detected-aws-account-id.detected-aws-account-id' # See https://github.com/semgrep/semgrep-rules for rules registry diff --git a/docker-compose.yml b/docker-compose.yml index db8827b..f15811b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: docreader: image: regulaforensics/docreader:latest volumes: - - ./regula.license:/app/extBin/unix_x64/regula.license + - ./regula.license:/app/extBin/unix_x64/regula.license nginx: image: nginx:alpine ports: @@ -13,4 +13,4 @@ services: - ./conf/nginx.conf:/etc/nginx/nginx.conf - ./conf/.htpasswd:/etc/nginx/.htpasswd depends_on: - - docreader \ No newline at end of file + - docreader