From baf8dea3a9daf39ea01ed1f10df4b99351fed114 Mon Sep 17 00:00:00 2001 From: CholEr21 <105333748+CholEr21@users.noreply.github.com> Date: Mon, 22 Jul 2024 20:07:01 +0530 Subject: [PATCH 1/5] Update action.yml Test --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a0a4359..deeff76 100644 --- a/action.yml +++ b/action.yml @@ -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: From d68b5a63b096bcee4c9aabb3fc9eec49d526b0ef Mon Sep 17 00:00:00 2001 From: CholEr21 <105333748+CholEr21@users.noreply.github.com> Date: Mon, 22 Jul 2024 20:18:10 +0530 Subject: [PATCH 2/5] Create main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1 @@ + From 4e8097d740e04b7e6977073318d0076cfa6fb69a Mon Sep 17 00:00:00 2001 From: CholEr21 <105333748+CholEr21@users.noreply.github.com> Date: Mon, 22 Jul 2024 20:19:22 +0530 Subject: [PATCH 3/5] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index deeff76..132bd80 100644 --- a/action.yml +++ b/action.yml @@ -17,4 +17,4 @@ runs: DASTARDLY_OUTPUT_FILE: /github/workspace/${{ inputs.output-filename }} branding: icon: 'activity' - color: 'green' \ No newline at end of file + color: 'green' From 3c53eee1a4ad51a99e6af2243aff87c5b975b804 Mon Sep 17 00:00:00 2001 From: CholEr21 <105333748+CholEr21@users.noreply.github.com> Date: Mon, 22 Jul 2024 20:20:05 +0530 Subject: [PATCH 4/5] Update main.yml --- .github/workflows/main.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b13789..132bd80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1 +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' From 62ebfc0cfc0005786238626c23b1bbb4bf3c5642 Mon Sep 17 00:00:00 2001 From: CholEr21 <105333748+CholEr21@users.noreply.github.com> Date: Mon, 22 Jul 2024 20:28:14 +0530 Subject: [PATCH 5/5] Update main.yml