Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for cross-file Sentinel function usage #14

Closed
aidanSoles opened this issue Dec 3, 2018 · 1 comment
Closed

Support for cross-file Sentinel function usage #14

aidanSoles opened this issue Dec 3, 2018 · 1 comment

Comments

@aidanSoles
Copy link

aidanSoles commented Dec 3, 2018

I'm not sure if this is the right place to log this issue, so please redirect me if needed.

Currently--unless I'm missing something--Sentinel can't import functions from other Sentinel policy files, which really hurts code DRY-ness, especially for functions that a user would need to access in a policy set or globally.

It would be really helpful if you could use Sentinel functions across files in a policy set or globally.

@vancluever
Copy link
Contributor

Hey @aidanSoles,

I can confirm that this is currently not possible, but Sentinel code re-use is definitely something that we are tracking.

I'm going to close this now, but I would definitely keep an eye out on the following resources:

Sentinel community forum
Sentinel release notes

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants