Skip to content

Conversation

@szuecs
Copy link
Member

@szuecs szuecs commented Jan 27, 2026

This PR introduces the eopa_dl plugin (documentation) into the open policy agent instance running in skipper filter. eopa_dl plugin allows multiple types of outputs. AWS S3 is one of the allowed output types. If the running skipper instance has an already assumed role with correct permission to a S3 bucket, opa can use the same credentials to upload decision logs to the S3.

The eopa_dl plugin configuration can be either provided by opaconfig.yaml or discovery

Old PR: #3739 (had to close due to messed up git history)
#3792

done by @wisinghe , @szuecs just fixed conflicts of imports

@szuecs szuecs added enhancement major moderate risk, for example new API, small filter changes that have no risk like refactoring or logs labels Jan 27, 2026
@szuecs
Copy link
Member Author

szuecs commented Jan 27, 2026

@amak3 please take over, I am not sure what to do with the Hooks is now a slice of Hooks thing. Thanks!

return nil, err
}

discoveryPlugin, err := discovery.New(manager, discovery.Factories(pluginFactories), discovery.Hooks(configHooks), discovery.BootConfig(bootConfig))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
discoveryPlugin, err := discovery.New(manager, discovery.Factories(pluginFactories), discovery.Hooks(configHooks), discovery.BootConfig(bootConfig))
discoveryPlugin, err := discovery.New(manager, discovery.Factories(pluginFactories), discovery.Hooks(hooks.New(configHooks...)), discovery.BootConfig(bootConfig))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement major moderate risk, for example new API, small filter changes that have no risk like refactoring or logs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants