Hide Forgot
[RFE] - Hammer command to list errata for a particular content-view Version-Release number of selected component (if applicable): tfm-rubygem-hammer_cli_katello-0.0.22.26-1.el7sat.noarch It would be really helpful, if we incorporate the below API query into the hammer commands. GET katello/api/errata?content_view_version_id=<ID> We don't have any additional options when running "hammer erratum" or "hammer content-view version" # hammer content-view version info --help Usage: hammer content-view version info [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID content view numeric identifier --environment ENVIRONMENT_NAME Name to search by --environment-id ENVIRONMENT_ID --id ID Content view version identifier --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by --version VERSION Content view version number -h, --help print help # hammer erratum --help Usage: hammer erratum [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: info Show an erratum list List errata Options: -h, --help print help
Hi Nagoor, The following hammer cli should provide what you are looking for: erratum list --content-view-version-id 5 The above results in the following API call to the server: GET katello/api/errata?content_view_version_id=5 Based on this, we can probably close this request. Do you agree?