plugin-health-scoring icon indicating copy to clipboard operation
plugin-health-scoring copied to clipboard

Get scores of plugins installed in one instance

Open alecharp opened this issue 2 years ago • 0 comments

Using the (support-core plugin)[], it is possible to get the list of plugins that are installed on one instance. Using that list (file), we could get the latest score available.

Note: the score system is not keeping track of the different scores for each release. This means that we could have a plugin installed in an older version than the latest available in the update center, and we would get the score of the latest release.

This requires:

  • [ ] HTTP API to get a file from a user
  • [ ] Make sure the file content is not trying to forge any SQL injection
  • [ ] Parse the file to get the list of plugins
  • [ ] Fetch the latest score for those plugins
  • [ ] Returns the scores in a report

Do be discussed: should the report be a nicely presented page or should it be a raw CSV / JSON file?

cc @jleon33

alecharp avatar Jan 20 '23 16:01 alecharp