Skip to content

Commit 33362ab

Browse files
node works
1 parent 3607792 commit 33362ab

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

plugins/tools/eslint/plugin.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: eslint
2+
description: JavaScript Linting Utility
3+
downloads:
4+
- os: [linux, macos, windows]
5+
url_template: "https://registry.npmjs.org/eslint/-/eslint-{{.Version}}.tgz"
6+
file_name_template: "eslint-{{.Version}}"
7+
extension:
8+
default: "tgz"
9+
arch_mapping:
10+
"amd64": "x64"
11+
binaries:
12+
- name: eslint
13+
path: "node_modules/.bin/eslint"

plugins/tools/trivy/plugin.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: trivy
2+
description: Container and Filesystem Vulnerability Scanner
3+
downloads:
4+
- os: [linux]
5+
url_template: "https://github.com/aquasecurity/trivy/releases/download/{{.Version}}/trivy_{{.Version}}_Linux-{{.Arch}}.{{.Extension}}"
6+
file_name_template: "trivy_{{.Version}}_{{.OS}}_{{.Arch}}"
7+
extension:
8+
windows: "zip"
9+
default: "tar.gz"
10+
- os: [macos]
11+
url_template: "https://github.com/aquasecurity/trivy/releases/download/{{.Version}}/trivy_{{.Version}}_macOS-{{.Arch}}.{{.Extension}}"
12+
file_name_template: "trivy_{{.Version}}_{{.OS}}_{{.Arch}}"
13+
extension:
14+
windows: "zip"
15+
default: "tar.gz"
16+
- os: [windows]
17+
url_template: "https://github.com/aquasecurity/trivy/releases/download/{{.Version}}/trivy_{{.Version}}_windows-{{.Arch}}.{{.Extension}}"
18+
file_name_template: "trivy_{{.Version}}_{{.OS}}_{{.Arch}}"
19+
extension:
20+
default: "zip"
21+
arch_mapping:
22+
"386": "x86"
23+
"amd64": "x64"
24+
"arm": "armv7l"
25+
"arm64": "arm64"
26+
binaries:
27+
- name: trivy
28+
path: "trivy"

0 commit comments

Comments
 (0)