3.7. hammer audit


監査証跡を検索します。

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

3.7.1. hammer audit info

監査を表示します。

Usage:
    hammer audit <info|show> [OPTIONS]

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --id VALUE
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    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       |
  --------------------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

3.7.2. hammer audit list

すべての監査をリスト表示します。

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

Options:
 --fields LIST                 Show specified fields or predefined field sets only. (See below)
 --location VALUE              Set the current location context for the request
 --location-id NUMBER          Set the current location context for the request
 --location-title VALUE        Set the current location context for the request
 --order VALUE                 Sort and order by a searchable field, e.g. '<field> DESC'
 --organization VALUE          Set the current organization context for the request
 --organization-id NUMBER      Set the current organization context for the request
 --organization-title VALUE    Set the current organization context for the request
 --page NUMBER                 Page number, starting at 1
 --per-page VALUE              Number of results per page to return, 'all' to return all results
 --search VALUE                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   |         |
  -------------|-----|---------|-----

Option details:
  Here you can find option types and the value an option can accept:

  BOOLEAN             One of true/false, yes/no, 1/0
  DATETIME            Date and time in YYYY-MM-DD HH:MM:SS or ISO 8601 format
  ENUM                Possible values are described in the option's description
  FILE                Path to a file
  KEY_VALUE_LIST      Comma-separated list of key=value.
                      JSON is acceptable and preferred way for such parameters
  LIST                Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
                      JSON is acceptable and preferred way for such parameters
  MULTIENUM           Any combination of possible values described in the option's description
  NUMBER              Numeric value. Integer
  SCHEMA              Comma separated list of values defined by a schema.
                      JSON is acceptable and preferred way for such parameters
  VALUE               Value described in the option's description. Mostly simple string

Search / Order fields:
  action                 string
  auditable_id           integer
  authored_by_user       string
  authored_by_user.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
  remote_address         string
  request_uuid           string
  setting                string
  time                   datetime
  type                   Values: role, ptable, provisioning_template, user, filter, architecture, bookmark, compute_profile, domain, hostgroup, http_proxy, image, key_pair, medium, model, personal_access_token, report_template, realm, smart_proxy, ssh_key, subnet, usergroup, job_template, remote_execution_feature, job_invocation, ansible_role, discovery_rule, katello/activation_key, katello/content_view, katello/content_credential, katello/host_collection, katello/kt_environment, 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, compute_attribute, lookup_value, katello/repository, katello/host/content_facet, katello/hostgroup/content_facet, katello/host/subscription_facet, 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.