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
bzip された 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 info
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