Skip to content

Commit 64d8814

Browse files
faranda96Fabrizzio Aranda
andauthored
feat: add megalinter plugin descriptor (#56)
Co-authored-by: Fabrizzio Aranda <[email protected]>
1 parent 33f9479 commit 64d8814

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

.mega-linter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
DISABLE:
23
- COPYPASTE
34
- HTML

.trivyignore.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
misconfigurations:
23
- id: AVD-DS-0026
34
statement: The HEALTHCHECK instruction is meaningless in a Kubernetes context.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
descriptor_id: SOPS
3+
descriptor_type: "tooling_format"
4+
descriptor_flavors:
5+
- security
6+
linters:
7+
- name: SOPS_CHECK
8+
linter_name: sops-check
9+
linter_url: https://github.com/Bonial-International-GmbH/sops-check/
10+
linter_repo: https://github.com/Bonial-International-GmbH/sops-check/
11+
can_output_sarif: true
12+
cli_executable: "sops-check"
13+
cli_config_arg_name: "--config"
14+
cli_lint_mode: "project"
15+
cli_help_arg_name: "--help"
16+
cli_version_arg_name: "--version"
17+
config_file_name: ".sops-check.yaml"
18+
cli_executable_version: "latest"
19+
file_extensions:
20+
- ".yaml"
21+
- ".yml"
22+
- ".json"
23+
- ".env"
24+
- ".ini"
25+
examples:
26+
- "sops-check --config .sops-check.yaml"
27+
- "sops-check --help"
28+
- "sops-check --sarif-report-path=<PATH>"
29+
install:
30+
dockerfile:
31+
- RUN curl -SsL https://github.com/Bonial-International-GmbH/sops-check/releases/latest/download/sops-check_linux_amd64 -o sops-check \
32+
&& chmod +x sops-check \
33+
&& mv sops-check /usr/local/bin

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
site_name: sops-check
23
site_description: |
34
Tool that looks for SOPS files in a repository

0 commit comments

Comments
 (0)