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 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 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!