Skip to content

Commit

Permalink
Revert "Merge branch 'main' into main"
Browse files Browse the repository at this point in the history
This reverts commit b55767a, reversing
changes made to 3879154.
  • Loading branch information
azconger committed Mar 4, 2024
1 parent b55767a commit 3e4070f
Show file tree
Hide file tree
Showing 52 changed files with 30 additions and 4,949 deletions.
61 changes: 0 additions & 61 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

56 changes: 26 additions & 30 deletions .github/workflows/hawkscan.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
name: HawkScan
on:
push:
branches:
- main
pull_request:
branches:
- main
repository_dispatch:
types: [integration-initial-test]
jobs:
build-and-scan:
name: Build and Scan
runs-on: ubuntu-20.04
hawkscan:
name: HawkScan
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup Java and Gradle cache
uses: actions/setup-java@v2
with:
distribution: 'adopt' # See 'Supported distributions' for available options
java-version: '11'
cache: gradle

- name: Build the app
run: ./gradlew build

- name: Test the app
run: ./gradlew test

- name: Run the app
run: ./gradlew bootRun &

- name: Test with HawkScan
uses: stackhawk/[email protected]
- uses: actions/checkout@v2
- name: Create ${{ github.event.client_payload.repoName }} app directory
run: mkdir -p common/build/integrationTests/hawkscan-action/apps/${{ github.event.client_payload.repoName }}
- name: Navigate to ${{ github.event.client_payload.repoName }} app directory
run: cd common/build/integrationTests/hawkscan-action/apps/${{ github.event.client_payload.repoName }}
- name: Checkout vulny repo
run: git clone https://github.com/${{ github.event.client_payload.repoOrg }}/${{ github.event.client_payload.repoName }}.git
- name: Run ${{ github.event.client_payload.repoName }}
run: docker-compose up -d
- name: Navigate to repo root directory
run: cd /home/runner/work/${{ github.event.client_payload.repoName }}/${{ github.event.client_payload.repoName }}
- name: Run HawkScan
id: run-hawkscan
uses: stackhawk/hawkscan-action@main
with:
apiKey: ${{ secrets.HAWK_API_KEY }}
configurationFiles: ${{ github.event.client_payload.configFile }}
sourceURL: ${{ github.event.client_payload.hawkscanSourceUrl }}
version: ${{ github.event.client_payload.hawkscanVersion }}
verbose: ${{ github.event.client_payload.verbose }}
env:
# APPLICATION_ID: ${{ github.event.client_payload.appId }}
APP_ID: ${{ github.event.client_payload.appId }}
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,3 @@ bin/
.env
.DS_Store
*.iml
=======
tmp
.vscode

3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion integrations/.dockerignore

This file was deleted.

53 changes: 0 additions & 53 deletions integrations/README.md

This file was deleted.

35 changes: 0 additions & 35 deletions integrations/cypress-stackhawk.yml

This file was deleted.

14 changes: 0 additions & 14 deletions integrations/cypress/Dockerfile

This file was deleted.

47 changes: 0 additions & 47 deletions integrations/cypress/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions integrations/cypress/cypress.config.js

This file was deleted.

34 changes: 0 additions & 34 deletions integrations/cypress/e2e/javaspringvulny/login.cy.ts

This file was deleted.

6 changes: 0 additions & 6 deletions integrations/cypress/e2e/javaspringvulny/spec.cy.ts

This file was deleted.

5 changes: 0 additions & 5 deletions integrations/cypress/fixtures/example.json

This file was deleted.

Loading

0 comments on commit 3e4070f

Please sign in to comment.