From f878528272dacebc3c501cc4c9766264e2043496 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Thu, 30 Oct 2025 16:29:40 -0400 Subject: [PATCH 1/2] Add custom checkov config --- .checkov.yaml | 3 --- .checkov.yml | 7 +++++++ .github/workflows/linter.yml | 5 +---- 3 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 .checkov.yaml create mode 100644 .checkov.yml diff --git a/.checkov.yaml b/.checkov.yaml deleted file mode 100644 index 2645248..0000000 --- a/.checkov.yaml +++ /dev/null @@ -1,3 +0,0 @@ -quiet: true -skip-check: - - CKV_GHA_7 diff --git a/.checkov.yml b/.checkov.yml new file mode 100644 index 0000000..63bfa27 --- /dev/null +++ b/.checkov.yml @@ -0,0 +1,7 @@ +# See: https://www.checkov.io/1.Welcome/Quick%20Start.html + +compact: true +quiet: true +skip-path: + - coverage + - node_modules diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index f9dda92..4ffb0ce 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -24,14 +24,12 @@ jobs: runs-on: ubuntu-latest steps: - # Checkout the repository. - name: Checkout id: checkout uses: actions/checkout@v5 with: fetch-depth: 0 - # Setup Node.js using the version specified in `.node-version`. - name: Setup Node.js id: setup-node uses: actions/setup-node@v5 @@ -39,16 +37,15 @@ jobs: node-version-file: .node-version cache: npm - # Install dependencies using `npm ci`. - name: Install Dependencies id: install run: npm ci - # Lint the codebase using the `super-linter/super-linter` action. - name: Lint Codebase id: super-linter uses: super-linter/super-linter/slim@v8 env: + CHECKOV_FILE_NAME: .checkov.yml DEFAULT_BRANCH: main FILTER_REGEX_EXCLUDE: dist/**/* GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From d8e2f77a33b1833fa8220dd19cbb11009ad81e86 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Fri, 31 Oct 2025 10:29:08 -0400 Subject: [PATCH 2/2] Skip check --- .checkov.yml | 2 ++ .github/workflows/example-workflow.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.checkov.yml b/.checkov.yml index 63bfa27..0bc5a4f 100644 --- a/.checkov.yml +++ b/.checkov.yml @@ -5,3 +5,5 @@ quiet: true skip-path: - coverage - node_modules +skip-check: + - CKV_GHA_7 diff --git a/.github/workflows/example-workflow.yml b/.github/workflows/example-workflow.yml index 8853bc8..40a2fc8 100644 --- a/.github/workflows/example-workflow.yml +++ b/.github/workflows/example-workflow.yml @@ -6,7 +6,7 @@ on: who-to-greet: description: Who to greet in the log required: true - default: 'World' + default: World type: string permissions: