Fortinet FortiEDR v2
A rebuilt FortiEDR connector with count-verified ingestion windows that never miss or duplicate events, plus the full collector lifecycle (isolate, release, move, delete, uninstall).
fortinet-fortiedrv2_1.1.15.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Fork of a Content Hub connector
An enhanced copy of Fortinet FortiEDR fortinet-fortiedr v2.1.0Original's documentation
Operations this fork adds over the original 7 of 38 total
- Delete Collectors
- Delete Exception
- Get Incident by ID
- Get Incident Events
- Get Incidents
- Ingest Events
- Uninstall Collectors
What the author changed: Rebuilt the ingestion fetch to be count-verified (the original's paged window read silently drops events on FortiEDR 7.x), added the full collector lifecycle including delete/uninstall with blank-filter guards, and event file retrieval.
Installs under its own machine name alongside the original: playbook steps that call the Content Hub original keep using it until you switch them to this fork. Differences are re-measured against the current Content Hub index at every site build, so this stays truthful as the original moves.
A ground-up rebuild of the Content Hub's Fortinet FortiEDR connector for 7.x/8.x FortiSOAR.
Ingestion is the reason it exists: on FortiEDR 7.x, a windowed list-events
request carrying pageNumber answers 200 with an EMPTY page, so a paged
fetch silently drops events. This connector asks count-events first,
sizes one request to the count, and fails loudly rather than reading part
of a window. The Fetch step's window is count-verified and never paged;
the run-level safety cap (Maximum Events Per Run) defaults to 10.
Also fixed/added over the original: full collector lifecycle (isolate, release, move, delete records, uninstall agents - the original cannot remove a collector record), event file retrieval, and delete/uninstall filter guards that refuse empty filter lists.
Sample playbooks ship with the connector: the Data Ingestion Wizard chain (Init Macros / Fetch / Ingest). The operational use-case playbooks (triage to isolation, evidence collection, governed exceptions, the FortiGate containment chain, ...) ship inside the FortiEDR detection demo solution pack.
Requires a FortiEDR management console account with API access (username, password, organization).
Configuration · 5 fields
- Server URL
server_urltext requiredURL of the Fortinet FortiEDR server to which you will connect and perform the automated operations.
- Username
usernametext requiredUsername that contains a Rest API role and using which you will access the Fortinet FortiEDR server to which you will connect and perform the automated operations. Note: Specify the username in the following format: 'Organization\username' if Organization field is left blank.
- Password
passwordpassword requiredPassword used to access the FortiEDR server to which you will connect and perform the automated operations.
- Organization
organizationtextSpecify the organization name using which you will access the Fortinet FortiEDR server. The organization must be specified in a multi-tenancy environment.
- Verify SSL
verify_sslcheckboxSpecifies whether the SSL certificate for the server is to be verified. By default, this option is selected, i.e., set to true.
Default
true
Operations · 38
Get Event by ID 1 param
get_event_by_idget_event_by_idRetrieves a specific event from Fortinet FortiEDR based on the event ID you have specified.
- Event ID
eventIdsinteger requiredID of the event that you want to retrieve from Fortinet FortiEDR. NOTE: You can get event IDs using the Get Events action.
Get Events 31 params
get_event_listget_event_listRetrieves all the events from Fortinet FortiEDR that match the condition(s) you have specified. Note: If none of the input parameters that you specify match the events in Fortinet FortiEDR, then an empty result set is returned.
- Event IDs
eventIdstextList of event IDs based on which you want to retrieve events from Fortinet FortiEDR.
- Device Name
devicetextName of the device on which the events occurred that you want to retrieve from Fortinet FortiEDR.
- Collector Groups
collectorGroupstextList of collector groups whose collector had reported the events that you want to retrieve from Fortinet FortiEDR.
- Operating System
operatingSystemstextName of the operating system of the devices on which the events occurred that you want to retrieve from Fortinet FortiEDR.
- Device IPs
deviceIpstextList of IP addresses of the devices on which the events occurred that you want to retrieve from Fortinet FortiEDR.
- MAC Addresses
macAddressestextMAC addresses where the events occurred that you want to retrieve from Fortinet FortiEDR.
- File Hash
fileHashtextHash signature of the main process of the event that you want to retrieve from Fortinet FortiEDR.
- Process
processtextName of the main process of the event that you want to retrieve from Fortinet FortiEDR.
- Process Path
pathstextPath of the processes related to the event that you want to retrieve from Fortinet FortiEDR.
- First Seen From
firstSeenFromdatetime"From" date when the event that you want to retrieve from Fortinet FortiEDR, was seen for the first time. Use this parameter together with the "First Seen To" parameter to specify a date range.
- First Seen To
firstSeenTodatetime"To" date when the event that you want to retrieve from Fortinet FortiEDR, was seen for the first time. Use this parameter together with the "First Seen From" parameter to specify a date range.
- Last Seen From
lastSeenFromdatetime"From" date when the event that you want to retrieve from Fortinet FortiEDR, was seen for the last time. Use this parameter together with the "Last Seen To" parameter to specify a date range.
- Last Seen To
lastSeenTodatetime"To" date when the event that you want to retrieve from Fortinet FortiEDR, was seen for the last time. Use this parameter together with the "Last Seen From" parameter to specify a date range.
- Classification
classificationsmultiselectClassification of the events that you want to retrieve from Fortinet FortiEDR. Classification is a list of strings that contain one or more of the following values: Malicious, Suspicious, Inconclusive, Likely Safe, PUP, or Safe.
Options MaliciousSuspiciousInconclusivePUPLikely SafeSafe - Actions
actionsselectActions that were enforced on the events that you want to retrieve from Fortinet FortiEDR. You can choose from the following options: Block, Simulation Block, or Log.
Options BlockSimulationBlockLog - Destinations
destinationstextConnection destination(s) of the events that you want to retrieve from Fortinet FortiEDR.
- Rule
ruletextShort rule name of the rule that triggered the events that you want to retrieve from Fortinet FortiEDR.
- Logged in User
loggedUsertextLogged-in user associated with the events that you want to retrieve from Fortinet FortiEDR.
- Seen
seenselectTrue/False parameter indicating whether events that you want to retrieve from Fortinet FortiEDR were read/unread by the user operating the API.
Options TrueFalse - Handled
handledselectTrue/False parameter indicating whether events that you want to retrieve from Fortinet FortiEDR were handled/unhandled.
Options TrueFalse - Signed
signedselectTrue/False parameter indicating whether the event that you want to retrieve from Fortinet FortiEDR is signed/unsigned.
Options TrueFalse - Severities
severitiesmultiselect(Optional) Select the severity to filter retrieved results. You can select one of the following options: Critical High Medium
Options CriticalHighMedium - Muted
mutedselectTrue/False parameter indicating whether the event that you want to retrieve from Fortinet FortiEDR is muted/unmuted.
Options TrueFalse - Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Archived
archivedcheckboxSelect to include only archived events while retrieving events from Fortinet FortiEDR. By default, this is not selected, i.e., set to false.
- Strict Mode
strictModecheckboxSelect to perform strict matching on the search parameters while retrieving events from Fortinet FortiEDR. By default, this is not selected, i.e., set to false.
- Device Control
deviceControlselect(Optional) Select to include or exclude device control events. Leave blank to ignore the parameter when retrieving results.
Options TrueFalse - Expired
expiredselect(Optional) Select to include or exclude expired events. Leave blank to ignore the parameter when retrieving results.
Options TrueFalse - Page Number
pageNumberintegerPage number from which you want to retrieve records.
- Items Per Page
itemsPerPageintegerMaximum number of events that this operation should return for the current page. Default value is 100 and the maximum value is 1000.
Default
100 - Sorting
sortingjsonName of the fields by which you want to sort the results retrieved by this operation. You can enter the fields in the following format: {"column1":true, "column2":false}. True indicates sorting in descending order. Results are sorted by the first field, then by the second field, and so on. Available sorting fields are: severity, process, read, firstSeen, destinations, classification, lastUpdated, lastSeen, handled, organization, action, id, device.
Update Events 25 params
update_eventupdate_eventUpdates events in Fortinet FortiEDR that match the condition(s) you have specified. Note: If none of the input parameters that you specify match the events in Fortinet FortiEDR, then an empty result set is returned.
- Field to Update on Event
update_fieldsmultiselect requiredSelect one or more fields to update the event. IMPORTANT: Select only one of Read, Handle, and Archive fields. You can select from the following options: Read: Select an option from the Mark as Read field to mark the event as read or unread. True: Select to mark an event as Read. False: Select to mark an event as Unread. Handle: Select an option from the Mark as Handled field to mark the event as handled or ignored. True: Select to mark an event as Handled. False: Select to mark an event as Unhandled. Archive: Select an option from the Archive Event field to archive or unarchive the event…
Options ReadHandleArchiveClassificationMuteForce UnmuteFamily NameMalware TypeThreat NameWhen Field to Update on Event is Read
- Mark as Read
readselect requiredSelect an option from the Mark as Read field to mark the event as read or unread.
Options TrueFalse
When Field to Update on Event is Handle
- Mark as Handled
handleselect requiredSelect an option from the Mark as Handled field to mark the event as handled or ignored.
Options TrueFalse - Add Comment
commenttextFree text to be added as a comment to the event. The event must be handled in order to accept comments (supported for version 2.6.4 and above).
When Field to Update on Event is Archive
- Archive Event
archiveselect requiredSelect an option from the Archive Event field to archive or unarchive the event.
Options TrueFalse
When Field to Update on Event is Classification
- Classify Event
classificationselect requiredSelect a classification from the Classify Event field to update the event. You can choose from the following options: Malicious, PUP or Safe (supported in V2.7.3 and above).
Options MaliciousPUPSafe - Add Comment
commenttextFree text to be added as a comment to the event. The event must be handled in order to accept comments (supported for version 2.6.4 and above).
When Field to Update on Event is Mute
- Mute Event
muteselect requiredSelect an option from the Mute Event field to mark the event as muted or unmuted.
Options TrueFalseWhen Mute Event is True
- Mute Duration
muteDurationselect requiredSpecifies the mute duration time. Allowed values are Week, Month, Year or Permanently.
Options WeekMonthYearPermanently
When Mute Event is False
- Forced to Unmute an Event
forceUnmuteselectSelect to force unmute of an event. Once selected specify a value for the Forced to Unmute an Event field.
Options TrueFalse
When Field to Update on Event is Family Name
- Family Name
familyNametext requiredSpecify the family name of the event in Family Name field.
When Field to Update on Event is Malware Type
- Malware Type
malwareTypetext requiredSpecify the malware type of the event in Malware Type field.
When Field to Update on Event is Threat Name
- Threat Name
threatNametext requiredSpecify the threat name of the event.
- Event IDs
eventIdstextList of event IDs based on which you want to update events in Fortinet FortiEDR.
- Device Name
devicetextName of the device on which the events occurred that you want to update in Fortinet FortiEDR.
- Collector Groups
collectorGroupstextList of collector groups whose collector had reported the events that you want to update in Fortinet FortiEDR.
- Operating System
operatingSystemstextName of the operating system of the devices on which the events occurred that you want to update in Fortinet FortiEDR.
- Device IPs
deviceIpstextList of IP addresses of the devices on which the events occurred that you want to update in Fortinet FortiEDR.
- File Hash
fileHashtextHash signature of the main process of the event that you want to update in Fortinet FortiEDR.
- Process
processtextName of the main process of the event that you want to update in Fortinet FortiEDR.
- Process Path
pathstextPath of the processes related to the event that you want to update in Fortinet FortiEDR.
- First Seen From
firstSeenFromdatetime"From" date when the event that you want to update in Fortinet FortiEDR, was seen for the first time. Use this parameter together with the "First Seen To" parameter to specify a date range.
- First Seen To
firstSeenTodatetime"To" date when the event that you want to update in Fortinet FortiEDR, was seen for the first time. Use this parameter together with the "First Seen From" parameter to specify a date range.
- Last Seen From
lastSeenFromdatetime"From" date when the event that you want to update in Fortinet FortiEDR, was seen for the last time. Use this parameter together with the "Last Seen To" parameter to specify a date range.
- Last Seen To
lastSeenTodatetime"To" date when the event that you want to update in Fortinet FortiEDR, was seen for the last time. Use this parameter together with the "Last Seen From" parameter to specify a date range.
- Seen
seenselectTrue/False parameter indicating whether events that you want to update in Fortinet FortiEDR were read/unread by the user operating the API.
Options TrueFalse - Handled
handledselectTrue/False parameter indicating whether events that you want to update in Fortinet FortiEDR were handled/unhandled.
Options TrueFalse - Severities
severitiesmultiselectA severity value for the filter to match. An option with one of the following values: Critical, High, or Medium.
Options CriticalHighMedium - Destinations
destinationstextConnection destination(s) of the events that you want to update in Fortinet FortiEDR.
- Actions
actionsmultiselectActions that were enforced on the events that you want to update in Fortinet FortiEDR. You can choose from the following options: Block, Simulation Block, or Log.
Options BlockSimulationBlockLog - Rule
ruletextShort rule name of the rule that triggered the events that you want to update in Fortinet FortiEDR.
- Strict Mode
strictModeselectTrue/False parameter indicating whether or not to perform strict matching on the search parameters while retrieving events from Fortinet FortiEDR. By default, this is set as false.
Options TrueFalse - Classification
classificationsmultiselectClassification of the events that you want to retrieve from Fortinet FortiEDR. Classification is a list of strings that contain one or more of the following values: Malicious, Suspicious, Inconclusive, Likely Safe, PUP, or Safe.
Options MaliciousSuspiciousInconclusivePUPLikely SafeSafe - Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Muted
mutedselectTrue/False parameter indicating whether the event that you want to update in Fortinet FortiEDR is muted/unmuted.
Options TrueFalse - Device Control
deviceControlselect(Optional) Select to include or exclude device control events. Leave blank to ignore the parameter when updating events.
Options TrueFalse - Expired
expiredselect(Optional) Select to include or exclude expired events. Leave blank to ignore the parameter when updating events.
Options TrueFalse
ReturnsresultGet Raw Data Items 13 params
get_raw_data_itemsget_raw_data_itemsRetrieves the raw data items from Fortinet FortiEDR based on the event ID and other input parameters you have specified.
- Event ID
eventIdinteger requiredID of the event that holds the raw data items that you want to retrieve from Fortinet FortiEDR.
- Device Name
devicetext(Optional) Name of the device on which the raw event that you want to retrieve from Fortinet FortiEDR occurred.
- Collector Groups
collectorGroupstext(Optional) List of collector groups whose collector had reported the raw events that you want to retrieve from Fortinet FortiEDR.
- First Seen From
firstSeenFromdatetime(Optional) "From" date when the raw event that you want to retrieve from Fortinet FortiEDR, was seen for the first time. Use this parameter together with the "First Seen To" parameter to specify a date range.
- First Seen To
firstSeenTodatetime(Optional) "To" date when the raw event that you want to retrieve from Fortinet FortiEDR, was seen for the first time. Use this parameter together with the "First Seen From" parameter to specify a date range.
- Last Seen From
lastSeenFromdatetime(Optional) "From" date when the raw event that you want to retrieve from Fortinet FortiEDR, was seen for the last time. Use this parameter together with the "Last Seen To" parameter to specify a date range.
- Last Seen To
lastSeenTodatetime(Optional) "To" date when the raw event that you want to retrieve from Fortinet FortiEDR, was seen for the last time. Use this parameter together with the "Last Seen From" parameter to specify a date range.
- Strict Mode
strictModecheckboxTrue/False parameter indicating whether or not to perform strict matching on the search parameters while retrieving events from Fortinet FortiEDR. By default, this is set as false.
Default
false - Full Data Requested
fullDataRequestedcheckboxTrue/False parameter indicating whether to include the event internal information for the raw events that you want to retrieve from Fortinet FortiEDR.
Default
false - Raw Event Ids
rawEventIdstext(Optional) Specify a list of event IDs to retrieve raw data items.
- Page Number
pageNumberinteger(Optional) Page number from which you want to retrieve records.
- Items Per Page
itemsPerPageinteger(Optional) Maximum number of events that this operation should return for the current page. Default value is 100 and the maximum value is 1000.
Default
100 - Sorting
sortingjson(Optional) Name of the fields by which you want to sort the results retrieved by this operation. You can enter the fields in the following format: {"column1":true, "column2":false}. True indicates sorting in descending order. Results are sorted by the first field, then by the second field, and so on.
Get Event Count 30 params
count_eventscount_eventsRetrieves the event count from Fortinet FortiEDR based on the filter parameters you have specified.
- Event IDs
eventIdstextList of comma-separated event IDs based on which you want to retrieve event counts from Fortinet FortiEDR.
- Device Name
devicetext(Optional) Name of the device on which the event whose counts you want to retrieve from Fortinet FortiEDR occurred.
- Collector Groups
collectorGroupstext(Optional) List of collector groups whose collector had reported the events whose counts you want to retrieve from Fortinet FortiEDR.
- Operating System
operatingSystemstext(Optional) Name of the operating system of the devices on which the events whose counts you want to retrieve from Fortinet FortiEDR occurred.
- Device IPs
deviceIpstext(Optional) List of IP addresses of the devices on which the events whose counts you want to retrieve from Fortinet FortiEDR occurred.
- MAC Addresses
macAddressestext(Optional) MAC addresses where the events whose counts you want to retrieve from Fortinet FortiEDR occurred.
- Filehash
fileHashtext(Optional) Hash signature of the main process of the events whose counts you want to retrieve from Fortinet FortiEDR.
- Process
processtext(Optional) Name of the main process of the events whose counts you want to retrieve from Fortinet FortiEDR.
- Process Path
pathstext(Optional) Path of the processes related to the events whose counts you want to retrieve from Fortinet FortiEDR.
- First Seen From
firstSeenFromdatetime(Optional) "From" date when the events whose counts you want to retrieve from Fortinet FortiEDR, were seen for the first time. Use this parameter together with the "First Seen To" parameter to specify a date range.
- First Seen To
firstSeenTodatetime(Optional) "To" date when the events whose counts you want to retrieve from Fortinet FortiEDR, were seen for the first time. Use this parameter together with the "First Seen From" parameter to specify a date range.
- Last Seen From
lastSeenFromdatetime(Optional) "From" date when the events whose counts you want to retrieve from Fortinet FortiEDR, were seen for the last time. Use this parameter together with the "Last Seen To" parameter to specify a date range.
- Last Seen To
lastSeenTodatetime(Optional) "To" date when the events whose counts you want to retrieve from Fortinet FortiEDR, were seen for the last time. Use this parameter together with the "Last Seen From" parameter to specify a date range.
- Classification
classificationsmultiselectClassification of the events whose counts you want to retrieve from Fortinet FortiEDR. Classification is a list of strings that contain one or more of the following values: Malicious, Suspicious, Inconclusive, Likely Safe, PUP, or Safe.
Options MaliciousSuspiciousInconclusivePUPLikely SafeSafe - Actions
actionsselectActions that were enforced on the events whose counts you want to retrieve from Fortinet FortiEDR. You can choose from the following options: Block, Simulation Block, or Log.
Options BlockSimulationBlockLog - Destinations
destinationstextConnection destination(s) of the events whose counts you want to retrieve from Fortinet FortiEDR.
- Rule
ruletextShort rule name of the rule that triggered the events whose counts you want to retrieve from Fortinet FortiEDR.
- Seen
seenselectTrue/False parameter indicating whether events whose counts you want to retrieve from Fortinet FortiEDR were read/unread by the user operating the API.
Options TrueFalse - Handled
handledselectTrue/False parameter indicating whether events whose counts you want to retrieve from Fortinet FortiEDR were handled/unhandled.
Options TrueFalse - Signed
signedselectTrue/False parameter indicating whether the events whose counts you want to retrieve from Fortinet FortiEDR are signed/unsigned.
Options TrueFalse - Muted
mutedselectTrue/False parameter indicating whether the events whose counts you want to retrieve from Fortinet FortiEDR are muted/unmuted.
Options TrueFalse - Logged in User
loggedUsertextLogged-in user associated with the events whose counts you want to retrieve from Fortinet FortiEDR.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Archived
archivedcheckboxTrue/False parameter indicating whether to include only archived events while retrieving event counts from Fortinet FortiEDR. By default, this is set as false.
Default
false - Strict Mode
strictModecheckboxTrue/False parameter indicating whether or not to perform strict matching on the search parameters while retrieving event counts from Fortinet FortiEDR. By default, this is set as false.
Default
false - Device Control
deviceControlcheckbox(Optional) Select to include or exclude device control events. Leave blank to ignore the parameter when updating events.
- Expired
expiredcheckbox(Optional) Select to include or exclude expired events. Leave blank to ignore the parameter when updating events.
- Page Number
pageNumberinteger(Optional) Page number from which you want to retrieve records.
- Items Per Page
itemsPerPageinteger(Optional) Maximum number of events that this operation should return for the current page. Default value is 100 and the maximum value is 1000.
Default
100 - Sorting
sortingjsonName of the fields by which you want to sort the results retrieved by this operation. You can enter the fields in the following format: {"column1":true, "column2":false}. True indicates sorting in descending order. Results are sorted by the first field, then by the second field, and so on.
Returnsevent_countGet Event List Extended 30 params
get_event_list_extendedget_event_list_extendedRetrieves archived/unarchived events together from Fortinet FortiEDR based on the filter parameters you have specified. Note: If none of the input parameters that you specify match the events in Fortinet FortiEDR, then an empty result set is returned.
- Event IDs
eventIdstextList of comma-separated event IDs based on which you want to retrieve archived/unarchived events from Fortinet FortiEDR.
- Device Name
devicetextName of the device on which the events that you want to retrieve from Fortinet FortiEDR occurred.
- Collector Groups
collectorGroupstextList of collector groups whose collector had reported the events that you want to retrieve from Fortinet FortiEDR.
- Operating System
operatingSystemstextName of the operating system of the devices on which the events that you want to retrieve from Fortinet FortiEDR occurred.
- Device IPs
deviceIpstextList of IP addresses of the devices on which the events that you want to retrieve from Fortinet FortiEDR occurred.
- MAC Addresses
macAddressestextMAC addresses where the events that you want to retrieve from Fortinet FortiEDR occurred.
- Filehash
fileHashtextHash signature of the main process of the events that you want to retrieve from Fortinet FortiEDR.
- Process
processtextName of the main process of the events that you want to retrieve from Fortinet FortiEDR.
- Process Path
pathstextPath of the processes related to the events that you want to retrieve from Fortinet FortiEDR.
- First Seen From
firstSeenFromdatetime"From" date when the events that you want to retrieve from Fortinet FortiEDR, were seen for the first time. Use this parameter together with the "First Seen To" parameter to specify a date range.
- First Seen To
firstSeenTodatetime"To" date when the events that you want to retrieve from Fortinet FortiEDR, were seen for the first time. Use this parameter together with the "First Seen From" parameter to specify a date range.
- Last Seen From
lastSeenFromdatetime"From" date when the events that you want to retrieve from Fortinet FortiEDR, were seen for the last time. Use this parameter together with the "Last Seen To" parameter to specify a date range.
- Last Seen To
lastSeenTodatetime"To" date when the events that you want to retrieve from Fortinet FortiEDR, were seen for the last time. Use this parameter together with the "Last Seen From" parameter to specify a date range.
- Classification
classificationsmultiselectClassification of the events that you want to retrieve from Fortinet FortiEDR. Classification is a list of strings that contain one or more of the following values: Malicious, Suspicious, Inconclusive, Likely Safe, PUP, or Safe.
Options MaliciousSuspiciousInconclusivePUPLikely SafeSafe - Actions
actionsmultiselectActions that were enforced on the events that you want to retrieve from Fortinet FortiEDR. You can choose from the following options: Block, Simulation Block, or Log.
Options BlockSimulationBlockLog - Destinations
destinationstextConnection destination(s) of the events that you want to retrieve from Fortinet FortiEDR.
- Rule
ruletextShort rule name of the rule that triggered the events that you want to retrieve from Fortinet FortiEDR.
- Logged in User
loggedUsertextLogged-in user associated with the events that you want to retrieve from Fortinet FortiEDR.
- Seen
seenselectTrue/False parameter indicating whether events that you want to retrieve from Fortinet FortiEDR were read/unread by the user operating the API.
Options TrueFalse - Handled
handledselectTrue/False parameter indicating whether events that you want to retrieve from Fortinet FortiEDR were handled/unhandled.
Options TrueFalse - Signed
signedselectTrue/False parameter indicating whether the event that you want to retrieve from Fortinet FortiEDR is signed/unsigned.
Options TrueFalse - Severities
severitiesmultiselect(Optional) Select the severity to filter retrieved results. You can select one of the following options: Critical High Medium
Options CriticalHighMedium - Muted
mutedselectTrue/False parameter indicating whether the event that you want to retrieve from Fortinet FortiEDR is muted/unmuted.
Options TrueFalse - Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Strict Mode
strictModeselectTrue/False parameter indicating whether or not to perform strict matching on the search parameters while retrieving events from Fortinet FortiEDR. By default, this is set as false.
Options TrueFalse - Device Control
deviceControlselect(Optional) Select to include or exclude device control events. Leave blank to ignore the parameter when retrieving results.
Options TrueFalse - Expired
expiredselect(Optional) Select to include or exclude expired events. Leave blank to ignore the parameter when retrieving results.
Options TrueFalse - Page Number
pageNumberintegerPage number from which you want to retrieve records.
- Items Per Page
itemsPerPageintegerMaximum number of events that this operation should return for the current page. Default value is 100 and the maximum value is 1000.
Default
100 - Sorting
sortingjsonName of the fields by which you want to sort the results retrieved by this operation. You can enter the fields in the following format: {"column1":true, "column2":false}. True indicates sorting in descending order. Results are sorted by the first field, then by the second field, and so on.
Search Filehash 2 params
searchsearchSearches a file hash among the current events, threat hunting repository, and communicating applications that exist in the Fortinet FortiEDR system.
- Filehash
fileHashestext requiredOne or more comma-separated file hashes that you want to search for in Fortinet FortiEDR.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated events you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
Get File 3 params
get_fileget_fileRetrieves a specific file from the specified device from Fortinet FortiEDR, based on the device type, device name/ID, and file paths you have specified, and adds it as an attachment in the "Attachments" module
- Type
typeselect requiredType of the device input parameter from which you want to get the file from Fortinet FortiEDR. You can choose between ID or NAME. If you choose 'ID', then you must specify the following parameter: Device ID: ID of the device from which you want to retrieve the file. If you choose 'NAME', then you must specify the following parameter: Device Name: Name of the device from which you want to retrieve the file.
Default
NameOptions IDNameWhen Type is ID
- Device ID
deviceinteger requiredID of the device from which you want to retrieve the file.
When Type is Name
- Device Name
devicetext requiredName of the device from which you want to retrieve the file.
- File Paths
filePathstext requiredList of file paths from which you want to retrieve the file. For example: c:\temp\example.exe
- Organization
organizationtext(Optional) Name of a specific organization whose associated files you want to retrieve from Fortinet FortiEDR. Note: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
Returnsname@idtypefilecreateDatedescriptionmodifyUser@type@contextmodifyDatecreateUseridalertsassetsincidentsindicatorstaskswarroomsworkspacescommentscVEsvulnerabilitiespeopleuuidownersrecordTagsassigneeuserOwnersRetrieve File or Memory 3 params
get_event_fileget_event_fileRetrieves a file or memory related to a specific event from Fortinet FortiEDR based on the raw event ID and other input parameters you have specified and adds it as an attachment in the "Attachments" module.
- Raw Event ID
rawEventIdtext requiredID of the raw event on which you want to perform the memory retrieval from Fortinet FortiEDR.
- Retrieve From
retrieve_fromselect requiredMethod to be used to perform the memory retrieval from Fortinet FortiEDR. You can choose between Memory or Disk. If you choose Memory, then you must specify the following parameters: Process ID: ID of the process from which you want to take a memory image. Memory Region Start Address: Memory start range, in Hexadecimal format from which you want to take a memory image. Memory Region End Address: Memory end range, in Hexadecimal format from which you want to take a memory image. If you choose Disk, then you must specify the following parameters: File Paths: List of file paths from which you…
Default
MemoryOptions MemoryDiskWhen Retrieve From is Disk
- File Paths
filePathstext required(Optional) List of file paths from which you want to perform the memory retrieval in Fortinet FortiEDR.
When Retrieve From is Memory
- Process ID
processIdinteger required(Optional) ID of the process from which you want to take a memory image.
- Memory Region Start Address
startRangetext required(Optional) Memory start range, in Hexadecimal format from which you want to take a memory image.
- Memory Region End Address
endRangetext required(Optional) Memory end range, in Hexadecimal format from which you want to take a memory image.
- Organization
organizationtext(Optional) Name of a specific organization on which you want to perform the memory retrieval in Fortinet FortiEDR. Note: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
Returnsname@idtypefilecreateDatedescriptionmodifyUser@type@contextmodifyDatecreateUseridRemediate Device 3 params
remediate_deviceremediate_deviceTakes remedial actions on Fortinet FortiEDR such as killing a process, deleting a file and/or cleaning persistent data on which malware was detected based on the device type, device name/ID, and other input parameters you have specified.
- Type
typeselect requiredType of the device input parameter on which you want to perform the remediation action in Fortinet FortiEDR. You can choose between ID or NAME. If you choose 'ID', then you must specify the following parameter: Device ID: ID of the device on which you want to take the remediation action. If you choose 'NAME', then you must specify the following parameter: Device Name: Name of the device on which you want to take the remediation action.
Default
NameOptions IDNameWhen Type is ID
- Device ID
deviceIdinteger requiredID of the device on which you want to take the remediation action.
When Type is Name
- Device Name
devicetext requiredName of the device on which you want to take the remediation action.
- Organization
organizationtext(Optional) Name of a specific organization that contains the device on which you want to perform the remediation action. Note: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Remediation Action
remediate_actionselect requiredAction that you want to perform on the specified device. You can choose from the following options: Kill Process, Delete File, Handle Persistent Data, or Remediate Thread. If you choose 'Kill Process', then you must specify the following parameters: Process ID: ID of the process you want to terminate on the specified device. Process Name: (Optional) Name of the process you want to terminate on the specified device. If you choose 'Delete File', then you must specify the following parameter: Delete File at Path: List containing the full path of executable files (*.exe) that you want to delete…
Options Kill ProcessDelete FileHandle Persistent DataRemediate ThreadWhen Remediation Action is Kill Process
- Process ID
terminatedProcessIdinteger requiredProcess ID that you want to terminate on the specified device.
- Process Name
processNametextName of the process on which you want to take remediation action.
When Remediation Action is Delete File
- Delete File at Path
executablesToRemovetext requiredList of full paths of executable files (*.exe) that you want to delete on the specified device.
When Remediation Action is Handle Persistent Data
- Persistence Data (Registry) Action
persistenceDataActionselect requiredAction that should be taken for persistent data on the specified device. You can choose from the following options: DeleteKey, DeleteValue, or Update.
Options Delete KeyDelete ValueUpdateWhen Persistence Data (Registry) Action is Delete Key
- Persistence Data (Registry) Path
persistenceDataPathtext requiredPath of the persistent data on the specified device.
- Persistence Data (Registry) Value Name
persistenceDataValueNametext requiredValue name of the persistent data on the specified device.
When Persistence Data (Registry) Action is Delete Value
- Persistence Data (Registry) Path
persistenceDataPathtext requiredPath of the persistent data on the specified device.
- Persistence Data (Registry) Value Name
persistenceDataValueNametext requiredValue name of the persistent data on the specified device.
When Persistence Data (Registry) Action is Update
- Persistence Data (Registry) Path
persistenceDataPathtext requiredPath of the persistent data on the specified device.
- Persistence Data (Registry) Value Name
persistenceDataValueNametext requiredValue name of the persistent data on the specified device.
- Persistence Data (Registry) Value New Type
persistenceDataValueNewTypeselectNew data value type that should be applied to the persistent data on the specified device. You can choose from the following options: REG_SZ, REG_EXPAND_SZ, REG_BINARY, REG_DWORD, REG_DWORD_BIG_ENDIAN, REG_LINK, REG_MULTI_SZ, REG_RESOURCE_LIST, REG_FULL_RESOURCE_DESCRIPTOR, REG_RESOURCE_REQUIREMENTS_LIST or REG_QWORD.threadId: Specifies the thread ID.
Options REG_SZREG_EXPAND_SZREG_BINARYREG_DWORDREG_DWORD_BIG_ENDIANREG_LINKREG_MULTI_SZREG_RESOURCE_LISTREG_FULL_RESOURCE_DESCRIPTORREG_RESOURCE_REQUIREMENTS_LISTREG_QWORD - Persistence Data (Registry) New Content
persistenceDataNewContenttextSpecifies the persistent data new content. The content format provided depends on the type used in persistenceDataValueNewType. The format should be provided as follows: String for the following types: REG_SZ(1), REG_EXPAND_SZ(2), REG_DWORD(4) and REG_QWORD(11). Base64 for the following types: REG_BINARY(3), REG_DWORD_BIG_ENDIAN(5), REG_LINK(6), REG_MULTI_SZ(7), REG_RESOURCE_LIST(8), REG_FULL_RESOURCE_DESCRIPTOR(9) and REG_RESOURCE_REQUIREMENTS_LIST(10).
When Remediation Action is Remediate Thread
- Thread ID
threadIdintegerID of the thread on which you want to take the remediation action.
ReturnsresultGet Collector List 16 params
get_collector_listget_collector_listRetrieves the list of the collectors from Fortinet FortiEDR based on the device names or IDs, and other input parameters you have specified.
- Type
typeselectType of the device whose associate collector list you want to retrieve from Fortinet FortiEDR. You can choose from following options: ID: Specify a list of device IDs, whose associate collector list you want to retrieve from Fortinet FortiEDR, in the Device IDs field. NAME: Specify a list of device names, whose associate collector list you want to retrieve from Fortinet FortiEDR, in the Device Name field.
Options IDNameWhen Type is ID
- Device IDs
devicesIdstext requiredSpecify a list of device IDs, whose associate collector list you want to retrieve from Fortinet FortiEDR, in the Device IDs field.
When Type is Name
- Device Names
devicestext requiredSpecify a list of device names, whose associate collector list you want to retrieve from Fortinet FortiEDR, in the Device Name field.
- Collector Groups
collectorGroupstext(Optional) List of collector group names whose associated collectors you want to retrieve from Fortinet FortiEDR.
- IPs
ipstext(Optional) List of IP addresses whose associated collectors you want to retrieve from Fortinet FortiEDR.
- Operating Systems
operatingSystemstext(Optional) List of operating systems whose associated collectors you want to retrieve from Fortinet FortiEDR. For example: Windows 7 Pro.
- OS Families
osFamiliestext(Optional) List of OS Families whose associated collectors you want to retrieve from Fortinet FortiEDR. For example: Windows, Windows Server, OS X.
- States
statesmultiselect(Optional) List of collector states to retrieve from Fortinet FortiEDR. You can choose one or more from the following options: New Selected Running Disabled Degraded Disconnected Registered Uninstalling Unmanaged Isolated Expired Pending Reboot PendingMigration Migrate
Options NewSelectedRunningDisabledDegradedDisconnectedRegisteredUninstallingUnmanagedIsolatedExpiredRebootPendingPendingMigrationMigrated - Last Seen Start
lastSeenStartdatetime(Optional) Retrieves collectors from Fortinet FortiEDR that was last seen after the value assigned to this date.
- Last Seen End
lastSeenEnddatetime(Optional) Retrieve collectors from Fortinet FortiEDR that were last seen before the value assigned to this date.
- Versions
versionstext(Optional) List of collector versions that you want to retrieve from Fortinet FortiEDR.
- Strict Mode
strictModecheckbox(Optional) True/False parameter indicating whether or not to perform strict matching on the search parameters while retrieving event counts from Fortinet FortiEDR. By default, this is set as false.
Default
false - Show Expired
showExpiredselectTrue/False parameter indicating whether to show an expired collector in the results retrieved from Fortinet FortiEDR.
Options TrueFalse - Logged in User
loggedUsertext(Optional) Logged-in user associated with the collectors you want to retrieve from Fortinet FortiEDR.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated collectors you want to retrieve from Fortinet FortiEDR. NOTE: The value…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated collectors you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Page Number
pageNumberinteger(Optional) Page number from which you want to retrieve records.
- Items Per Page
itemsPerPageinteger(Optional) Maximum number of events that this operation should return for the current page. Default value is 100 and the maximum value is 1000.
Default
100 - Sorting
sortingjsonName of the fields by which you want to sort the results retrieved by this operation. You can enter the fields in the following format: {"column1":true, "column2":false}. True indicates sorting in descending order. Results are sorted by the first field, then by the second field, and so on.
Isolate Collector 2 params
isolate_collectorisolate_collectorIsolates a collector from the Fortinet FortiEDR network based on the list of device IDs or names, and other input parameters you have specified.
- Type
typeselect requiredType of the device whose associate collectors you want to isolate from the Fortinet FortiEDR network. You can choose between ID or Name. If you choose 'ID', then you must specify the following parameter: Device IDs: List of device IDs whose associate collectors you want to isolate from the Fortinet FortiEDR network. If you choose 'Name', then you must specify the following parameter: Device Names: List of device names whose associate collectors you want to isolate from the Fortinet FortiEDR network.
Default
NameOptions IDNameWhen Type is ID
- Device IDs
devicesIdstext requiredList of device IDs whose associate collectors you want to isolate from the Fortinet FortiEDR network.
When Type is Name
- Device Names
devicestext requiredList of device names whose associate collectors you want to isolate from the Fortinet FortiEDR network.
- Organization
organizationtext(Optional) Name of a specific organization whose associated collector you want to unisolate from the Fortinet FortiEDR network. Note: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
ReturnsresultUnisolate Collector 2 params
unisolate_collectorunisolate_collectorUnisolates a collector from the Fortinet FortiEDR network based on the device ID and other input parameters you have specified.
- Type
typeselect requiredType of the device whose associate collectors you want to unisolate from the Fortinet FortiEDR network. You can choose between ID or Name. If you choose 'ID', then you must specify the following parameter: Device IDs: List of device IDs whose associate collectors you want to unisolate from the Fortinet FortiEDR network. If you choose 'Name', then you must specify the following parameter: Device Names: List of device names whose associate collectors you want to unisolate from the Fortinet FortiEDR network.
Default
NameOptions IDNameWhen Type is ID
- Device IDs
devicesIdstext requiredList of device IDs whose associate collectors you want to unisolate from the Fortinet FortiEDR network.
When Type is Name
- Device Names
devicestext requiredList of device names whose associate collectors you want to unisolate from the Fortinet FortiEDR network.
- Organization
organizationtext(Optional) Name of a specific organization whose associated collector you want to unisolate from the Fortinet FortiEDR network. Note: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
ReturnsresultCreate Exception 7 params
create_exceptioncreate_exceptionCreates a new exception in Fortinet FortiEDR based on the event ID and other input parameters you have specified.
- Event ID
eventIdinteger requiredSpecify the ID of the event to add as an exception in Fortinet FortiEDR.
- Collector Groups
allCollectorGroupsselect(Optional) Select the collector group level at which to create an exception. You can choose from the following options: All Collector Groups: Select this option to create exception for all collector groups. Exact Collector Group: Select this option to create exception for the collectors groups specified in the Exact Collector Groups field.
Options All Collector GroupsExact Collector GroupsWhen Collector Groups is Exact Collector Groups
- Exact Collector Groups
collectorGroupstext requiredSpecify the collector group names to add into the exception. Specify in CSV format.
- All Organizations
allOrganizationsselect(Optional) Select the organization level at which to create an exception. You can choose from the following options: True: Select this option to create exception for all organizations. False: Select this option to create exception for the organization specified in the configuration parameters. NOTE: This parameter is only relevant in a multi-tenancy environment and is allowed only for users with hoster privileges (general administrator).
Default
TrueOptions TrueFalse - Destinations
allDestinationsselect(Optional) Select the destination level at which to create an exception. You can choose from the following options: All Destinations: Select this option to create exception for all destinations. Exact Destination IPs: Select this option to create exception for the destination IPs specified in the Exact Destination IPs field.
Options All DestinationsExact Destination IPsWhen Destinations is Exact Destination IPs
- Exact Destination IPs
destinationstext requiredList of IP addresses to which the exception applies and/or the value of the internal destinations.
- Comment
commenttext(Optional) Specify a user-defined string to attach to the exception being created in Fortinet FortiEDR.
Default
false - Force Create
forceCreateselect(Optional) Select whether to force-create an exception. You can choose from the following options: True: Select this option to force-create an exception even if existing exceptions cover a particular event. False: Select this option to create exception for the organization specified in the configuration parameters. True for this parameter to apply to create the exception, even if there are already exceptions that cover the specified event.
Default
FalseOptions TrueFalse - Exception JSON Values
exceptionJsonjson(Optional) In order to set the advanced settings of an exception, the user must know which processes exist in the event and which rules were triggered. Please use following JSON format to insert the correct details: { "useInException": { "process_name_1": { "rule_name1": true, "rule_name2": true }, "process_name_2": { "rule_name_1": false } }, "useAnyPath": { "process_name_1": { "rule_name": true }, "process_name_2": { "rule_name": true } }} For example: { "useInException": { " dynamicCode.exe ": { "Unmapped Executable": true, "Executable Format": true, "Dynamic Code": false, "Writeable…
ReturnsresultGet Exception List 13 params
list_exceptionlist_exceptionRetrieves the list of all exceptions or specific exceptions from Fortinet FortiEDR based on the input parameters you have specified.
- Created Before
createdBeforedatetimeDateTime before which the exceptions that you want to retrieve from Fortinet FortiEDR were created.
- Created After
createdAfterdatetimeDateTime after which the exceptions that you want to retrieve from Fortinet FortiEDR were created.
- Updated Before
updatedBeforedatetimeDateTime before which the exceptions that you want to retrieve from Fortinet FortiEDR were updated.
- Updated After
updatedAfterdatetimeDateTime after which the exceptions that you want to retrieve from Fortinet FortiEDR were updated.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated exceptions you want to retrieve from Fortinet FortiEDR. NOTE: The value…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated exceptions you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Exception Ids
exceptionIdstext(Optional) Specify a list of exception IDs to filter the list retrieved from Fortinet FortiEDR. For example: 211171,211172
- Rules
rulestext(Optional) Specify the list of rule names to filter the list retrieved from Fortinet FortiEDR. For example: Test Rule1,Test Rule2
- Collector Groups
collectorGroupstext(Optional) Specify the list of all the collector groups to which the exception applies.
- Process
processtext(Optional) Specify the process to which the exception applies. For example: Update.exe
- Path
pathtext(Optional) Specify the path of the exception. For example: \elasticsearch-8.10.2-windows-x86_64\elasticsearch-8.10.2\lib
- Comment
commenttext(Optional) Specify a comment attached to the exception.
- Destination IP
destinationtext(Optional) Specify a destination IP of the exception.
- User
usertext(Optional) Specify a user of the exception. For example: Local System
Update Exception 6 params
update_exceptionupdate_exceptionUpdates a specific exception in Fortinet FortiEDR based on the event ID, exception ID, and other input parameters you have specified.
- Event ID
eventIdinteger requiredID of the event whose associated exception you want to update in Fortinet FortiEDR.
- Exception ID
exceptionIdinteger requiredID of the exception that you want to update in the Fortinet FortiEDR.
- Organization
organizationtext requiredName of a specific organization that you want to update in the specific exception Fortinet FortiEDR. Note:The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Add Destinations
destinationselect(Optional) Type of destination that you want to update in the specific exception Fortinet FortiEDR. You can choose between Exact Destination or All Destinations. If you choose 'Exact Destination', then in the Exact Destinations (IP Set Names) field, specify the destination names, in the CSV format that you want to add to the specified exception. If you choose 'All Destinations', then the Destination parameter will be set automatically to 'All Destinations'.
Options Exact DestinationsAll DestinationsWhen Add Destinations is Exact Destinations
- Exact Destinations (IP Set Names)
ip_set_nametext requiredIf you choose 'Exact Destination', then in the Exact Destinations (IP Set Names) field, specify the destination names, in the CSV format that you want to add to the specified exception. If you choose 'All Destinations', then the Destination parameter will be set automatically to 'All Destinations'.
- Collector Group
collector_grpselect(Optional) Type of collector group that you want to update in the specific exception Fortinet FortiEDR. You can choose between Exact Collector Group or All Groups. or All Organizations. If you choose 'Exact Collector Group', then in the Exact Collector Group field, specify the collector groups, in the CSV format that you want to add to the specified exception. If you choose 'All Groups' or 'All Organizations', then the Collector Group parameter will be set automatically to 'All Groups' or 'All Organizations' respectively.
Options Exact Collector GroupAll GroupsAll OrganizationsWhen Collector Group is Exact Collector Group
- Exact Collector Group
collector_grouptext requiredSpecify the collector group names to add into the exception. Specify in CSV format.
- Add Comment
commenttext(Optional) Free text that you want to add as a comment to the exception that you want to update in Fortinet FortiEDR.
Get Event Exceptions 2 params
get_event_exceptionsget_event_exceptionsRetrieves the list of event exceptions from Fortinet FortiEDR based on the event ID and other input parameters you have specified.
- Event ID
eventIdinteger requiredID of the event whose associated exceptions you want to retrieve from Fortinet FortiEDR.
- Organization
organizationtext(Optional) Name of a specific organization whose associated event exceptions you want to retrieve from Fortinet FortiEDR. Note: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
Get Raw JSON Event Data 2 params
get_raw_json_event_dataget_raw_json_event_dataRetrieve the raw data of specific events from Fortinet FortiEDR based on the event ID and other input parameters you have specified.
- Raw Event ID
rawItemIdstext requiredID of the event that holds the raw JSON data that you want to retrieve from Fortinet FortiEDR.
- Organization
organizationtext(Optional) Name of a specific organization whose associated events hold the raw JSON data that you want to retrieve from Fortinet FortiEDR. Note: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
ReturnsupdateTimesendToSupportOnlyLoggedUsersAutomationDataEventTypedeviceAggregationCrcdeviceAggregationShaCrcOsVersionSigningStatusRemediateDeviceAlertsEventIdVersionFirstSeenLastSeenHostNameCountMainProcessIdOperatingSystemOSGlobalAggregationCrcGlobalShaAggregationCrcApplicationMountPointAppScriptModuleIs64bitIsSignedAppShaAppVendorEventSourceCreate IPSet 5 params
create_ipsetcreate_ipsetCreates an IPSet in Fortinet FortiEDR using the set of IP addresses and other parameters you have specified.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization in which to create the IPSet. NOTE: The value that you specify in this parameter must match…
Options Exact Organization NameAll organizationsEachWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization in which to create the IPSet. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- IP Set Name
nametext requiredName of the IPSet you want to create in Fortinet FortiEDR.
- Description
descriptiontext requiredDescription of the IPSet you want to create in Fortinet FortiEDR.
- IP Address to Include
includetext requiredList of IP addresses to include in the IPSet you want to create in Fortinet FortiEDR.
- IP Address to Exclude
excludetext requiredList of IP Addresses to exclude from the IPSet you want to create in Fortinet FortiEDR.
ReturnsresultGet IPSet List 2 params
get_ipset_listget_ipset_listRetrieves a list of IPSets from Fortinet FortiEDR based on the IP address and other input parameters you have specified.
- IP to Search
iptext requiredIP address using which you want to search for IPSets in Fortinet FortiEDR.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated IPSets you want to retrieve from Fortinet FortiEDR. NOTE: The value that…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated IPSets you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
Update IPSet 6 params
update_ipsetupdate_ipsetUpdates IP addresses in the specific IPSet in Fortinet FortiEDR using the set of IP addresses, the IPSet name, and other parameters you have specified.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization in which to update the IPSet. NOTE: The value that you specify in this parameter must match…
Options Exact Organization NameAll OrganizationsEachWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization in which to update the IPSet. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- IP Set Name
nametext requiredName of the IPSet you want to update in Fortinet FortiEDR.
- Description
descriptiontext requiredDescription of the IPSet you want to update in Fortinet FortiEDR.
- Add IP into Sets
add_itemscheckbox requiredSelect this checkbox to add the IP address to the IPSets Include/Exclude sections. Clear this checkbox to remove the IP address from the IPSets Include/Exclude sections
Default
true - IP Address to Include
includetextList of IP Addresses to include from the IPSet you want to update in Fortinet FortiEDR.
- IP Address to Exclude
excludetextList of IP Addresses to exclude from the IPSet you want to update in Fortinet FortiEDR.
ReturnsresultDelete IPSet 2 params
delete_ipsetdelete_ipsetDeletes specific IPSets from Fortinet FortiEDR based on the IPSet names and other input parameters you have specified.
- IP Set Names
ipSetstext requiredList of the IPSet names that you want to delete from Fortinet FortiEDR.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated IPSets you want to delete from Fortinet FortiEDR. NOTE: The value that you…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated IPSets you want to delete from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
ReturnsresultGet Agent Groups 1 param
get_agent_groupget_agent_groupRetrieves a list of all agent group lists from Fortinet FortiEDR.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated agent groups you want to retrieve from Fortinet FortiEDR. NOTE: The value…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated agent groups you want to retrieve from Fortinet FortiEDR.
Get System Summary 2 params
get_system_summaryget_system_summaryRetrieves a summary of the environment from Fortinet FortiEDR.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated environment summary you want to retrieve from Fortinet FortiEDR. NOTE: The…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated environment summary you want to retrieve from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Add License Blob
addLicenseBlobcheckboxSelect this option, i.e., set it to 'true' to the license blob to the response retrieved by this operation. By default, addLicenseBlob is set to 'false'.
Default
false
ReturnsendpointsLicenseCapacityendpointsInUsemobileInUsemaxAccountCountrepositoryAddOnsserialNumberworkstationCollectorsLicenseCapacityserverCollectorsLicenseCapacityiotDevicesLicenseCapacityregisteredCollectorsworkstationsCollectorsInUseserverCollectorsInUseiotDevicesInUsecollectorsStatecollectorsDegradedStatecollectorsRunningStatecollectorsDisconnectedStatecollectorsWithDumpslicenseExpirationDatemanagementVersionmanagementHostnamemanagementExternalIPmanagementInternalIPcollectorVersionscollectorVersionsV2coresaggregatorsrepositoriessystemStatecustomerNameGet Organizations
get_organizationsget_organizationsRetrieves a detailed list of organizations from the FortiEDR server.
No parameters.
Move Collectors 4 params
move_collectorsmove_collectorsMove collectors between organizations based on the collectors, target collectors group, and other input parameters that you have specified.
- Collectors
collectorstext requiredSpecify a list of collector device names. To move collectors between organizations, the collectors parameter should contain the organization name with a backslash before the name. For example: OrgA\collectorA. Only a user with hosting permissions can move collectors between organizations. In this case, the organization property is mandatory and must have the value as All Organizations.
- Target Collector Group
targetCollectorGrouptext requiredSpecify the target collector group name. To move collectors between organizations, the targetCollectorGroup parameter should contain the organization name with a backslash before the name. For example: OrgA\collectorA. Only a user with hosting permissions can move collectors between organizations. In this case, the organization property is mandatory and must have the value as All Organizations.
- Organization
organizationselect(Optional) Select how the operation applies to an organization. Some parts of the Fortinet Endpoint Protection and Response Platform system have separate, non-shared data that is organization-specific. Other parts of the system have data that is shared by all organizations. The value that you specify for the organization parameter, determines the organization to which this operation applies. You can select from the following options: Exact Organization Name: Specify the exact name of the organization whose associated collector groups you want to move from Fortinet FortiEDR. NOTE: The value…
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredSpecify the exact name of the organization whose associated collector groups you want to move from Fortinet FortiEDR. NOTE: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Force Assign
forceAssigncheckbox(Optional) Indicates whether to force the assignment, even if the organization of the target collector group is under migration.
ReturnsresultDelete Collectors fork addition 3 params
delete_collectorsdelete_collectorsDeletes collector records from the Fortinet FortiEDR console inventory. Filter the deletion by device IDs, device names, or a last-seen cutoff; at least one filter is REQUIRED. The console's delete API requires the explicit deleteAll=true confirmation, which this operation always sends, and with no filter that confirmation deletes EVERY collector record in the organization, so an empty request…
- Device IDs
devicesIdstext(Optional) Comma-separated collector IDs whose records you want to delete from the console.
- Device Names
devicestext(Optional) Comma-separated collector device names whose records you want to delete from the console.
- Last Seen End
lastSeenEndtext(Optional) Deletes collector records whose last connection to the console is before this date and time.
ReturnsresultUninstall Collectors fork addition 2 params
uninstall_collectorsuninstall_collectorsUninstalls the FortiEDR collector agent from devices and removes their records, addressed by device IDs or device names. Unlike Delete Collectors, this reaches the endpoint and removes the agent: a collector removed this way does not re-register, and the agent only comes back through a fresh install of the installer package. At least one of Device IDs or Device Names is required; an empty…
- Device IDs
devicesIdstext(Optional) Comma-separated collector IDs whose agents you want to uninstall from their devices.
- Device Names
devicestext(Optional) Comma-separated collector device names whose agents you want to uninstall from their devices.
ReturnsresultSearch IOC 9 params
search_iocsearch_iocHunts threats by searching for Indicators of Compromise (IOCs), potential threats, and malware within the activity data collected and stored on the repository server.
- Organization
organizationtextSpecify the organization name using which you will access the Fortinet FortiEDR server and search for IOCs. The organization must be specified in a multi-tenancy environment. Note: The value that you specify in this parameter must match exactly with the organization name specified in Fortinet FortiEDR.
- Category
categoryselectSelect the category name using which you want to filter the IOCs retrieved from Fortinet FortiEDR. You can choose from the following options: Process, File, Registry, Network, Event Log, or All. The default value is set as 'All'.
Default
AllOptions ProcessFileRegistryNetworkEvent LogAll - Devices
devicestextSpecify the CSV list of devices on which the events have occurred, whose associated IOCs you want to search in Fortinet FortiEDR.
- Time
timeselectSelect the period when the events occurred, whose associated IOCs you want to search in Fortinet FortiEDR. You can choose from the following options: Last Hour, Last 12 Hours, Last 24 Hours, Last 7 Days, Last 30 Days, or Custom. The default value is set as 'Last Hour'.
Default
Last HourOptions Last HourLast 12 HoursLast 24 HoursLast 7 DaysLast 30 DaysCustomWhen Time is Custom
- From Time
fromTimedatetime requiredSpecifies the starting (from) creation time of the events.
- To Time
toTimedatetime requiredSpecifies the ending (to) creation time of the events.
- Filters
filtersjsonSpecifies the filters to add to the query in the JSON format. fieldName: Specifies the filter field name, includeValues: Specifies whether the values list should be included or excluded from the query (true to include, false to exclude). values: Specifies the list of values to be included or excluded from the query.
Default
[[{"fieldName": "Type", "includeValues": true, "values": ["Process Creation"]}]] - Query
querytextSpecifies a query with Lucene syntax using which you want to search for IOCs in Fortinet FortiEDR.
- Sorting
sortingcheckboxSelect this option to sort the results based on the specified parameters. If you select this option, then specify the following options: Field, Order, Priority.
When Sorting is true:
- Field
fieldtext requiredSpecify the names of the fields by which you want to sort the results retrieved by this operation.
- Order
orderselect requiredSpecify the order in which you want to sort the results retrieved by this operation; can be ascending or descending.
Options AscendingDescending - Priority
prioritytext requiredSpecify the level of sorting. Sorting can be done based on multiple fields, starting with priority 0 and then internal sorting 1, 2, 3, and so on.
- Page Number
pageNumberintegerSpecify the page number from which you want to retrieve the results.
- Items Per Page
itemsPerPageintegerSpecify the maximum number of IOCs that this operation should return for the current page. The default value is set as '100'.
Execute an API Request 4 params
generic_rest_api_callgeneric_rest_api_callExecutes any FortiEDR REST API using the specified API method, endpoint, and payload as input parameters.
- Endpoint
endpointtext requiredSpecify the REST API endpoint for the action you want to perform. For example, /management-rest/events/list-raw-data-items, /management-rest/ip-sets/list-ip-sets, etc. Note: The full list of available actions is accessible from FNDN at https://fndn.fortinet.net/index.php?/fortiapi/1210-fortiedr/.
- Method
methodselect requiredSelect the HTTP method that you want to use to execute the API request. You can choose from the following options: DELETE, GET, PATCH, POST, or PUSH
Default
GETOptions DELETEGETPATCHPOSTPUT - query_params
Query ParametersjsonSpecify the REST API query parameters object in the JSON format.
- Payload
payloadjson(Optional) Specify the payload needed for the RESP API call. Use empty brackets if there is no payload.
Set Collector State 3 params
set_collector_stateset_collector_stateEnables or disables the state of the collector(s).
- Collectors IDs
collectorIdstext requiredSpecify a list of collector IDs you want to enable or disable.
- Organization ID
organizationIddecimal requiredSpecify the organization ID to which the collector(s) that you want to enable or disable belong.
- Enabled
enabledselect requiredSets the state of the collector(s) IDs you have specified. Select True to enable the specified collectors or False to disable the specified collectors.
Default
TrueOptions TrueFalse
ReturnsiddatastatusmessagepercentageerrorsInfosfailedChildrenmessageIsFinaloptionalMessagesuccessChildrenfinishedChildrenlastActivityTimenumberOfChildrenchildrenProgressPrecentageUpdate Collector Installer 3 params
update_collector_installerupdate_collector_installerUpdates the FortiEDR collectors' target version for collector groups based on the installer versions and other input parameters you have specified.
- Collector Groups
collectorGroupstextSpecify the list of IDs of all the collector groups that you want to update.
- Organization
organizationtext(Optional) Specify the organization of the collector(s) installer you want to update.
- Update Versions Policy
updateVersionsjson requiredSpecify the list of installer versions that should be applied in the specified collector groups.
Default
[ { "allowDowngrade": true, "osFamily": "Windows", "version": "string" } ]
ReturnsstatusmessageGet Collector Installers 1 param
get_collector_installersget_collector_installersRetrieves a list of the available collector installers on the organization you have specified.
- Organization
organizationtextOptional. Blank lists the installers of the connector configuration's own organization; fill only to read another organization. The select value "All organizations" is rejected by the server as a name.
ReturnsavailableCollectorInstallersIngest Events fork addition 10 params
ingest_eventsingest_eventsFetches every event whose Last Seen (or First Seen, per Time Field) falls in [From, To] and returns them already mapped to FortiSOAR alert payloads (external_id = eventId, severity clamped to the picklist). Built for the scheduled ingestion playbooks. FortiEDR links re-detections of the same process into the EXISTING event -- its firstSeen never moves -- so the default window is on Last Seen; a…
- From
fromdatetime requiredWindow start (the time field is chosen by Time Field).
- To
todatetimeWindow end; blank means now.
- Time Field
time_fieldselectLast Seen (activity): every event created or re-triggered in the window -- the default. First Seen (creations only): only events first detected in the window (the shipped connector behavior).
Default
Last Seen (activity)Options Last Seen (activity)First Seen (creations only) - Classifications
classificationsmultiselectOptional: pull only these classifications. The pull watermark advances past non-matching events, so set the filter before the first pull and keep it stable.
Options MaliciousSuspiciousInconclusivePUPLikely SafeSafe - Severities
severitiesmultiselectOptional: pull only these severities. Same watermark note as Classifications.
Options CriticalHighMedium - Device Name
devicetextOptional: pull only events on this device name. Blank means all devices.
- Collector Groups
collector_groupstextOptional: comma-separated collector group names to pull from. Blank means all groups.
- Max Events
max_eventsintegerSafety cap on one ingestion run (default 5000). A window whose count-events exceeds it fails the run instead of silently skipping events -- raise the cap or shorten the pull schedule.
Default
5000 - Organization
organizationtextOptional exact organization name.
- Include Command Timeline
include_command_timelinecheckboxCheck to enrich every fetched event with the console's command timeline -- the process/cmd stacks behind the detection (what triggered what, with command lines), read from the rdi-events endpoint. One extra console call per event; the trimmed timeline rides the mapped row and so the alert's sourcedata (command_timeline), with command_timeline_error recorded per event on a refused sub-call. Off by default: a large backfill window with this on is one sub-call per event.
Default
false
Get Incidents fork addition 11 params
get_incidentsget_incidentsLists FortiEDR console incidents -- the object the FortiEDR UI groups events by (typically one per process). An incident absorbs re-detections of the same process: firstSeen is when it was created, lastSeen when the latest event was linked into it. Two optional checkboxes enrich every incident inside this one call: Include Events attaches the incident's linked events (events), and Include…
- Time Filter
time_filtertextConsole time filter by incident activity (lastSeen).
Default
Last30days - Status Filter
status_filtertextDefault
Unhandled - Type Filter
type_filtertextDefault
SecurityEvents - Free Text Search
free_text_searchtext - Organization ID
organization_idintegerNumeric organization id; leave blank for the authenticated user organization.
- Page Size
page_sizeintegerDefault
50 - Offset
offsetintegerDefault
0 - Sorting
sortingtextJSON sorting, e.g. {"lastSeen": true}.
- Include Events
include_eventscheckboxCheck to attach each incident's linked events as `events` (modeled console rows, epoch twins included). An incident reporting more linked events than Events Per Incident returned is flagged `eventsTruncated`. Unchecked by default: the plain incident list is unchanged. The per-incident sub-call is auto-scoped: to Organization ID when given, else to the incident's own console account.
Default
false - Events Per Incident
events_page_sizeintegerCap on the events list attached per incident by the enrichment checkboxes. Default 10; raise it for long-running incidents, or page through Get Incident Events for the full history.
Default
10 - Include Process Detail
include_process_detailcheckboxCheck to also re-read each incident's newest linked event through the event API and attach it as `latestEvent`: the full process identity (path, type, owner, logged users, destinations, rules, threat details, collector ip/OS/group). It chains off the incident's events, so those are fetched and attached too. `latestEvent` is null when the incident carries no events to chain.
Default
false
Get Incident by ID fork addition 2 params
get_incident_by_idget_incident_by_idFetches one FortiEDR console incident.
- Incident ID
incident_idinteger required - Organization ID
organization_idinteger
Get Incident Events fork addition 7 params
get_incident_eventsget_incident_eventsLists the events linked into one FortiEDR console incident.
- Incident ID
incident_idinteger required - Organization ID
organization_idinteger - Time Filter
time_filtertext - Status Filter
status_filtertext - Type Filter
type_filtertext - Page Size
page_sizeintegerDefault
100 - Offset
offsetintegerDefault
0
Delete Exception fork addition 7 params
delete_exceptiondelete_exceptionDeletes exception rules the shipped connector could never remove (the API has had /exceptions/delete all along). Exception IDs is the narrow path and is required unless Delete All is True, which widens the delete to the given filters.
- Exception IDs
exceptionIdstext requiredComma-separated exception IDs (from Get Event Exceptions or Get Exception List).
- Delete All
deleteAllselectTrue: delete every exception matching the filters below (mass delete). False (default): only the IDs listed above.
Default
FalseOptions TrueFalse - Comment
commenttextFilter (Delete All only): the rule comment.
- Process
processtextFilter (Delete All only): the process name.
- Rules
rulestextFilter (Delete All only): the rule name.
- Path
pathtextFilter (Delete All only): the process path.
- Organization
organizationselectWhich organization the rules belong to.
Options Exact Organization NameAll organizationsWhen Organization is Exact Organization Name
- Organization Name
org_nametext requiredThe exact organization name (must match the FortiEDR organization name exactly).