From 8b6b3f5d9823a0cb1764954860380d3d56d89b4f Mon Sep 17 00:00:00 2001 From: Jason Luong Date: Fri, 15 Sep 2023 12:20:11 +0100 Subject: [PATCH] feat: deprecate Snyk CLI Docker images BREAKING CHANGE: Remove scan-iac job using deprecated snyk cli docker images Breaking for scan-iac job users - scan-iac job users will need to switch to using snyk/scan with the iac test command, as outlined in src/examples/quickstart-iac-scanning.yml --- .releaserc | 5 ++++- src/examples/quickstart-iac-scanning.yml | 3 ++- src/jobs/scan-iac.yml | 20 -------------------- 3 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 src/jobs/scan-iac.yml diff --git a/.releaserc b/.releaserc index c924413..59e2b87 100644 --- a/.releaserc +++ b/.releaserc @@ -8,7 +8,10 @@ {"type": "chore", "release": "patch"}, {"type": "refactor", "release": "patch"}, {"type": "style", "release": "patch"} - ] + ], + "parserOpts": { + "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] + } } ], [ diff --git a/src/examples/quickstart-iac-scanning.yml b/src/examples/quickstart-iac-scanning.yml index 8cc6141..82b5ca7 100644 --- a/src/examples/quickstart-iac-scanning.yml +++ b/src/examples/quickstart-iac-scanning.yml @@ -10,4 +10,5 @@ usage: workflows: test: jobs: - - snyk/scan-iac + - snyk/scan: + command: iac test diff --git a/src/jobs/scan-iac.yml b/src/jobs/scan-iac.yml deleted file mode 100644 index 0518059..0000000 --- a/src/jobs/scan-iac.yml +++ /dev/null @@ -1,20 +0,0 @@ -description: Scan your applications IaC files for issues - -docker: - - image: snyk/snyk-cli:npm -resource_class: medium - -parameters: - args: - description: > - See the Snyk CLI help page for information on additional arguments: - https://support.snyk.io/hc/en-us/articles/360003812578-CLI-reference - type: string - default: "" - -steps: - - checkout - - scan: - command: "iac test" - additional-arguments: <> - monitor-on-build: false