Closed iamdharmesh closed 1 year ago
@iamdharmesh Code here looks good to me. I spent some time to see if I could get tests to run but I had no luck. If everything else is working here, I'd suggest we comment out the Github Action (so we don't have failing actions on any new PRs), merge this in and then work on fixing the tests in a separate PR /cc @jeffpaul
Description of the Change
As requested in #70, this PR adds support for Patchstack API to check reported vulnerabilities for WordPress core, installed plugins and themes.
Users can choose Patchstack API for vulnerabilities scan by adding
VULN_API_PROVIDER
constant in wp-config.php. By default, the current WPScan API service will be used.Closes #70
How to test the Change
VULN_API_PROVIDER
constant in wp-config.php as below.VULN_API_TOKEN
constant in wp-config.php by getting API key from patchstack.comvuln
commands in readme to scan for vulnerabilities.Changelog Entry
Credits
Props @iamdharmesh, @MARQAS, @dkotter, @jeffpaul.
Checklist: