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

Replace docker extractor AQL with less restrictive REST API calls #785

Open
MarkRx opened this issue Feb 27, 2024 · 0 comments
Open

Replace docker extractor AQL with less restrictive REST API calls #785

MarkRx opened this issue Feb 27, 2024 · 0 comments
Labels
feature request Suggest an idea for this project

Comments

@MarkRx
Copy link

MarkRx commented Feb 27, 2024

The docker image extractor uses AQL. Depending on the Artifactory setup AQL may have tighter restrictions than other API endpoints. This could be replaced with a less restrictive API call such us using the list files endpoint.

AQL:
items.find({"path":"mypath","repo":"myrepo"}).include("name","repo","path","actual_sha1","virtual_repos")

Describe the solution you'd like to see
Use the file list API endpoint instead of an AQL search.

Describe alternatives you've considered
Loosening restrictions on AQL access.

Additional context

@MarkRx MarkRx added the feature request Suggest an idea for this project label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Suggest an idea for this project
Projects
None yet
Development

No branches or pull requests

1 participant