WP CLI Wordfence archived
A Wordfence plugin scanner for WP CLI
★ 1stars
2.3krelease downloads
38composer installs
1forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/generoi/wp-cli-wordfence/releases/download/0.0.2/wp-cli-wordfence.zipAlso on Packagist as generoi/wp-cli-wordfence:
composer require generoi/wp-cli-wordfenceFrom the readme
wp-cli-wordfence
A WP CLI command packaged as a plugin which uses Wordfence public vulnerablitiy feed to scan all plugins against known security advisories.
Note that security advisories without a patch will use exit(0) and thus not detected as an error exit(1)
Requirements
- WP-CLI
Usage
Example output
Example Github action
This assumes you're using bedrock and have this package in your composer.json. Open to PRs to make this package self contained so we can install latest version with wp
Development
Install dependencies
composer install
Run the tests
npm -g i @wordpress/env
wp-env start
wp-env run tests-cli --env-cwd=wp-content/plugins/wp-cli-wordfence ./vendor/bin/phpunit
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 0.0.2 | Sep 7, 2023 | wp-cli-wordfence.zip | 2,302 |