https://github.com/umutphp/wp-vulnerability-check-github-action
wp-vulnerability-check Github Action
https://github.com/umutphp/wp-vulnerability-check-github-action
Last synced: 10 months ago
JSON representation
wp-vulnerability-check Github Action
- Host: GitHub
- URL: https://github.com/umutphp/wp-vulnerability-check-github-action
- Owner: umutphp
- License: mit
- Created: 2020-03-03T11:25:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-13T16:51:46.000Z (over 4 years ago)
- Last Synced: 2024-10-14T09:11:06.990Z (over 1 year ago)
- Language: Dockerfile
- Size: 27.3 KB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wp-vulnerability-check-github-action
This action checks the WPScan Vulnerability Database via API.
## Inputs
### `path`
**Required** Root path of your WordPress installation. Relative to the project path.
### `token`
**Required** Token got from [wpvulndb.com](http://wpvulndb.com).
### `pluginPath`
Root path of plugins if it is different than default. Default `"./wp-content/plugins/"`.
### `MUpluginPath`
Root path of mu-plugins if it is different than default. Default `"./wp-content/mu-plugins/"`.
### `exclude`
Comma separated list of plugin names to be excluded. You can use it to exclude your custom plugins.
## Example usage
```yaml
on: [push]
name: WordPress Vulnerability Check
jobs:
wp_vulnerability_check_github_action:
runs-on: ubuntu-latest
name: Checks
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Vulnerability Check
id: check
uses: umutphp/wp-vulnerability-check-github-action@v18
with:
path: '.'
token: 'token'
pluginPath: 'pluginPath'
MUpluginPath: 'MUpluginPath'
```