Closed YourTechBud closed 1 year ago
There is no way to figure out how many plugins are available/ registered in SC.
Source
OPAPolicySource
source.Plugin
source
Plugin
GetPluginDetails()
name
driver
schema
opa
nil
/sc/v1/plugins
If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you. 👍
The problem faced currently?
There is no way to figure out how many plugins are available/ registered in SC.
How can we solve it?
Source
which feeds into a plugin (eg.OPAPolicySource
) should implement asource.Plugin
interface.source
manager.Plugin
interface will have just one method,GetPluginDetails()
which returns a struct containingname
,driver
andschema
.OPAPolicySource
, the driver will beopa
).nil
for now.Source
manager should expose an api/sc/v1/plugins
which returns array of plugins registered.