Use this command to export the FortiNDR detection history as a .csv file.
execute export file-report {disk|scp|ftp|tftp} <filenmame-to-be-saved> <server>[:ftp port] <user-name> <password>