-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
52 lines (52 loc) · 1.55 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
name: 'WordPress Scanner Action'
description: 'Scan WordPress sites for plugins and themes vulnerabilities, PHP syntax and viruses'
author: 10up
branding:
icon: 'shield'
color: 'blue'
inputs:
vuln_api_provider:
description: 'Vulnerability API provider'
required: false
default: 'wordfence'
vuln_api_token:
description: 'Token to authenticate with the vulnerability API provider'
required: false
disable_vuln_scan:
description: 'Disable the Plugin and Themes scanner'
required: false
default: 'false'
virus_scan_update:
description: 'Update the ClamAV definitions database before executing the virus scan'
required: false
default: 'true'
disable_virus_scan:
description: 'Disable the virus scanner'
required: false
default: 'false'
phpsyntax_enable_debug:
description: 'Enable PHP syntax debug output'
required: false
default: 'false'
disable_phpsyntax_check:
description: 'Disable the PHP syntax check'
required: false
default: 'false'
content_dir:
description: 'Location of the wp-content directory inside the repository'
required: false
wp_core_version:
description: 'WordPress Core version to use for the vulnerability scans'
required: false
composer_build:
description: 'Run composer install before scanning'
required: false
default: 'false'
no_fail:
description: 'Exit without failing even if any issues are found'
required: false
default: 'false'
runs:
using: 'docker'
image: 'docker://ghcr.io/10up/wp-scanner-action:latest'