It should error for resources which are not vulnerability reports.
No applicable.
$ pulp --version
Pulp3 Command Line Interface, Version 0.40.0
Plugin Versions:
common: 0.40.0
$ pulp status
{
"versions": [
{
"component": "core",
"version": "3.113.0.dev",
"package": "pulpcore",
"module": "pulpcore.app",
"domain_compatible": true
},
{
"component": "certguard",
"version": "3.113.0.dev",
"package": "pulpcore",
"module": "pulp_certguard.app",
"domain_compatible": true
},
{
"component": "file",
"version": "3.113.0.dev",
"package": "pulpcore",
"module": "pulp_file.app",
"domain_compatible": true
},
{
"component": "python",
"version": "3.32.0.dev",
"package": "pulp-python",
"module": "pulp_python.app",
"domain_compatible": true
},
{
"component": "rpm",
"version": "3.38.0.dev",
"package": "pulp-rpm",
"module": "pulp_rpm.app",
"domain_compatible": true
}
],
(...)
Summary
The command effectively acts like the
pulp show --href, accepting any kind of href.I found that because
pulp_pythonvuln report test does that (takes a task where it really wanted to take a vulnerability report). Tested with a few other resources and concluded it can take anything.Steps to reproduce
Expected behavior
It should error for resources which are not vulnerability reports.
Stacktrace/Error log
No applicable.
Pulp and pulp-cli version info
Additional context