Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added vulnerability reference link information. #94

Merged
merged 6 commits into from
Jul 12, 2023
Merged

Conversation

iamdharmesh
Copy link
Member

Description of the Change

PR adds vulnerability reference link information to provide the functionality to users to view more details on vulnerability. Users can now get reference link along with other vulnerability information by adding --reference to the wp-cli vuln command. eg: wp vuln plugin-status --reference

image

Closes #84

How to test the Change

  1. Configure this scanner repo and configure the API provider
  2. Run vuln commands by adding the --reference flag and make sure that reference information is there. example: wp vuln status --reference, wp vuln theme-status --reference
  3. Try different formats like JSON and CSV and make sure that reference information is there. (add --format=csv)
  4. Test with different API providers (Wordfence, WPScan, Patchstack) and verify that it works well with all providers.

Changelog Entry

Added - Vulnerability reference link information.

Credits

Props @iamdharmesh @bmarshall511

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@iamdharmesh iamdharmesh self-assigned this Jul 7, 2023
@iamdharmesh iamdharmesh added this to the 1.2.0 milestone Jul 7, 2023
@iamdharmesh
Copy link
Member Author

Note: Wordfence test failure is already fixed in #90 and it is not related to this PR.

@iamdharmesh iamdharmesh requested review from a team and ravinderk and removed request for a team July 7, 2023 06:42
@iamdharmesh iamdharmesh mentioned this pull request Jul 7, 2023
15 tasks
@iamdharmesh iamdharmesh merged commit 78fad07 into develop Jul 12, 2023
2 of 4 checks passed
@iamdharmesh iamdharmesh deleted the enhancement/84 branch July 12, 2023 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Vulnerability Reference link information.
2 participants