From cb029ef5b8d00794f756b62086a5394f4e7f7879 Mon Sep 17 00:00:00 2001 From: lasv-az <122614993+lasv-az@users.noreply.github.com> Date: Mon, 13 Mar 2023 14:13:24 +0100 Subject: [PATCH] Update tf_scan.yml (#607) * Update tf_scan.yml Fix terrascan curl call. * Update tf_scan.yml --- samples/sample-terraform/tf_scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/sample-terraform/tf_scan.yml b/samples/sample-terraform/tf_scan.yml index 02f75f9a9..94b69c36a 100644 --- a/samples/sample-terraform/tf_scan.yml +++ b/samples/sample-terraform/tf_scan.yml @@ -3,7 +3,7 @@ version: 0.2 phases: install: commands: - - curl -L "$(curl -s https://api.github.com/repos/accurics/terrascan/releases/latest | grep -o -E "https://.+?_Linux_x86_64.tar.gz")" > terrascan.tar.gz + - curl -L "$(curl -s https://api.github.com/repositories/103084166/releases/latest | grep -o -E "https:\/\/.+?_Linux_x86_64.tar.gz")" > terrascan.tar.gz - tar -xf terrascan.tar.gz terrascan && rm terrascan.tar.gz - install terrascan /usr/local/bin && rm terrascan build: