You can use an ONTAPI call to configure a file policy, to monitor directory rename operations.
Step
- To set the monitoring options for directory rename operations, use the fpolicy-operations-list-set ONTAPI call.
In the monitored-operations input name field, the monitored-operation-info[] should contain the directory-rename operation. The monitored-protocols should contain the specific protocols that you want to monitor. In the case of a directory rename operation, both CIFS and NFS requests can be monitored.