Fortinet EDR generating Exceptions for USB mass storage devices via API
Hello Fortinet Community,
I activated device control in #EDR to control the use of mass storage devices. The last days I created several exceptions for usb sticks with in the gui. Now we plan a bigger roll out of usb sticks. I want to prepare the exception in advance before handing out the sticks
I used the API several times to handle collectors and their groups. This was no problem. The description of the API has a function call "create-or-edit-exception". The Exception data is mentioned as JSON in the body. There is no example for it in the dosumentation. I retrieved an exeption with "list-exceptions". I passed this JSON output to the create-or-edit function an get an error.
So I´ve got the following questions:
Can I create an exception for an usb mass storage device which has never generated an event?
When there first has to be an event, can I used the event to create or add the device to an exception?
Is there an example existing?
My goal is to generate a script on an Linux machine in order to automate the process.
Thanks in advance
Michael