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

Limit dependencies to use in Nested Program #369

Open
pacomf opened this issue Mar 27, 2023 · 2 comments
Open

Limit dependencies to use in Nested Program #369

pacomf opened this issue Mar 27, 2023 · 2 comments
Labels
priority: low Low priority project: gateway Label to identify features related with gateway project question Further information is requested
Milestone

Comments

@pacomf
Copy link
Member

pacomf commented Mar 27, 2023

What is the expected behavior?

We need a way to configure in the Middleware installation the dependencies to use (like a white list or black list, think about it), to restrict in someway external libraries to install and use it. Even it can be great if we can restrict access to external APIs, IPs or services (following the same approach with white list or black list).

It is a open question... think about it and design a proposal that can fit with that idea.

@pacomf pacomf added the project: gateway Label to identify features related with gateway project label Mar 27, 2023
@Tansito Tansito added the question Further information is requested label Mar 31, 2023
@IceKhan13 IceKhan13 added the priority: low Low priority label Apr 11, 2023
@IceKhan13
Copy link
Member

we can simply have list of backlisted packages and check them agains dependencies argument in Program

@IceKhan13 IceKhan13 added this to the 0.4 milestone Aug 1, 2023
@IceKhan13 IceKhan13 modified the milestones: 0.4, 0.7, 0.6 Sep 1, 2023
@IceKhan13 IceKhan13 modified the milestones: 0.7, 0.9 Oct 31, 2023
@IceKhan13 IceKhan13 modified the milestones: Q1'24, Q3'24, Tech debt Jan 17, 2024
@psschwei
Copy link
Collaborator

A framework for this was implemented in #1443
Further work needs to be done to implement the full range of requirement specifiers in https://peps.python.org/pep-0508/
Then someone also has to come up with what we want to allowlist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low Low priority project: gateway Label to identify features related with gateway project question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants