Skip to content

Commit

Permalink
feat: replace other executors with the node executor (#40)
Browse files Browse the repository at this point in the history
All other executors, i.e. `gitleaks`, `semgrep`, and `trivy`, are replaced
with the `node` executor since it encompasses all functionality in one place.
  • Loading branch information
droguljic authored Nov 7, 2024
1 parent d241207 commit a3e9a85
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .circleci/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
echo "Scan found dependencies with high vulnerability level"
fi
scan_dockerfile:
executor: security/trivy
executor: security/node
steps:
- checkout
- security/scan_dockerfile:
Expand Down
2 changes: 1 addition & 1 deletion src/examples/dockerfile_misconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ usage:
security: studion/[email protected]
jobs:
scan_app_dockerfile:
executor: security/trivy
executor: security/node
steps:
- security/scan_dockerfile:
dockerfile_dir: ~/app
Expand Down
19 changes: 0 additions & 19 deletions src/executors/gitleaks.yml

This file was deleted.

19 changes: 0 additions & 19 deletions src/executors/semgrep.yml

This file was deleted.

19 changes: 0 additions & 19 deletions src/executors/trivy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/jobs/analyze_code_diff.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description: >
Run a diff-aware scan on the codebase and report findings.
executor: semgrep
executor: node

parameters:
verbose:
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/analyze_code_full.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description: >
Run a full scan on the codebase and report findings.
executor: semgrep
executor: node

parameters:
verbose:
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/detect_secrets_dir.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description: >
Detect secrets leak inside a project at the directory level.
executor: gitleaks
executor: node

parameters:
source:
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/detect_secrets_git.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description: >
Detect secrets leak inside a project at the repository level.
executor: gitleaks
executor: node

parameters:
config:
Expand Down

0 comments on commit a3e9a85

Please sign in to comment.