Skip to content

Commit

Permalink
updates branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwiniag committed Oct 12, 2024
1 parent 0ab44a3 commit 609b0f5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test GoKakashi Scan

on:
workflow_dispatch: # Allows you to trigger the workflows manually
push:
branches:
- build-github-actions-2

jobs:
test-scan:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Run GoKakashi Scan
uses: ./.github/actions/gokakashi-scan
with:
api_host: 'http://localhost:8000'
api_token: 'ashwiniag123'
image_name: 'hasura/graphql-engine:v2.35.0'
severity: 'CRITICAL,HIGH'
publish: 'report_private'
fail_on_severity: 'HIGH,CRITICAL'

- name: Log the Scan Report URL
run: |
echo "Scan report URL: ${{ steps.scan.outputs.report_url }}"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ scan_policy_curl.sh
*.yaml
*.html
listdirectory.go
!.github/*
!.github/*.yaml
!.github/workflows/*.yaml

0 comments on commit 609b0f5

Please sign in to comment.