2.6. hammer arf-report


操作合规性报告

Usage:
    hammer arf-report [OPTIONS] SUBCOMMAND [ARG] ...

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

Subcommands:
 delete, destroy               Delete an ARF Report
 download                      Download bzipped ARF report
 download-html                 Download ARF report in HTML
 info, show                    Show an ARF report
 list, index                   List ARF reports

Options:
 -h, --help                    Print help

2.6.1. hammer arf-report delete

删除 ARF 报告

Usage:
    hammer arf-report <delete|destroy> [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME          Name to search by
 --location-id LOCATION_ID         Set the current location context for the request
 --organization ORGANIZATION_NAME  Name to search by
 --organization-id ORGANIZATION_ID Set the current organization context for the request
 -h, --help                        Print help

2.6.2. hammer arf-report download

下载 bzipped ARF 报告

Usage:
    hammer arf-report download [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME          Name to search by
 --location-id LOCATION_ID         Set the current location context for the request
 --organization ORGANIZATION_NAME  Name to search by
 --organization-id ORGANIZATION_ID Set the current organization context for the request
 --path PATH                       Path to directory where downloaded file will be saved
 -h, --help                        Print help

2.6.3. hammer arf-report download-html

在 HTML 中下载 ARF 报告

Usage:
    hammer arf-report download-html [OPTIONS]

Options:
 --id ID
 --location LOCATION_NAME          Name to search by
 --location-id LOCATION_ID         Set the current location context for the request
 --organization ORGANIZATION_NAME  Name to search by
 --organization-id ORGANIZATION_ID Set the current organization context for the request
 --path PATH                       Path to directory where downloaded file will be saved
 -h, --help                        Print help

2.6.4. hammer arf-report 信息

显示 ARF 报告

Usage:
    hammer arf-report <info|show> [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
 --location LOCATION_NAME          Name to search by
 --location-id LOCATION_ID         Set the current location context for the request
 --organization ORGANIZATION_NAME  Name to search by
 --organization-id ORGANIZATION_ID Set the current organization context for the request
 -h, --help                        Print help

Predefined field sets:
  --------------------|-----|---------|-----
  FIELDS              | ALL | DEFAULT | THIN
  --------------------|-----|---------|-----
  Id                  | x   | x       | x
  Reported at         | x   | x       |
  Host name           | x   | x       | x
  Openscap proxy name | x   | x       |
  Policy name         | x   | x       |
  Passed              | x   | x       |
  Failed              | x   | x       |
  Othered             | x   | x       |
  Host id             | x   | x       |
  Openscap proxy id   | x   | x       |
  Policy id           | x   | x       |
  Locations/          | x   | x       |
  Organizations/      | x   | x       |
  --------------------|-----|---------|-----

2.6.5. hammer arf-report list

列出 ARF 报告

Usage:
    hammer arf-report <list|index> [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
 --location LOCATION_NAME                Set the current location context for the request
 --location-id LOCATION_ID               Set the current location context for the request
 --location-title LOCATION_TITLE         Set the current location context for the request
 --order ORDER                           Sort field and order, eg. ‘id DESC’
 --organization ORGANIZATION_NAME        Set the current organization context for the request
 --organization-id ORGANIZATION_ID       Set the current organization context for the request
 --organization-title ORGANIZATION_TITLE Set the current organization context for the request
 --page PAGE                             Page number, starting at 1
 --per-page PER_PAGE                     Number of results per page to return, 'all' to return all results
 --search SEARCH                         Filter results
 -h, --help                              Print help

Predefined field sets:
  --------------------|-----|---------|-----
  FIELDS              | ALL | DEFAULT | THIN
  --------------------|-----|---------|-----
  Id                  | x   | x       | x
  Reported at         | x   | x       |
  Host name           | x   | x       | x
  Openscap proxy name | x   | x       |
  Policy name         | x   | x       |
  Passed              | x   | x       |
  Failed              | x   | x       |
  Othered             | x   | x       |
  --------------------|-----|---------|-----

Search / Order fields:
  compliance_policy      string
  compliance_status      Values: compliant, incompliant, inconclusive
  comply_with            string
  environment            string
  eventful               Values: true, false
  host                   string
  host_collection        string
  host_id                integer
  hostgroup              string
  hostgroup_fullname     string
  hostgroup_title        string
  inconclusive_with      string
  last_for               Values: host, policy
  last_report            datetime
  lifecycle_environment  string
  location               string
  location_id            integer
  log                    text
  not_comply_with        string
  openscap_proxy         string
  organization           string
  organization_id        integer
  origin                 string
  policy                 string
  reported               datetime
  resource               text
  xccdf_rule_failed      string
  xccdf_rule_name        text
  xccdf_rule_othered     string
  xccdf_rule_passed      string
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

© 2024 Red Hat, Inc.