forked from zaproxy/action-full-scan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (34 loc) · 999 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
name: 'OWASP ZAP API Scan'
description: 'Scans the web application with the OWASP ZAP API Scan'
branding:
icon: 'zap'
color: 'blue'
inputs:
token:
description: 'GitHub Token to create issues in the repository'
required: false
default: ${{ github.token }}
api_definition:
description: 'Target API definition'
required: true
format:
description: 'API definition format: {openapi, soap, graphql}'
required: true
docker_name:
description: 'The Docker file to be executed'
required: true
default: 'owasp/zap2docker-stable'
cmd_options:
description: 'Additional command line options'
required: false
issue_title:
description: 'The title for the GitHub issue to be created'
required: false
default: 'ZAP API Scan Report'
fail_action:
description: 'The action status will be set to fail if ZAP identifies any alerts during the full scan'
required: false
default: false
runs:
using: 'node12'
main: 'dist/index.js'