Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chol er21 patch 1 #4

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Dastardly Scan Action'
description: 'Runs a Dastardly scan against a target site'
author: 'PortSwigger'
inputs:
target-url: 'https://hgsconnect.teamhgs.com/myapps'
description: 'The full url (including scheme) of the site to scan'
required: true
output-filename:
description: 'The filename used for the scan report. This filepath relates to the dastardly container, and will exist in the github workspace (/github/workspace)'
required: false
default: dastardly-report.xml
runs:
using: 'docker'
image: 'Dockerfile'
env:
DASTARDLY_TARGET_URL: ${{ inputs.target-url }}
DASTARDLY_OUTPUT_FILE: /github/workspace/${{ inputs.output-filename }}
branding:
icon: 'activity'
color: 'green'
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Dastardly Scan Action'
description: 'Runs a Dastardly scan against a target site'
author: 'PortSwigger'
inputs:
target-url:
target-url: 'https://hgsconnect.teamhgs.com/myapps'
description: 'The full url (including scheme) of the site to scan'
required: true
output-filename:
Expand All @@ -17,4 +17,4 @@ runs:
DASTARDLY_OUTPUT_FILE: /github/workspace/${{ inputs.output-filename }}
branding:
icon: 'activity'
color: 'green'
color: 'green'