Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit c523834

Browse files
committed
feat(gh): add default GitHub repo files
1 parent bb712c4 commit c523834

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

.checkov.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
skip-check:
2+
# The build output cannot be affected by user parameters other than the build entry point and the top-level source location. GitHub Actions workflow_dispatch inputs MUST be empty
3+
- CKV_GHA_7

.github/workflows/mega-linter.yml

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
# Extract: ```bash ... ```
3434
sed -n "/^ \`\`\`\(bash\|shell\)$/,/^ \`\`\`$/p" "${FILE}" | sed '/^ ```*/d; s/^ //' >> README.sh
3535
done
36+
ls -la README.sh
3637
chmod a+x README.sh
3738
3839
- name: 💡 MegaLinter

.lycheeignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.*.mylabs.dev
1+
mylabs.dev

.mega-linter.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration file for MegaLinter
22
# See all available variables at https://megalinter.io/latest/configuration/ and in linters documentation
33

4-
BASH_SHFMT_ARGUMENTS: --indent 2 --space-redirects
4+
BASH_SHFMT_ARGUMENTS: --case-indent --indent 2 --space-redirects
55

66
DISABLE_LINTERS:
77
- MARKDOWN_MARKDOWN_LINK_CHECK # Using lychee instead
@@ -26,9 +26,7 @@ PRINT_ALPACA: false
2626
# Disable creating report directory
2727
REPORT_OUTPUT_FOLDER: none
2828

29-
# Issue: https://github.com/bridgecrewio/checkov/issues/3839
30-
# The build output cannot be affected by user parameters other than the build entry point and the top-level source location. GitHub Actions workflow_dispatch inputs MUST be empty
31-
REPOSITORY_CHECKOV_ARGUMENTS: --skip-check CKV_GHA_7
29+
REPOSITORY_CHECKOV_ARGUMENTS: --quiet
3230

3331
# Do not leave debug code in production, Insecure URL
3432
REPOSITORY_DEVSKIM_ARGUMENTS: --ignore-globs CHANGELOG.md --ignore-rule-ids DS162092,DS137138

.trivyignore.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
vulnerabilities:
2-
# │ glob-parent │ CVE-2020-28469 │ HIGH │ fixed │ 3.1.0 │ 5.1.2 │ Regular expression denial of service │
2+
# │ glob-parent │ CVE-2020-28469 │ HIGH │ fixed │ 3.1.0 │ 5.1.2 │ Regular expression denial of service │
33
- id: CVE-2020-28469
4-
# │ json5 │ CVE-2022-46175 │ HIGH │ fixed │ 0.5.1 │ 2.2.2, 1.0.2 │ json5: Prototype Pollution in JSON5 via Parse Method │
4+
# │ json5 │ CVE-2022-46175 │ HIGH │ fixed │ 0.5.1 │ 2.2.2, 1.0.2 │ json5: Prototype Pollution in JSON5 via Parse Method │
55
- id: CVE-2022-46175
6-
# │ loader-utils │ CVE-2022-37601 │ CRITICAL │ fixed │ 0.2.17 │ 2.0.3, 1.4.1 │ loader-utils: prototype pollution in function parseQuery in │
6+
# │ loader-utils │ CVE-2022-37601 │ CRITICAL │ fixed │ 0.2.17 │ 2.0.3, 1.4.1 │ loader-utils: prototype pollution in function parseQuery in │
77
- id: CVE-2022-37601
8-
# │ node-forge │ CVE-2022-24771 │ HIGH │ fixed │ 0.10.0 │ 1.3.0 │ node-forge: Signature verification leniency in checking │
8+
# │ node-forge │ CVE-2022-24771 │ HIGH │ fixed │ 0.10.0 │ 1.3.0 │ node-forge: Signature verification leniency in checking │
99
- id: CVE-2022-24771
10-
# │ node-forge │ CVE-2022-24772 │ HIGH │ fixed │ 0.10.0 │ 1.3.0 │ node-forge: Signature verification failing to check tailing │
10+
# │ node-forge │ CVE-2022-24772 │ HIGH │ fixed │ 0.10.0 │ 1.3.0 │ node-forge: Signature verification failing to check tailing │
1111
- id: CVE-2022-24772
12-
# │ nth-check │ CVE-2021-3803 │ HIGH │ fixed │ 1.0.2 │ 2.0.1 │ inefficient regular expression complexity │
12+
# │ nth-check │ CVE-2021-3803 │ HIGH │ fixed │ 1.0.2 │ 2.0.1 │ inefficient regular expression complexity │
1313
- id: CVE-2021-3803
14+
# | ip │ CVE-2023-42282 │ HIGH │ affected │ 1.1.8 │ │ An issue in NPM IP Package v.1.1.8 and before allows an │
15+
- id: CVE-2023-42282

0 commit comments

Comments
 (0)