Describe the bug
We run command cli jf rt search --spec to serach for artifacts
We are using the lates version of jfrog cli -
jf -version
jf version 2.82.0
For example
jf rt s --spec docker-old-purge1.json --sort-by=path --server-id prod --include="path"
using following ocker-old-purge1.json file:
{
"files": [
{
"aql": {
"items.find": {
"repo" : {"$eq": "test-docker-*"},
"type" : "file",
"name" : "manifest.json",
"modified":{"$before":"30mo"},
"$or" : [
{"stat.downloads" : {"$eq" : null }},
{"stat.downloaded" : {"$before":"30mo"}}
]
}
}
}
]
}
Regardless of what field list we set in the --include parameter, we always get the full output without adding or limiting fields. This affects the speed of command execution and forces us to expand the program – we must select the required field using the jq command.
Current behavior
All fields are returned
Reproduction steps
Only fields provided as values to --include parameter should be returned
Expected behavior
No response
JFrog CLI version
2.82
Operating system type and version
linux RedHat 8.10
JFrog Artifactory version
7.117.19
JFrog Xray version
3.118.24