Servicenow ITOM- Server less discovery

Sanket6894
Tera Contributor

Hello Experts, 

 

In order to perform the Server less discovery, which pattern we need to select while defining the Discovery schedule? 

Also, if anybody has developed any custom application pattern then kindly share the step for the reference.

 

Regards,

Sanket 

1 ACCEPTED SOLUTION

pratikjagtap
Giga Guru

Hi @Sanket6894 

 

Please follow the below steps:

  1. Selecting the Right Pattern for Serverless Discovery
  • Navigate to Discovery → Discovery Schedules
  • Create a New Discovery Schedule
  • Under the Pattern Selection, choose:
    • For AWS Lambda → AWS Lambda Function Discovery
    • For Azure Functions → Azure Function App Discovery
    • For Google Cloud Functions → GCP Cloud Functions Discovery
  • Assign appropriate Cloud Credentials to access serverless resources.
  1.  Developing a Custom Application Pattern

If you need to develop a custom pattern for an application (e.g., a non-standard serverless service), follow these steps:

Step 1: Navigate to Pattern Designer

  • Go to Discovery → Patterns → Create New Pattern
  • Select Application Pattern (since we are working on a service-level component).

Step 2: Define Identification & Steps

  • Add Identification Sections (to match attributes like Name, ID, or Tags).
  • Use the Cloud API Calls operation to fetch relevant serverless function details.

Step 3: Configure Identification & Classification Rules

  • Set the Entry Point to target the cloud service provider.
  • Query for serverless functions using built-in Cloud Discovery capabilities.

Step 4: Test the Pattern

  • Run Test Mode within Pattern Designer.
  • Validate that the discovered components match expectations.

Step 5: Associate with Discovery Schedule

  • Assign the newly created pattern to the Discovery Schedule.
  • Ensure it runs with the right Cloud Discovery Credentials.

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍 !

 

Regards,

Pratik

View solution in original post

2 REPLIES 2

pratikjagtap
Giga Guru

Hi @Sanket6894 

 

Please follow the below steps:

  1. Selecting the Right Pattern for Serverless Discovery
  • Navigate to Discovery → Discovery Schedules
  • Create a New Discovery Schedule
  • Under the Pattern Selection, choose:
    • For AWS Lambda → AWS Lambda Function Discovery
    • For Azure Functions → Azure Function App Discovery
    • For Google Cloud Functions → GCP Cloud Functions Discovery
  • Assign appropriate Cloud Credentials to access serverless resources.
  1.  Developing a Custom Application Pattern

If you need to develop a custom pattern for an application (e.g., a non-standard serverless service), follow these steps:

Step 1: Navigate to Pattern Designer

  • Go to Discovery → Patterns → Create New Pattern
  • Select Application Pattern (since we are working on a service-level component).

Step 2: Define Identification & Steps

  • Add Identification Sections (to match attributes like Name, ID, or Tags).
  • Use the Cloud API Calls operation to fetch relevant serverless function details.

Step 3: Configure Identification & Classification Rules

  • Set the Entry Point to target the cloud service provider.
  • Query for serverless functions using built-in Cloud Discovery capabilities.

Step 4: Test the Pattern

  • Run Test Mode within Pattern Designer.
  • Validate that the discovered components match expectations.

Step 5: Associate with Discovery Schedule

  • Assign the newly created pattern to the Discovery Schedule.
  • Ensure it runs with the right Cloud Discovery Credentials.

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍 !

 

Regards,

Pratik

Great! thanks for the information, Pratik.