Closed jbauernberger closed 2 years ago
Hello @jbauernberger the problem is that our documentation is outdated. The custom plugins folder is not done anymore in the server.ini
you need to run this command:
faraday-manage settings -a update reports
@jbauernberger also you are welcome to make a PR with your plugin in our faraday-plugins repository
@aenima-x thanks for the heads-up on docs.
Faraday version
Faraday v3.18.1
Component Name
If you know where the problem lays indicate it:
custom plugins
Steps to reproduce
Hi there :)
been working on a custom plugin for syft/grype. The
faraday-plugin list-plugins -cpf ~/.faraday/custom_plugins/
will load my plugin correctly:(although my plugin isn't loaded without using the
-cpf
option, but I assumefaraday-plugins
doesn't care aboutserver.ini
?)Running the plugin from the command (
process-report
) line works and the following produces a JSON without errors:The directive in settings.ini (section
[faraday_server]
) is:Yet when I run
faraday-server --debug
I see that it only loads the built-in plugins and then throws an error when trying to detect the report:pip freeze:
OS
thanks :)