9.5.6 ahf data

ahf dataコマンドを使用して、AHFリポジトリに関する情報を取得します。

構文: ahf data

ahf data action [options]
Action: get-repository
Option: --component {all,compliance,tfa}, --local, --to-json
Action: move
Options: --to-json, --destination DESTINATION
Action: get-latest-reports
Options: --to-json, --type TYPE
アクション 説明

get-repository

リポジトリ情報を取得します。

オプション 説明

--to-json

出力をJSON形式で出力します。

--local

ローカルAHFインストールのリポジトリに関する情報を取得します。

--component {all,tfa,compliance}

コンポーネント{tfa|compliance|all}に関するリポジトリ情報を取得します

アクション 説明

move

AHFデータ・ディレクトリを新しい場所に移動します。

オプション 説明

--to-json

出力をJSON形式で出力します。

--destination DESTINATION

AHFデータ・ディレクトリを移動する宛先ディレクトリを指定します。

アクション 説明

get-latest-reports

最新のコンプライアンス・レポートを取得します。

オプション 説明

--to-json

出力をJSON形式で出力します。

--type TYPE

取得するコンプライアンス・レポート・タイプを指定します。

  • full-report
  • tier1
ahf data get-repository --component all
tfa
--------------------    -----
Repository parameter    Value
location                /opt/oracle.ahf/data/repository
max_size                6171
size                    7
free_size               6164
status                  OPEN

compliance
--------------------    -----
Repository parameter    Value
location                /opt/oracle.ahf/data/<host_name>/orachk/user_root/output
ahf data get-repository --component tfa
tfa
--------------------    -----
Repository parameter    Value
location                /scratch/repository
max_size                15000
size                    0
free_size               15000
status                  OPEN
ahf data get-repository --component compliance
compliance
--------------------    -----
Repository parameter    Value
location                /opt/oracle.ahf/data/<host_name>/orachk/user_root/output
ahf data get-latest-reports --type compliance
+---------------------------------------------------------------------------------------------+--------------------+-----------+-------------+ 
|                                                      Report  location                  | Collection Date    |Full report|Compliance Version| +---------------------------------------------------------------------------------------------+--------------------+-----------+-------------+ 
|<COMPLIANCE_OUTPUT_DIR>/latest_compliance_report/orachk_testnode_orcl_070125_195057.html|01-Jul-2025 19:42:09| False     |25.7.0_20250630   |
+---------------------------------------------------------------------------------------------+--------------------+-----------+-------------+
|<COMPLIANCE_OUTPUT_DIR>/latest_compliance_report/orachk_testnode_orcl_070125_200000.html|01-Jul-2025 20:00:00| True      |25.7.0_20250630   |
+---------------------------------------------------------------------------------------------+--------------------+-----------+-------------+