An open API service indexing awesome lists of open source software.

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

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'
```