Is there an API or an automated way to determine which plugins are out of date and/or have newer versions?
I have about 10 different linux servers, and each server has at least 5 installations of wordpress. I do not want to login to each 50+ wordpress one at a time to manually inspect which site has out of date plugins.
I would like to write a small little bash script or php script that can automatically scan each wordpress installation for which plugins are out of date, and ship that information to my SIEM platform where I can quickly review everything on a daily basis.
get_plugin_updates()
to get a list of plugins that need updates (at least from the WP plugin repository). You could add a new REST API route to deliver that data (you would probably want to restrict access to the route so the whole world can't see what plugins need updates).