---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Create a serverless discovery schedule

# Create a serverless schedule for Fortinet firewall REST-based discovery {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Create a serverless discovery schedule to discover Fortinet firewalls and FortiGate Virtual Domains (VDOMs) through REST-based discovery.

## Before you begin

* Verify you have the IP address for the Fortinet firewall device.
* Create an alias for the API key credential. For more information, see [Create an alias for the API key credential for Fortinet firewall REST-based discovery](https://servicenow-prod.fluidtopics.net/kqndLhHVN5D58xSGWsgUvg "Create an alias and add it to an API key credential to discover Fortinet firewalls and FortiGate Virtual Domains (VDOMs) through REST-based discovery.").
{#create-serverless-schedule-fortinet__ul_k3y_jqv_vcc}

Role required: discovery_admin

## Procedure

1. Navigate to AllDiscoveryDiscovery Schedules.
2. Create the discovery schedule record.
   1. Select New.
   2. On the form, fill in the fields.  
      {#create-serverless-schedule-fortinet__table_fqm_2f4_vcc__entry__2}

      | Field | Description |
      |-|-|
      | Name | Unique name for this discovery schedule. |
      | Discover | Scan type, which should be Serverless. |
      | MID server | Name of the MID Server to use for this schedule. |
      | Active | Enables this schedule for discovery. |
      [Table 1. Discovery Schedule New record form]

      {#create-serverless-schedule-fortinet__table_fqm_2f4_vcc}
   3. Select Submit.
   {#create-serverless-schedule-fortinet__substeps_lyc_z4k_dfc}
3. Create the execution pattern.
   1. In the Discovery Schedules page, select the record you created.
   2. In the Serverless Execution Patterns tab, select New.
   3. On the form, fill in the fields.  
      {#create-serverless-schedule-fortinet__table_tvt_glv_tcc__entry__2}

      | Field | Description |
      |-|-|
      | Name | Descriptive name for this record. |
      | Pattern | Pattern to be used for this schedule, which should be the Next Generation Fortinet Network Firewall - REST pattern. |
      | Proxy Host | Fully qualified domain name of the machine on which you're installing the proxy server, which should be Global. |
      | Active | Enables this schedule for discovery. |
      [Table 2. Serverless Execution Pattern New record form]

      {#create-serverless-schedule-fortinet__table_tvt_glv_tcc}
   4. Select Submit.
   {#create-serverless-schedule-fortinet__substeps_xxq_fpk_dfc}
4. Set the pattern launcher parameters.
   1. In the Discovery Pattern Launcher Parameters tab, select the record you created.
   2. On the form, fill in the fields.  
      {#create-serverless-schedule-fortinet__table_zkw_j1w_tcc__entry__2}

      | Parameter | Value |
      |-|-|
      | ip_address | IP address of the firewall device. |
      | credentialsAlias | Name of the credential alias you created. |
      [ ]

      {#create-serverless-schedule-fortinet__table_zkw_j1w_tcc}
   3. Select Submit.
   {#create-serverless-schedule-fortinet__substeps_rkw_ppk_dfc}
{#create-serverless-schedule-fortinet__steps_svt_glv_tcc}

## What to do next

Either execute discovery immediately by selecting Discover now or wait until the predefined schedule triggers the discovery.
**Related reference**   

* [Fortinet firewall and FortiGate VDOM REST-based discovery](https://servicenow-prod.fluidtopics.net/RkAGAqxHMZ5_XbFupjOXLw "The Discovery and Service Mapping Patterns application uses the Next Generation Fortinet Network Firewall - REST pattern to find Fortinet firewalls through REST API calls. Additionally, the pattern extension VDOM Discovery finds FortiGate Virtual Domains (VDOMs). Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.")

*[\>]: and then


