diff --git a/.github/workflows/checkmarx-sca-scan-on-pr.yml b/.github/workflows/checkmarx-sca-scan-on-pr.yml new file mode 100644 index 0000000..5659ae3 --- /dev/null +++ b/.github/workflows/checkmarx-sca-scan-on-pr.yml @@ -0,0 +1,40 @@ +# This workflow is to automate Checkmarx SCA scans. It runs on a push to the main branch. +# +# The following GitHub Secrets must be first defined: +# - CHECKMARX_SCA_USERNAME +# - CHECKMARX_SCA_PASSWORD +## +# The following variables must be inserted below: +# - +# - +# +# For full documentation, including a list of all inputs, please refer to the README https://github.com/checkmarx-ts/checkmarx-cxflow-github-action + +name: Checkmarx SCA Scan (Pull Request) +on: + pull_request: + types: [opened, reopened, synchronize] # Types specify which pull request events will trigger the workflow. For more events refer Github Actions documentation. + branches: + - master + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Checkmarx CxFlow Action + uses: checkmarx-ts/checkmarx-cxflow-github-action@v1.1 # GitHub Action version + with: + project: RyanW_SCA_Enablement_Lab + sca_api_url: https://api.scacheckmarx.com + sca_app_url: https://sca.scacheckmarx.com + sca_access_control_url: https://platform.checkmarx.net + sca_tenant: SCA-Champions + sca_username: ${{ secrets.CHECKMARX_SCA_USERNAME }} # To be stored in GitHub Secrets. + sca_password: ${{ secrets.CHECKMARX_SCA_PASSWORD }} # To be stored in GitHub Secrets. + break_build: false + scanners: sca + bug_tracker: GITHUBPULL + params: --codebash-url='true' --github.error-merge=true --namespace=${{ github.repository_owner }} --repo-name=${{ github.event.repository.name }} --branch=${{ github.head_ref }} --merge-id=${{ github.event.number }} diff --git a/.github/workflows/checkmarx-sca-scan-on-push.yml b/.github/workflows/checkmarx-sca-scan-on-push.yml new file mode 100644 index 0000000..ac28db3 --- /dev/null +++ b/.github/workflows/checkmarx-sca-scan-on-push.yml @@ -0,0 +1,39 @@ +# This workflow is to automate Checkmarx SCA scans. It runs on a push to the main branch. +# +# The following GitHub Secrets must be first defined: +# - CHECKMARX_SCA_USERNAME +# - CHECKMARX_SCA_PASSWORD +## +# The following variables must be inserted below: +# - +# - +# +# For full documentation, including a list of all inputs, please refer to the README https://github.com/checkmarx-ts/checkmarx-cxflow-github-action + +name: Checkmarx SCA Scan (Push) +on: + push: + branches: + - main + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Checkmarx CxFlow Action + uses: checkmarx-ts/checkmarx-cxflow-github-action@v1.1 # GitHub Action version + with: + project: RyanW_SCA_Enablement_Lab_2 + sca_api_url: https://api.scacheckmarx.com + sca_app_url: https://sca.scacheckmarx.com + sca_access_control_url: https://platform.checkmarx.net + sca_tenant: SCA-Champions + sca_username: ${{ secrets.CHECKMARX_SCA_USERNAME }} # To be stored in GitHub Secrets. + sca_password: ${{ secrets.CHECKMARX_SCA_PASSWORD }} # To be stored in GitHub Secrets. + break_build: false + scanners: sca + bug_tracker: GitHub + params: --sca.team-for-new-projects='/CxServer/SCA-PM/Champions/SamQbush' --sca.filter-score=8.0 --sca.filter-severity=HIGH --namespace=${{ github.repository_owner }} --repo-name=${{ github.event.repository.name }} --branch=${{ github.ref }} diff --git a/src/main/webapp/Register.jsp b/src/main/webapp/Register.jsp index 2a7c086..2be535d 100644 --- a/src/main/webapp/Register.jsp +++ b/src/main/webapp/Register.jsp @@ -48,4 +48,4 @@ -<%@ include file="footer.jsp" %> \ No newline at end of file +<%@ include file="footer.jsp" %> diff --git a/src/main/webapp/footer.jsp b/src/main/webapp/footer.jsp index 02cfeec..9f168b5 100644 --- a/src/main/webapp/footer.jsp +++ b/src/main/webapp/footer.jsp @@ -1,12 +1,12 @@ - +

Copyrights © Cyber Security & Privacy Foundation

- + - \ No newline at end of file +