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