From 878c897b53cf0352ab2c0a17e22262f0823e41ad Mon Sep 17 00:00:00 2001 From: sagic-orca <125193594+sagic-orca@users.noreply.github.com> Date: Thu, 17 Aug 2023 15:56:05 +0300 Subject: [PATCH 1/2] Update .pre-commit-hooks.yaml --- .pre-commit-hooks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index b397835..80ab1bc 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,7 @@ - id: orca-cli-secrets name: Orca Security - Secret Detection description: Detect hardcoded secrets using orca-cli - entry: orca-cli --silent --skip-scan-log fs scan ./ --staged-secrets --security-checks secret + entry: orca-cli --silent --skip-scan-log secrets pre-commit scan language: system stages: [commit] pass_filenames: false @@ -9,7 +9,7 @@ - id: docker-orca-cli-secrets name: Orca Security - Secret Detection description: Detect hardcoded secrets using orca-cli - entry: -e ORCA_SECURITY_PROJECT_KEY -e ORCA_SECURITY_API_TOKEN ghcr.io/orcasecurity/orca-cli:latest --silent --staged-secrets --skip-scan-log fs scan /src --security-checks secret + entry: -e ORCA_SECURITY_PROJECT_KEY -e ORCA_SECURITY_API_TOKEN ghcr.io/orcasecurity/orca-cli:latest --silent --skip-scan-log secrets pre-commit scan --path /src language: docker_image stages: [commit] pass_filenames: false From c53675956ced7d56f545c2ae2aa3a475b9e159ff Mon Sep 17 00:00:00 2001 From: sagic-orca <125193594+sagic-orca@users.noreply.github.com> Date: Sun, 20 Aug 2023 11:51:57 +0300 Subject: [PATCH 2/2] Update .pre-commit-hooks.yaml --- .pre-commit-hooks.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 80ab1bc..7ec8e6c 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,7 @@ - id: orca-cli-secrets name: Orca Security - Secret Detection description: Detect hardcoded secrets using orca-cli - entry: orca-cli --silent --skip-scan-log secrets pre-commit scan + entry: orca-cli --silent secrets pre-commit scan language: system stages: [commit] pass_filenames: false @@ -9,7 +9,7 @@ - id: docker-orca-cli-secrets name: Orca Security - Secret Detection description: Detect hardcoded secrets using orca-cli - entry: -e ORCA_SECURITY_PROJECT_KEY -e ORCA_SECURITY_API_TOKEN ghcr.io/orcasecurity/orca-cli:latest --silent --skip-scan-log secrets pre-commit scan --path /src + entry: -e ORCA_SECURITY_PROJECT_KEY -e ORCA_SECURITY_API_TOKEN ghcr.io/orcasecurity/orca-cli:latest --silent secrets pre-commit scan --path /src language: docker_image stages: [commit] pass_filenames: false