You can use the fpolicy monitor add CLI command to configure a file policy to monitor file close operations.
This CLI command adds the close file operations to the list of monitored events for CIFS and NFS requests.