javiercasares / wpvulnerability

Plugin WPVulnerability for WordPress. https://wordpress.org/plugins/wpvulnerability/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WP-CLI integration

javiercasares opened this issue · comments

To be able to create a WP-CLI command that allows to validate the list of core, plugins and themes...

I would like to start working in this issue. @javiercasares what do you want?
Ex: wp wpvulnerability > show a list of vulnerabilities?

I think it needs 3 commands:

wp wpvulnerability core
wp wpvulnerability plugins
wp wpvulnerability themes

And shows vulnerabilities then?

Yes, I think a list of vulnerabilities… and also, if we want to expand, with a parameter, like --expand (or something else) it shows all the information for each vulnerability.

Something like:

wp wpvulnerability plugins

It shows:

Plugin A
- No vulnerabilities detected

Plugin B
- Plugin B [plugin-b] < 0.1

And, with the parameter:

wp wpvulnerability plugins --expand

Something like

Plugin A
- No vulnerabilities detected

Plugin B
- Plugin B [plugin-b] < 0.1
+ < 0.1 Blahh blah blah www.example.com/something
+ < 0.1 Blahh blah blah www.example.net/something

Ok, I'll working in it this week.

Merged in 1.2.0