-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(Trivy): Port .trivyignore to .trivyignore.yaml
Use the more expressive YAML config format recently introduced in v0.45.0.
- Loading branch information
1 parent
e481e63
commit 901ceca
Showing
4 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
Dockerfiles | ||
ignorefile | ||
Laven | ||
npmcli | ||
npmpackagejsonlintignore | ||
trivy | ||
trivyignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
EXTENDS: https://raw.githubusercontent.com/ScribeMD/.github/0.14.15/.github/base.mega-linter.yaml | ||
JAVASCRIPT_ES_CLI_EXECUTABLE: [node, .yarn/releases/yarn-4.0.2.cjs, run, eslint] | ||
# Work around https://github.com/oxsecurity/megalinter/issues/2500. | ||
REPOSITORY_TRIVY_ARGUMENTS: --ignorefile .trivyignore.yaml | ||
SPELL_CSPELL_PRE_COMMANDS: | ||
- command: npm install @cspell/[email protected] | ||
continue_if_failed: false | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
misconfigurations: | ||
- id: AVD-DS-0002 | ||
paths: | ||
- Dockerfile | ||
- Dockerfile.windows | ||
statement: Dockerfiles only used for testing, so it's okay that user is root. | ||
- id: AVD-DS-0026 | ||
paths: | ||
- Dockerfile | ||
- Dockerfile.windows | ||
statement: Dockerfiles only used for testing, so health check isn't needed. |