2.28. hammer 勘误


操作勘误

Usage:
    hammer erratum [OPTIONS] SUBCOMMAND [ARG] ...

Parameters:
 SUBCOMMAND                    Subcommand
 [ARG] ...                     Subcommand arguments

Subcommands:
 info                          Show an erratum
 list, index                   List errata

Options:
 -h, --help                    Print help

2.28.1. hammer 勘误信息

显示勘误

Usage:
    hammer erratum info [OPTIONS]

Options:
 --fields FIELDS                         Show specified fields or predefined field sets only. (See below)
                                         Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                         JSON is acceptable and preferred way for complex parameters
 --id ID                                 An erratum identifier
 --name NAME                             Name to search by
 --organization ORGANIZATION_NAME        Organization name to search by
 --organization-id ORGANIZATION_ID       Organization identifier
 --organization-label ORGANIZATION_LABEL Organization label to search by
 --organization-title ORGANIZATION_TITLE Organization title
 --repository REPOSITORY_NAME            Repository name to search by
 --repository-id REPOSITORY_ID           Repository identifier
 -h, --help                              Print help

Predefined field sets:
  ------------------------|-----|--------
  FIELDS                  | ALL | DEFAULT
  ------------------------|-----|--------
  Title                   | x   | x
  Version                 | x   | x
  Description             | x   | x
  Status                  | x   | x
  Id                      | x   | x
  Errata id               | x   | x
  Reboot suggested        | x   | x
  Updated                 | x   | x
  Issued                  | x   | x
  Release                 | x   | x
  Solution                | x   | x
  Packages                | x   | x
  Module streams/name     | x   | x
  Module streams/stream   | x   | x
  Module streams/packages | x   | x
  ------------------------|-----|--------

2.28.2. hammer 勘误列表

列出勘误

Usage:
    hammer erratum <list|index> [OPTIONS]

Options:
 --available-for AVAILABLE_FOR                             Return errata that can be added to the specified object.  The values 'content_view_version' and 'content_view_filter are supported.
 --content-view CONTENT_VIEW_NAME                          Content view name to search by
 --content-view-filter CONTENT_VIEW_FILTER_NAME            Name to search by
 --content-view-filter-id CONTENT_VIEW_FILTER_ID           Content View Filter identifier
 --content-view-id CONTENT_VIEW_ID                         Content view numeric identifier
 --content-view-version CONTENT_VIEW_VERSION_VERSION       Content view version number
 --content-view-version-id CONTENT_VIEW_VERSION_ID         Content View Version identifier
 --cve CVE                                                 CVE identifier
 --errata-restrict-applicable ERRATA_RESTRICT_APPLICABLE   Return errata that are applicable to one or more hosts (defaults to true if host_id is specified)
                                                           One of true/false, yes/no, 1/0.
 --errata-restrict-installable ERRATA_RESTRICT_INSTALLABLE Return errata that are upgradable on one or more hosts
                                                           One of true/false, yes/no, 1/0.
 --fields FIELDS                                           Show specified fields or predefined field sets only. (See below)
                                                           Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                                                           JSON is acceptable and preferred way for complex parameters
 --full-result FULL_RESULT                                 Whether or not to show all results
                                                           One of true/false, yes/no, 1/0.
 --host HOST_NAME                                          Host name
 --host-id HOST_ID                                         Host id to list applicable errata for
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME        Lifecycle environment name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID
 --order ORDER                                             Sort field and order, eg. 'id DESC'
 --organization ORGANIZATION_NAME                          Organization name to search by
 --organization-id ORGANIZATION_ID                         Organization identifier
 --organization-label ORGANIZATION_LABEL                   Organization label to search by
 --organization-title ORGANIZATION_TITLE                   Organization title
 --page PAGE                                               Page number, starting at 1
 --per-page PER_PAGE                                       Number of results per page to return
 --product PRODUCT_NAME                                    Product name to search by
 --product-id PRODUCT_ID                                   Product numeric identifier
 --repository REPOSITORY_NAME                              Repository name to search by
 --repository-id REPOSITORY_ID                             Repository identifier
 --search SEARCH                                           Search string
 -h, --help                                                Print help

Predefined field sets:
  ----------|-----|--------
  FIELDS    | ALL | DEFAULT
  ----------|-----|--------
  Id        | x   | x
  Errata id | x   | x
  Type      | x   | x
  Title     | x   | x
  Issued    | x   | x
  Updated   | x   | x
  ----------|-----|--------

Search / Order fields:
  bug                 string
  cve                 string
  errata_id           string
  errata_type         string
  id                  string
  issued              date
  modular             Values: true, false
  package             string
  package_name        string
  reboot_suggested    boolean
  repository          string
  severity            string
  title               string
  type                string
  updated             date
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.