From 1f82452aacf613ccce2ac1f2fcf9ed60d27bd717 Mon Sep 17 00:00:00 2001 From: igorlombacx Date: Fri, 14 Oct 2022 14:02:17 +0100 Subject: [PATCH 1/5] test --- insecure.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/insecure.php b/insecure.php index 17756ef..d63942e 100644 --- a/insecure.php +++ b/insecure.php @@ -21,8 +21,7 @@ /// Forget to terminate user input after a redirect // if ($_SESSION['user_logged_in'] !== true) { - header('Location: /login.php'); + header('Location: /login.php'); } - // Important private logic that shouldn't happen because we've already redirected the user! From 95b5af3f587e62a59609fe43c1dbaefd645df47a Mon Sep 17 00:00:00 2001 From: igorlombacx Date: Mon, 17 Oct 2022 13:08:07 +0100 Subject: [PATCH 2/5] test --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49eee85..a5a369a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,3 +15,4 @@ jobs: /home/linuxbrew/.linuxbrew/Cellar/ast-cli/*/bin/cx \ brew install checkmarx/ast-cli/ast-cli cx scan create -s ${bamboo.build.working.directory} --project-name ${bamboo.planRepository.1.name} --base-uri ${bamboo.CX_BASE_URI} --tenant ${bamboo.CX_TENANT} --client-id ${bamboo.CX_CLIENT_ID} --client-secret ${bamboo.CX_CLIENT_ID_SECRET} --branch ${bamboo.planRepository.1.branchName} + - run: echo 'done' \ No newline at end of file From 789133d67c1443fada207afea68eea8de907ac64 Mon Sep 17 00:00:00 2001 From: igorlombacx Date: Mon, 17 Oct 2022 13:16:17 +0100 Subject: [PATCH 3/5] test --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5a369a..53e536c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,4 +15,4 @@ jobs: /home/linuxbrew/.linuxbrew/Cellar/ast-cli/*/bin/cx \ brew install checkmarx/ast-cli/ast-cli cx scan create -s ${bamboo.build.working.directory} --project-name ${bamboo.planRepository.1.name} --base-uri ${bamboo.CX_BASE_URI} --tenant ${bamboo.CX_TENANT} --client-id ${bamboo.CX_CLIENT_ID} --client-secret ${bamboo.CX_CLIENT_ID_SECRET} --branch ${bamboo.planRepository.1.branchName} - - run: echo 'done' \ No newline at end of file + - run: echo 'test done' \ No newline at end of file From e23f5cc38f52d969beec7032834251eee617dbad Mon Sep 17 00:00:00 2001 From: igorlombacx Date: Mon, 17 Oct 2022 13:19:56 +0100 Subject: [PATCH 4/5] test --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53e536c..a5a369a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,4 +15,4 @@ jobs: /home/linuxbrew/.linuxbrew/Cellar/ast-cli/*/bin/cx \ brew install checkmarx/ast-cli/ast-cli cx scan create -s ${bamboo.build.working.directory} --project-name ${bamboo.planRepository.1.name} --base-uri ${bamboo.CX_BASE_URI} --tenant ${bamboo.CX_TENANT} --client-id ${bamboo.CX_CLIENT_ID} --client-secret ${bamboo.CX_CLIENT_ID_SECRET} --branch ${bamboo.planRepository.1.branchName} - - run: echo 'test done' \ No newline at end of file + - run: echo 'done' \ No newline at end of file From a4553e930c7fdd7e237c5052178428550fd45fe5 Mon Sep 17 00:00:00 2001 From: igorlombacx Date: Mon, 17 Oct 2022 14:23:45 +0100 Subject: [PATCH 5/5] test --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 01def6e..7619b32 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,5 +17,5 @@ jobs: cx_tenant: ${{ secrets.TENANT }} cx_client_id: ${{ secrets.CX_CLIENT_ID }} cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }} - additional_params: --scan-types sca + additional_params: --debug