From 684fdc59d40be38e00a327425bf6ab42220eb177 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Tue, 21 May 2024 12:25:24 +0300 Subject: [PATCH 01/85] change message --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 541532ebe..96304c548 100644 --- a/app.js +++ b/app.js @@ -2,7 +2,7 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World!')); +app.get('/', (req, res) => res.send('Hello World - this is update 1.1!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From adae4738d76aa0e6f79c3bdc7de25f44e04dd1cc Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Tue, 25 Jun 2024 10:16:03 +0300 Subject: [PATCH 02/85] change message --- app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index 96304c548..83f348c7f 100644 --- a/app.js +++ b/app.js @@ -2,7 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - this is update 1.1!')); - +app.get('/', (req, res) => res.send('Hello World - this is update 3.1!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From fd1fe5bcfc941220e22fbf27ff6aee77054cfe9a Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Tue, 25 Jun 2024 10:25:44 +0300 Subject: [PATCH 03/85] change message --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 83f348c7f..4767ae8b3 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - this is update 3.1!')); +app.get('/', (req, res) => res.send('Hello World - this is update 4.1!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 8519dca692dfe6c88a63ef611e05194063530547 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 13:43:03 +0300 Subject: [PATCH 04/85] Create buildspec.yml after talk with Lior S. --- buildspec.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 buildspec.yml diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 000000000..38677f37f --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,15 @@ +version: 0.2 +env: + secrets-manager: + SPECTRAL_DSN: arn:aws:secretsmanager:us-west-2:236713641735:secret:peterg-geqtrw:SPECTRAL_DSN +phases: + build: + commands: + - npm i --save +artifacts: + files: + - '**/*' +post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh + - $HOME/.spectral/spectral scan --ok --include-tags base,audit From 9c43aa5c0b91e5bc5aedd709a9f79b9fdea7db38 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 13:56:20 +0300 Subject: [PATCH 05/85] Update buildspec.yml secret manager can;t be deleted --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 38677f37f..e2715497a 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,7 +1,7 @@ version: 0.2 env: secrets-manager: - SPECTRAL_DSN: arn:aws:secretsmanager:us-west-2:236713641735:secret:peterg-geqtrw:SPECTRAL_DSN + SPECTRAL_DSN: arn:aws:https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com:us-west-2:236713641735:secret:peterg-geqtrw:SPECTRAL_DSN phases: build: commands: From 764279604c8238713be2d49238475e7f94a4cac5 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 13:58:49 +0300 Subject: [PATCH 06/85] Update buildspec.yml overrule everything --- buildspec.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index e2715497a..353e20692 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,7 +1,6 @@ version: 0.2 env: - secrets-manager: - SPECTRAL_DSN: arn:aws:https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com:us-west-2:236713641735:secret:peterg-geqtrw:SPECTRAL_DSN + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com phases: build: commands: From d2d812919aa0d4c9c5e9c55781cf16b5b06f38fd Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 14:46:54 +0300 Subject: [PATCH 07/85] Update buildspec.yml another try after Lior build her lab --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 353e20692..c2690bcd9 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,7 +8,7 @@ phases: artifacts: files: - '**/*' -post_build: + post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh - - $HOME/.spectral/spectral scan --ok --include-tags base,audit + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit From 45f31722fbf492e19150d8357b6df33c6ba3ab53 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 14:54:16 +0300 Subject: [PATCH 08/85] Update buildspec.yml another try --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index c2690bcd9..baf5f06c4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,4 +11,4 @@ artifacts: post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit + - $HOME/.spectral/spectral scan --ok --include-tags base,audit From 587a6120624b72ed2d69c9e5f46d63b0130a9a56 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 15:06:42 +0300 Subject: [PATCH 09/85] Update buildspec.yml another try --- buildspec.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index baf5f06c4..dcda31292 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,11 +4,8 @@ env: phases: build: commands: - - npm i --save -artifacts: - files: - - '**/*' + - ... post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh - - $HOME/.spectral/spectral scan --ok --include-tags base,audit + - $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss --include-tags base,audit,iac From 57864b0098b7c3837ee2325dcf433f5410252c9e Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 15:09:53 +0300 Subject: [PATCH 10/85] Update buildspec.yml another change --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index dcda31292..631de7cbe 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,4 +8,4 @@ phases: post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh - - $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss --include-tags base,audit,iac + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss --include-tags base,audit,iac From 2d0faf5eaba618ea5c10ab8f97afa301ed25f704 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 15:17:34 +0300 Subject: [PATCH 11/85] Update buildspec.yml last change, it should now work --- buildspec.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 631de7cbe..703aeade6 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,7 +4,10 @@ env: phases: build: commands: - - ... + - npm i --save +artifacts: + files: + - '**/*' post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh From cf33461eedb405f921f9ec1a541e8235d970ff2e Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 15:38:42 +0300 Subject: [PATCH 12/85] Update buildspec.yml --- buildspec.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 703aeade6..b8d501570 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,10 +4,7 @@ env: phases: build: commands: - - npm i --save -artifacts: - files: - - '**/*' + - ... post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh From 7ac5f28f58e1783a188908a6021635c7fd9e15cb Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 15:40:22 +0300 Subject: [PATCH 13/85] Update buildspec.yml the issue is with the commands, trying step by step --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index b8d501570..31d23e039 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,7 +4,7 @@ env: phases: build: commands: - - ... + - npm i --save post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh From 3e25df98b7fd6cd6e5c885ada6b4faa54ec24b47 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 15:47:42 +0300 Subject: [PATCH 14/85] Update buildspec.yml artifact issue --- buildspec.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 31d23e039..9417eb684 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,10 +1,15 @@ version: 0.2 env: SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save + +phases: + build: + commands: + - npm i --save +artifacts: + files: + - '**/*' + post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh From 2297bb23869e0641c8253b71ac03fc76896e61e8 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 25 Jun 2024 15:56:14 +0300 Subject: [PATCH 15/85] Update buildspec.yml syntax --- buildspec.yml | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 9417eb684..1aef34cdb 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,16 +1,17 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com - -phases: - build: - commands: - - npm i --save -artifacts: - files: - - '**/*' - - post_build: + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss --include-tags base,audit,iac + - npm i --save +artifacts: + files: + - "**/*" +post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" + | sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss + --include-tags base,audit,iac From b7194c2cbd2102eb24f178c5c4ff9006fc8d3619 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Tue, 25 Jun 2024 16:03:21 +0300 Subject: [PATCH 16/85] change message --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 4767ae8b3..eeb86c70d 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - this is update 4.1!')); +app.get('/', (req, res) => res.send('Hello World - this version is scanned!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 9bee4ac8930c3c3ff894e43bdca5e1ece382c174 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Tue, 25 Jun 2024 16:21:19 +0300 Subject: [PATCH 17/85] added new content --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index eeb86c70d..642847817 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - this version is scanned!')); +app.get('/', (req, res) => res.send('Hello World - this version is scanned again!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 426f36bea2bb9de26d9677e8dc30b7fc9ceff68a Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Tue, 25 Jun 2024 16:22:34 +0300 Subject: [PATCH 18/85] new line of code --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 642847817..86834aa3a 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - this version is scanned again!')); +app.get('/', (req, res) => res.send('Hello World - this version is scanned again and again!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 2ea8ef5e7c08a6068ab9943c63cb706f22201398 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Tue, 25 Jun 2024 17:17:06 +0300 Subject: [PATCH 19/85] ok --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 86834aa3a..56205e700 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - this version is scanned again and again!')); +app.get('/', (req, res) => res.send('Hello World - this version is scanned again and again and again!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 37edfa448b9e945ceb5d28d59e79e0c056cbea26 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Wed, 26 Jun 2024 16:33:28 +0300 Subject: [PATCH 20/85] change message --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 56205e700..b246f8649 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - this version is scanned again and again and again!')); +app.get('/', (req, res) => res.send('Hello World - Here I am!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From b07a86c9add33d6e35c7084fcde19638ace9c9e9 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Wed, 26 Jun 2024 16:48:31 +0300 Subject: [PATCH 21/85] change message --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index b246f8649..05aafdf4b 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - Here I am!')); +app.get('/', (req, res) => res.send('Hello World - Here I am!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 49d971073abb2a86ab9ea60ab7fcd99e149d5d16 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 12:58:44 +0300 Subject: [PATCH 22/85] approved --- buildspec.yml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 buildspec.yml diff --git a/buildspec.yml b/buildspec.yml deleted file mode 100644 index 1aef34cdb..000000000 --- a/buildspec.yml +++ /dev/null @@ -1,17 +0,0 @@ -version: 0.2 -env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save -artifacts: - files: - - "**/*" -post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" - | sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com - $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss - --include-tags base,audit,iac From 897be7c770a007adaec87c13405f41860871fc08 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 13:45:58 +0300 Subject: [PATCH 23/85] new changes --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 05aafdf4b..78811d5eb 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - Here I am!!')); +app.get('/', (req, res) => res.send('Hello World - Here I am again!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From a0dfd95b719d46baae99101e7f0501c55fb0e1d8 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 14:51:55 +0300 Subject: [PATCH 24/85] agreed --- buildspec.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 buildspec.yml diff --git a/buildspec.yml b/buildspec.yml new file mode 100644 index 000000000..1aef34cdb --- /dev/null +++ b/buildspec.yml @@ -0,0 +1,17 @@ +version: 0.2 +env: + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: + commands: + - npm i --save +artifacts: + files: + - "**/*" +post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" + | sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss + --include-tags base,audit,iac From 23f0927476f21077cbbfe82673fce23ca8d7aa83 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 15:15:01 +0300 Subject: [PATCH 25/85] ok --- buildspec.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 1aef34cdb..ceb0f5d0a 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,6 +1,6 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com phases: build: commands: @@ -10,8 +10,5 @@ artifacts: - "**/*" post_build: commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" - | sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com - $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss - --include-tags base,audit,iac + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From 5ffa6ad0b69358f1a774706e4bda169839b61e8c Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:18:41 +0300 Subject: [PATCH 26/85] Update buildspec.yml not sure what to do --- buildspec.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index ceb0f5d0a..7f6448b20 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,11 +4,8 @@ env: phases: build: commands: - - npm i --save -artifacts: - files: - - "**/*" + - ... post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit From e04b20e8c362d45a6856a8ea220bf3df83bf6889 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 15:23:47 +0300 Subject: [PATCH 27/85] ete --- buildspec.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index ceb0f5d0a..925f1ff20 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,14 +1,14 @@ version: 0.2 env: SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save -artifacts: - files: - - "**/*" -post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file +phases: + build: + commands: + - npm i --save +artifacts: + files: + - '**/*' + post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From 2ada7267a956c17198f62be71c9882b68792c7d2 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:25:21 +0300 Subject: [PATCH 28/85] Update buildspec.yml testing --- buildspec.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 7f6448b20..0953c2c53 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,11 +1,14 @@ version: 0.2 env: SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - ... -post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit +phases: + build: + commands: + - npm i --save +artifacts: + files: + - '**/*' + post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit From 5a5c016e37245616bfd2409404b6ff54221c1eb3 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:27:48 +0300 Subject: [PATCH 29/85] Update buildspec.yml try --- buildspec.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 0953c2c53..004b25b62 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,9 +5,6 @@ phases: build: commands: - npm i --save -artifacts: - files: - - '**/*' post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh From 3e4e1dd6ee872fa43b59db41ee374f4fdf258e93 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:29:32 +0300 Subject: [PATCH 30/85] Update buildspec.yml try again --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 004b25b62..e7dfa4dc8 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,6 +1,6 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com phases: build: commands: From 979aaf74a73035185affd6fbdf2a087dcfb72b7b Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:32:59 +0300 Subject: [PATCH 31/85] Update buildspec.yml Restore last working version from 25/6 --- buildspec.yml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index e7dfa4dc8..5cdda697e 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,11 +1,17 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save - post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: + commands: + - npm i --save +artifacts: + files: + - "**/*" +post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" + | sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss + --include-tags base,audit,iac From d52b0762f992d1b787966ad60cf3f5b56e0dd2ee Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:34:54 +0300 Subject: [PATCH 32/85] Update buildspec.yml getting crazy --- buildspec.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 5cdda697e..baeb3478b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,9 +5,9 @@ phases: build: commands: - npm i --save -artifacts: - files: - - "**/*" + artifacts: + files: + - "**/*" post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" From d682df99ca66a871d06a787ab51915d3c5ed49dc Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:36:55 +0300 Subject: [PATCH 33/85] Update buildspec.yml again --- buildspec.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index baeb3478b..e7dfa4dc8 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,17 +1,11 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save - artifacts: - files: - - "**/*" -post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" - | sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com - $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss - --include-tags base,audit,iac + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: + commands: + - npm i --save + post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit From 98fa6c43f52086b11f04197db417c7ac24305ec0 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:41:59 +0300 Subject: [PATCH 34/85] Update buildspec.yml adding artifacts again --- buildspec.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildspec.yml b/buildspec.yml index e7dfa4dc8..1955105cf 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,6 +5,10 @@ phases: build: commands: - npm i --save +artifacts: + files: + - '**/*' + post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh From a70f054c1a1ca8dac5854cc96f71441e186c8c5a Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:43:01 +0300 Subject: [PATCH 35/85] Update buildspec.yml syntax?? --- buildspec.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 1955105cf..609bbc3c4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,10 +5,9 @@ phases: build: commands: - npm i --save -artifacts: - files: - - '**/*' - + artifacts: + files: + - '**/*' post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh From 9b8ad6bca42ce0485646b3aed108d642c144c75d Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:44:39 +0300 Subject: [PATCH 36/85] Update buildspec.yml keeps going wrong with artifacts --- buildspec.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 609bbc3c4..0b22c437d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,14 +1,16 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save - artifacts: - files: - - '**/*' - post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: + commands: + - npm i --save +artifacts: + files: + - "**/*" +post_build: + commands: + - curl -L + "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + $HOME/.spectral/spectral scan --ok --include-tags base,audit From 9e26d2d3a972363eed006ae005ef8c49e69fcdd4 Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Thu, 27 Jun 2024 15:47:22 +0300 Subject: [PATCH 37/85] Update buildspec.yml without artifacts --- buildspec.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 0b22c437d..aa553b928 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,16 +1,12 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save -artifacts: - files: - - "**/*" -post_build: - commands: - - curl -L - "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com - $HOME/.spectral/spectral scan --ok --include-tags base,audit + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: + commands: + - npm i --save + + post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit From 21707a467e61fb400b9e66f3197d6f6364b8aa12 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 15:50:36 +0300 Subject: [PATCH 38/85] all modifications --- app.js | 2 +- buildspec.yml | 25 ++++++++++++++----------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/app.js b/app.js index 78811d5eb..6af386161 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - Here I am again!!')); +app.get('/', (req, res) => res.send('Hello World - I am done with today!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); diff --git a/buildspec.yml b/buildspec.yml index 925f1ff20..067d5dfff 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,14 +1,17 @@ version: 0.2 env: SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save -artifacts: - files: - - '**/*' - post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file +phases: + build: + commands: + - npm i --save +artifacts: + files: + - "**/*" +post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" + | sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + $HOME/.spectral/spectral scan --ok --engines secrets,iac,oss + --include-tags base,audit,iac \ No newline at end of file From f7f080585a339676e354ae37b8d0ecb2061b92e7 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:13:51 +0300 Subject: [PATCH 39/85] yes! --- buildspec.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index aa553b928..b2e32eb13 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,12 +1,14 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save - - post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: + commands: + - npm i --save +artifacts: + files: + - "**/*" +post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From d25e93155ceb5b9d9dfc3f6faf09741301f2a32a Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:21:59 +0300 Subject: [PATCH 40/85] ysy --- buildspec.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index b2e32eb13..52d2d1cff 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,9 +5,6 @@ phases: build: commands: - npm i --save -artifacts: - files: - - "**/*" post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh From 8f431cbb30dd162fc765dc07e29cb1e2c5ee568d Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:27:05 +0300 Subject: [PATCH 41/85] yes --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 52d2d1cff..c9ad0a5d1 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,7 +5,7 @@ phases: build: commands: - npm i --save -post_build: + post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From 8a700dbe1dcc641254d03485bbd812026d4c07ce Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:33:08 +0300 Subject: [PATCH 42/85] yes --- buildspec.yml | 3 +++ buildspec.yml-working-file | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 buildspec.yml-working-file diff --git a/buildspec.yml b/buildspec.yml index c9ad0a5d1..7fcae3fe4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,6 +5,9 @@ phases: build: commands: - npm i --save + artifacts: + files: + - '**/*' post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh diff --git a/buildspec.yml-working-file b/buildspec.yml-working-file new file mode 100644 index 000000000..c9ad0a5d1 --- /dev/null +++ b/buildspec.yml-working-file @@ -0,0 +1,11 @@ +version: 0.2 +env: + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: + commands: + - npm i --save + post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From 1f830229d6c1d9208952dfcee56d61e1bb6e66f2 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:35:21 +0300 Subject: [PATCH 43/85] ok --- buildspec.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 7fcae3fe4..27d64639b 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,9 +4,9 @@ env: phases: build: commands: - - npm i --save - artifacts: - files: + - npm i --save + artifacts: + files: - '**/*' post_build: commands: From c820b890fd1ca8d847f726dc845e61a3ce22ed56 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:36:55 +0300 Subject: [PATCH 44/85] ye --- buildspec.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 27d64639b..39ea152ac 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,11 +4,13 @@ env: phases: build: commands: - - npm i --save - artifacts: - files: - - '**/*' + - npm i --save + artifacts: + files: + - "**/*" post_build: commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file + - curl -L + "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From a77b721ffd67506b5c70fae5add75ff5528ee7ef Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:38:25 +0300 Subject: [PATCH 45/85] ed --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 39ea152ac..7bad47315 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,7 +5,7 @@ phases: build: commands: - npm i --save - artifacts: + artifacts: files: - "**/*" post_build: From 6817830b2ed61c25a2ac82843a5ff351c282ced8 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:41:48 +0300 Subject: [PATCH 46/85] ere --- buildspec.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 7bad47315..a59fb7615 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,12 +1,13 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + variables: + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com phases: build: commands: - npm i --save - artifacts: - files: +artifacts: + files: - "**/*" post_build: commands: From f8ad712dbf10393eb4507965e7f6faa7cd1eeb23 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:42:54 +0300 Subject: [PATCH 47/85] sdfg --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index a59fb7615..0520d8c38 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,7 +8,7 @@ phases: - npm i --save artifacts: files: - - "**/*" + - "**/*" post_build: commands: - curl -L From cbd35e09b6248789da81108a0465c26b391e219d Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:45:45 +0300 Subject: [PATCH 48/85] asdf --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 0520d8c38..bc81df748 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,8 +7,8 @@ phases: commands: - npm i --save artifacts: - files: - - "**/*" + files: + - **/* post_build: commands: - curl -L From 2e52234ffd4443f62e13afa170e11eec5908d5bc Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:48:31 +0300 Subject: [PATCH 49/85] asdf --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index bc81df748..277016051 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,7 +8,7 @@ phases: - npm i --save artifacts: files: - - **/* + - "**/*" post_build: commands: - curl -L From c3b792ed8a83d8e8d9b0514654d8a97e5b4d857e Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:50:07 +0300 Subject: [PATCH 50/85] sdfg --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 277016051..454c6e6c8 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -9,7 +9,7 @@ phases: artifacts: files: - "**/*" - post_build: + post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh From 5109c255d0de5168c90505793be3a691a2454827 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:51:22 +0300 Subject: [PATCH 51/85] gfhzsfdg zcv --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 454c6e6c8..6dcf4e16f 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -8,8 +8,8 @@ phases: - npm i --save artifacts: files: - - "**/*" - post_build: + - "**/*" +post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh From 505c99a6c5e51e465ba450910859b827829c1b5a Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:57:39 +0300 Subject: [PATCH 52/85] asdf --- buildspec.yml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 6dcf4e16f..5040006b5 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,17 +1,14 @@ version: 0.2 env: - variables: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com +phases: + build: + commands: + - npm i --save +artifacts: + files: + - '**/*' + post_build: commands: - - npm i --save -artifacts: - files: - - "**/*" -post_build: - commands: - - curl -L - "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com - $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh + - $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From cc0c14c9ee9b613e45c1696a4e142bc4bd126322 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 16:59:11 +0300 Subject: [PATCH 53/85] asdf --- buildspec.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 5040006b5..925f1ff20 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,6 +1,6 @@ version: 0.2 env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com phases: build: commands: @@ -8,7 +8,7 @@ phases: artifacts: files: - '**/*' - post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN" | sh - - $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file + post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From ed12f884ffe78b8158f83ecfb052212d0cdf42bb Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 17:00:46 +0300 Subject: [PATCH 54/85] adsf --- buildspec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yml b/buildspec.yml index 925f1ff20..cbc1844e1 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,4 +1,5 @@ version: 0.2 +variables: env: SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com phases: From 4a377ef2228d81a3af49c63ea28fb5ea1d27495b Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 17:03:07 +0300 Subject: [PATCH 55/85] fdsg --- buildspec.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index cbc1844e1..925f1ff20 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,5 +1,4 @@ version: 0.2 -variables: env: SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com phases: From 05eb5c7e1b215526c77f83c0f7f32da495450916 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 17:05:28 +0300 Subject: [PATCH 56/85] asdf --- buildspec.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 925f1ff20..310c7c4cf 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,10 +5,10 @@ phases: build: commands: - npm i --save -artifacts: - files: - - '**/*' post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit +artifacts: + files: + - '**/*' \ No newline at end of file From 72b0823670ba007c81553adb1bd876f4b890c575 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 17:22:04 +0300 Subject: [PATCH 57/85] asdfasdf --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 6af386161..7b44b0573 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - I am done with today!!')); +app.get('/', (req, res) => res.send('Hello World - I am done with today again!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 9ca168e18e0e554ac68fe8f9e9c2f4d418259480 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Thu, 27 Jun 2024 17:53:34 +0300 Subject: [PATCH 58/85] ghkuj --- buildspec.yml | 8 ++++---- buildspec.yml-working-file | 11 ----------- 2 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 buildspec.yml-working-file diff --git a/buildspec.yml b/buildspec.yml index 310c7c4cf..a59b687a3 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,10 +5,10 @@ phases: build: commands: - npm i --save - post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit +# post_build: +# commands: +# - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh +# - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit artifacts: files: - '**/*' \ No newline at end of file diff --git a/buildspec.yml-working-file b/buildspec.yml-working-file deleted file mode 100644 index c9ad0a5d1..000000000 --- a/buildspec.yml-working-file +++ /dev/null @@ -1,11 +0,0 @@ -version: 0.2 -env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save - post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit \ No newline at end of file From fe53aa1a253b5502da323d96f84d7440cee355b3 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 13:09:20 +0300 Subject: [PATCH 59/85] uyes!! --- buildspec.yml | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index a59b687a3..db8ac054f 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,14 +1,23 @@ version: 0.2 + +phases: + install: + commands: + - echo Installing dependencies... + - npm i --save + build: + commands: + - echo Building the project... + - make build + post_build: + commands: + - https://spectral-eu.checkpoint.com/latest/x/sh?dsn=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,auditecho Running post-build commands... +artifacts: + files: + - build/**/* + env: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com -phases: - build: - commands: - - npm i --save -# post_build: -# commands: -# - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh -# - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit -artifacts: - files: - - '**/*' \ No newline at end of file + variables: + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + \ No newline at end of file From 2230d3b4bd154f8fa0106fb5cbfbc7d92188f0a8 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 13:18:36 +0300 Subject: [PATCH 60/85] eter --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index db8ac054f..94f318a3e 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -11,7 +11,7 @@ phases: - make build post_build: commands: - - https://spectral-eu.checkpoint.com/latest/x/sh?dsn=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com"| sh + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com"| sh - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,auditecho Running post-build commands... artifacts: files: From f784eeb3f9937066139f86b59fb80f0aa170d84b Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 13:26:28 +0300 Subject: [PATCH 61/85] asf --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 94f318a3e..1353d3d3d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -15,7 +15,7 @@ phases: - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,auditecho Running post-build commands... artifacts: files: - - build/**/* + - "**/*" env: variables: From 7cfdeb53f90e101e3603ddf02234df7271c56675 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 13:29:11 +0300 Subject: [PATCH 62/85] asdf --- buildspec.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 1353d3d3d..4bbe97ce4 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -2,13 +2,10 @@ version: 0.2 phases: install: - commands: - - echo Installing dependencies... - - npm i --save build: commands: - echo Building the project... - - make build + - npm i --save post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com"| sh From fb34ebd6b3a51211c3883bfb8b29ce75a9db416b Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 13:31:07 +0300 Subject: [PATCH 63/85] asdf --- buildspec.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index 4bbe97ce4..92e9d7773 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,7 +1,6 @@ version: 0.2 phases: - install: build: commands: - echo Building the project... From 842c3bde0ea3f9dcf3d7a13b38f7f7d3c2b69bcc Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 13:33:41 +0300 Subject: [PATCH 64/85] asdfasdfs --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 92e9d7773..5d96b2742 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -7,8 +7,8 @@ phases: - npm i --save post_build: commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,auditecho Running post-build commands... + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit artifacts: files: - "**/*" From 5a2c5d111a8ac4165f9a51c0cb9ade00192f1119 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 13:35:23 +0300 Subject: [PATCH 65/85] asdf --- buildspec.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 5d96b2742..bea667c38 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -12,8 +12,6 @@ phases: artifacts: files: - "**/*" - env: variables: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com - \ No newline at end of file + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com \ No newline at end of file From 1512252af8bcdce77c03c253d651fd5f0694b936 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 13:37:37 +0300 Subject: [PATCH 66/85] asdf --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 7b44b0573..13c1541b6 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - I am done with today again!!')); +app.get('/', (req, res) => res.send('Hello World - working on Friday - autsj!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 2955a50c81353840b8ba93dc6f98f7a50747ff16 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 17:29:11 +0300 Subject: [PATCH 67/85] asdf --- app.js | 2 +- buildspec.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app.js b/app.js index 13c1541b6..e8368f112 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - working on Friday - autsj!!')); +app.get('/', (req, res) => res.send('Hello World - working on Friday - au!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); diff --git a/buildspec.yml b/buildspec.yml index bea667c38..8f5b88fdc 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,7 +3,6 @@ version: 0.2 phases: build: commands: - - echo Building the project... - npm i --save post_build: commands: From 5b74eaa42d628bd923966dcae3c814b6bf63bc18 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Fri, 28 Jun 2024 17:35:30 +0300 Subject: [PATCH 68/85] asdf --- buildspec.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/buildspec.yml b/buildspec.yml index 8f5b88fdc..bea667c38 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -3,6 +3,7 @@ version: 0.2 phases: build: commands: + - echo Building the project... - npm i --save post_build: commands: From 0488cb6a03bb336cd746135fe59a991ec08d697a Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Sun, 30 Jun 2024 08:46:40 +0300 Subject: [PATCH 69/85] adsf --- buildspec.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index bea667c38..0b065dec2 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,13 +5,6 @@ phases: commands: - echo Building the project... - npm i --save - post_build: - commands: - - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit artifacts: files: - "**/*" -env: - variables: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com \ No newline at end of file From 8ab4f141700d14ef233e5fa762b4c35fdb526bb5 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Sun, 30 Jun 2024 09:13:41 +0300 Subject: [PATCH 70/85] Created new branch and updated the app.js --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index e8368f112..6e8bc833a 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Hello World - working on Friday - au!!')); +app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 08f570a40c9e1d7ad174747635cae12cb8697279 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Sun, 30 Jun 2024 09:49:58 +0300 Subject: [PATCH 71/85] changing the website app.js with Firewall R80 --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 6e8bc833a..c080e0340 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80')); +app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 1aafabdbc3a36355b4dae628e8e612cd70ba5872 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Sun, 30 Jun 2024 10:07:42 +0300 Subject: [PATCH 72/85] change the branch in pipeline --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index c080e0340..6e8bc833a 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80!')); +app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 28c12c829b27b22b4c1d4d1b97be75629e4f7701 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Sun, 30 Jun 2024 10:10:41 +0300 Subject: [PATCH 73/85] yessad --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 6e8bc833a..c080e0340 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80')); +app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 46eb5f7968fb6e034036976497910d1ea933a3b7 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Sun, 30 Jun 2024 10:15:11 +0300 Subject: [PATCH 74/85] another commit addiing the new branch in pipeline --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index c080e0340..b97586aa5 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80!')); +app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From c19c9f0d39da315d846c8b3463be9026ddcbf399 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Sun, 30 Jun 2024 14:20:16 +0300 Subject: [PATCH 75/85] change to Code Security --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index b97586aa5..a8a48d003 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80!!')); +app.get('/', (req, res) => res.send('Welcome to our training class on Code Security!!')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 9394867a8fafdd192c51b155a814d470d017d7ec Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Sun, 30 Jun 2024 17:40:42 +0300 Subject: [PATCH 76/85] added spectral open source --- buildspec.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/buildspec.yml b/buildspec.yml index 0b065dec2..d6b207587 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,6 +5,13 @@ phases: commands: - echo Building the project... - npm i --save + post_build: + commands: + - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh + - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit artifacts: files: - "**/*" +env: + variables: + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com \ No newline at end of file From 4e17fad95dc4581d713dae4a7e9021bc343f62be Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Mon, 1 Jul 2024 10:43:39 +0300 Subject: [PATCH 77/85] back to classroom status --- app.js | 2 +- buildspec.yml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index a8a48d003..6e8bc833a 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Code Security!!')); +app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80')); app.listen(port); console.log(`App running on http://localhost:${port}`); diff --git a/buildspec.yml b/buildspec.yml index d6b207587..56989f04d 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,5 +1,8 @@ version: 0.2 - +env: + secrets-manager: + SPECTRAL_DSN: arn:aws:secretsmanager:us-west-2:236713641735:secret:SPECTRAL-PrZkpH:SPECTRAL_DSN + phases: build: commands: @@ -8,7 +11,7 @@ phases: post_build: commands: - curl -L "https://spectral-eu.checkpoint.com/latest/x/sh?dsn=$SPECTRAL_DSN"| sh - - SPECTRAL_DSN=https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com $HOME/.spectral/spectral scan --ok --include-tags base,audit + - $HOME/.spectral/spectral scan --ok --include-tags base,audit artifacts: files: - "**/*" From 21581e37c33c02b2e83f221824a49d145f90fb33 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Mon, 1 Jul 2024 10:46:33 +0300 Subject: [PATCH 78/85] changed the env key --- buildspec.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 56989f04d..95ed58688 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,7 +1,4 @@ version: 0.2 -env: - secrets-manager: - SPECTRAL_DSN: arn:aws:secretsmanager:us-west-2:236713641735:secret:SPECTRAL-PrZkpH:SPECTRAL_DSN phases: build: @@ -17,4 +14,6 @@ artifacts: - "**/*" env: variables: - SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com \ No newline at end of file +# SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com + secrets-manager: + SPECTRAL_DSN: arn:aws:secretsmanager:us-west-2:236713641735:secret:SPECTRAL-PrZkpH:SPECTRAL_DSN \ No newline at end of file From 90337f6b4f4b2f4447ef6759dee3d72cff6a87c9 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Mon, 1 Jul 2024 10:48:40 +0300 Subject: [PATCH 79/85] changes in Secret key definition --- buildspec.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 95ed58688..f3a29b860 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,4 +1,8 @@ version: 0.2 + +env: + secrets-manager: + SPECTRAL_DSN: arn:aws:secretsmanager:us-west-2:236713641735:secret:SPECTRAL-PrZkpH:SPECTRAL_DSN phases: build: @@ -12,8 +16,6 @@ phases: artifacts: files: - "**/*" -env: - variables: -# SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com - secrets-manager: - SPECTRAL_DSN: arn:aws:secretsmanager:us-west-2:236713641735:secret:SPECTRAL-PrZkpH:SPECTRAL_DSN \ No newline at end of file +#env: +# variables: +# SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com \ No newline at end of file From 4c700addf2dda4bb6f7f613c93f289ec1d070a57 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Mon, 1 Jul 2024 11:02:58 +0300 Subject: [PATCH 80/85] test with new permissoin policy in the secret manager for my user arn { "Version": "2012-10-17", "Statement": [{ "Sid": "policyForSomething", "Effect": "Allow", "Principal": { "AWS": [ "arn:aws:iam::236713641735:user/odl_user_1322077" ] }, "Action": "secretsmanager:*", "Resource": "*" }] } --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 6e8bc833a..655b02a1c 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80')); +app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80 again')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 37021c1020b0c64cb0aa5416302f89b3aedd50aa Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Mon, 1 Jul 2024 11:13:19 +0300 Subject: [PATCH 81/85] changed the policy using chatgpt --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 655b02a1c..da10e0fb8 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80 again')); +app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80 again :)')); app.listen(port); console.log(`App running on http://localhost:${port}`); From af39d64586cac90a49ba13c338138516f32f70ab Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Mon, 1 Jul 2024 11:25:42 +0300 Subject: [PATCH 82/85] the permissoin should have been in my service role arn:aws:iam::236713641735:role/service-role/Build-DevOpsGettingStarted-service-role-peterg --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index da10e0fb8..dcae83927 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our training class on Firewalls R80 again :)')); +app.get('/', (req, res) => res.send('Welcome to our new training class on Firewalls R80 again :)')); app.listen(port); console.log(`App running on http://localhost:${port}`); From efc89a086a6fc4a9d4175146c1db537a0717e880 Mon Sep 17 00:00:00 2001 From: Peter Griekspoor Date: Mon, 1 Jul 2024 11:37:20 +0300 Subject: [PATCH 83/85] removed secret --- buildspec.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index f3a29b860..b0131da99 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,8 +1,8 @@ version: 0.2 -env: - secrets-manager: - SPECTRAL_DSN: arn:aws:secretsmanager:us-west-2:236713641735:secret:SPECTRAL-PrZkpH:SPECTRAL_DSN +#env: +# secrets-manager: +# SPECTRAL_DSN: aarn:aws:secretsmanager:us-west-2:236713641735:secret:SPECTRAL-PrZkpH:SPECTRAL_DSN phases: build: @@ -16,6 +16,6 @@ phases: artifacts: files: - "**/*" -#env: -# variables: -# SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com \ No newline at end of file +env: + variables: + SPECTRAL_DSN: https://spu-443078044e9648dd9feb6a8280a1fef9@spectral-eu.checkpoint.com \ No newline at end of file From 2614db076bddfd1096fb497a429f4831860d466b Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 2 Jul 2024 06:28:21 +0300 Subject: [PATCH 84/85] start of training web site release 1.0 --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index dcae83927..dcc1d4bfe 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our new training class on Firewalls R80 again :)')); +app.get('/', (req, res) => res.send('Welcome to our new training class on Firewalls R80 :)')); app.listen(port); console.log(`App running on http://localhost:${port}`); From 7f1b44545d2e8c02eaee2096b00afb4a6eb30e5d Mon Sep 17 00:00:00 2001 From: getin2cloudnow Date: Tue, 2 Jul 2024 07:47:39 +0300 Subject: [PATCH 85/85] made a mistake --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index dcc1d4bfe..8f907da69 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,6 @@ const express = require('express'); const app = express(); const port = 8080; -app.get('/', (req, res) => res.send('Welcome to our new training class on Firewalls R80 :)')); +app.get('/', (req, res) => res.send('Welcome to our new training class on Code Security :)')); app.listen(port); console.log(`App running on http://localhost:${port}`);