diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..d5e3d705 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Checkmarx One Scan +on: + push: + branches: + - main + - master + - dev +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Checkmarx One CLI Action + uses: checkmarx/ast-github-action@main #Github Action version + with: + project_name: ${{ github.repository }} + cx_tenant: ast_nitin + base_uri: https://ind.ast.checkmarx.net + cx_client_id: ${{ secrets.CLIENT_ID }} + cx_client_secret: ${{ secrets.SECRET }} diff --git a/README.md b/README.md index d4fd7f89..0251e0d5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Damn Vulnerable Java Application -## Quick Start +## Quick Start: Install Docker and Docker Compose. @@ -39,13 +39,13 @@ Import the schema into MySQL database: $ mysql -u USER -pPASSWORD dvja < ./db/schema.sql ``` -## Build +## Build.. ``` $ mvn clean package ``` -The deployable `war` file is generated in targets directory. +The deployable `war` file is generated in targets directory.. ## Run with Jetty