9.5.6 ahf data
Use the ahf data
command to retrieve information about AHF repositories.
Syntax: 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
Action | Description |
---|---|
|
Gets the repository information. |
Options | Description |
---|---|
|
Prints the output in JSON format. |
|
Gets information about the repositories for the local AHF installation. |
|
Gets repository information for a component { |
Action | Description |
---|---|
|
Moves AHF Data directory to a new location. |
Options | Description |
---|---|
|
Prints the output in JSON format. |
|
Specifies the destination directory to move the AHF Data directory. |
Action | Description |
---|---|
|
Retrieves the latest compliance report. |
Options | Description |
---|---|
|
Prints the output in JSON format. |
|
Specifies the compliance report type to get.
|
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 |
+---------------------------------------------------------------------------------------------+--------------------+-----------+-------------+
Parent topic: Running Unified AHF CLI Administration Commands