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

Don't require schemes for FROM and APPLY #269

Open
pcoccoli opened this issue Dec 7, 2022 · 0 comments
Open

Don't require schemes for FROM and APPLY #269

pcoccoli opened this issue Dec 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pcoccoli
Copy link
Collaborator

pcoccoli commented Dec 7, 2022

Is your feature request related to a problem? Please describe.
The hunter doesn't care if an analytic is using docker or python.

Describe the solution you'd like
APPLY my_analytic should work whether it's a python- or docker-based analytic. Similarly FROM my_datasource should work without having to specify stixshifter://my_datasource.

Maybe we have something in config that lists interface preference order? E.g. python,docker so it checks python first, then docker. Stop at first match.

You could still supply the scheme, to force the one you want in case of name collisions.

Describe alternatives you've considered
Leave it like it is now.

Additional context
N/A

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

No branches or pull requests

1 participant