-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
37 lines (37 loc) · 858 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 'WPScan-action'
description: 'WPScan a URL'
branding:
color: red
icon: target
inputs:
url:
description: 'Target URL to scan'
required: true
token:
description: 'API token for wpscan.com'
required: false
options:
description: 'WPScan options'
required: false
default: '--disable-tls-checks'
webhook:
description: 'Slack webhook URL'
required: false
webhookevent:
description: 'Send webhook on scan event (CSV): vulns,aborted,completed'
required: false
default: vulns,aborted
outputs:
result:
description: 'JSON scan results'
resultb64:
description: 'JSON scan results encoded in base64'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.url }}
- ${{ inputs.token }}
- ${{ inputs.options }}
- ${{ inputs.webhook }}
- ${{ inputs.webhookevent }}