...
Code Block |
---|
/usr/local/omk/bin/opconfig-cli.pl act=create_compliance_report file=/tmp/cisco-nsa_compliance.csv namenode='the-node-name' |
Automated Purging of old Compliance Reports
A new command-line script has been introduced to automate the deletion of compliance report outputs that are older than a specified number of days.
The script can be executed using the following command:
Code Block |
---|
./opconfig-cli.pl act="purge_compliance_output" purge_older_than=23 |
This example command will remove all compliance outputs older than 23 days.