検索

2.7. hammer audit

download PDF

監査証跡を検索します。

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

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

Subcommands:
 info, show                    Show an audit
 list, index                   List all audits

Options:
 -h, --help                    Print help

2.7.1. hammer audit info

監査を表示します。

Usage:
    hammer audit <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                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
 --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
 -h, --help                              Print help

Predefined field sets:
  --------------------------|-----|---------|-----
  FIELDS                    | ALL | DEFAULT | THIN
  --------------------------|-----|---------|-----
  Id                        | x   | x       | x
  At                        | x   | x       |
  Ip                        | x   | x       |
  User                      | x   | x       |
  Action                    | x   | x       |
  Audit type                | x   | x       |
  Audit record              | x   | x       |
  Request uuid              | x   | x       |
  Audited changes/attribute | x   | x       |
  Audited changes/value     | x   | x       |
  Audited changes/old       | x   | x       |
  Audited changes/new       | x   | x       |
  --------------------------|-----|---------|-----

2.7.2. hammer audit list

すべての監査を一覧表示します。

Usage:
    hammer audit <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
  At           | x   | x       |
  Ip           | x   | x       |
  User         | x   | x       |
  Action       | x   | x       |
  Audit type   | x   | x       |
  Audit record | x   | x       |
  Request uuid | x   |         |
  -------------|-----|---------|-----

Search / Order fields:
  action                 string
  auditable_id           integer
  changes                text
  comment                string
  host                   string
  hostgroup              string
  hostgroup_title        string
  id                     integer
  interface_fqdn         string
  interface_ip           string
  interface_mac          string
  location               string
  location_id            integer
  organization           string
  organization_id        integer
  os                     string
  os_title               string
  parameter              string
  partition_table        string
  provisioning_template  string
  puppetclass            string
  remote_address         string
  request_uuid           string
  setting                string
  time                   datetime
  type                   Values: role, ptable, provisioning_template, user, filter, subnet, remote_execution_feature, hostgroup, http_proxy, katello/repository, smart_proxy, katello/host/content_facet, katello/hostgroup/content_facet, katello/host/subscription_facet, usergroup, katello/content_view, katello/kt_environment, architecture, compute_attribute, domain, medium, environment, puppetclass, model, personal_access_token, ssh_key, compute_profile, bookmark, config_group, host_class, image, key_pair, report_template, realm, job_template, job_invocation, ansible_role, discovery_rule, katello/activation_key, katello/gpg_key, katello/host_collection, katello/product, katello/sync_plan, foreman_virt_who_configure/config, foreman_openscap/policy, foreman_openscap/scap_content, foreman_openscap/tailoring_file, foreman_openscap/oval_content, foreman_openscap/oval_policy, lookup_value, hostgroup_class, katello/root_repository, auth_source, compute_resource, host, interface, location, organization, os, override_value, parameter, partition_table, setting, smart_class_parameter
  user                   string
  username               string
Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.