You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sample is designed to show you how to use Python Functions in Falcon Foundry.
3
+
This sample is designed to show how to use Python Functions in Falcon Foundry. It contains a few capabilities:
4
4
5
-
It contains several Python functions that show you how to:
5
+
1.Python functions:
6
6
7
-
- Integrate with workflows
8
-
- Use FalconPy
9
-
- Use FalconPy to invoke an API Integration
10
-
- Use FalconPy to store data in a collection
11
-
- Share code between functions
7
+
-**hello**: Simple greeting service
8
+
-**host-details**: Uses FalconPy to get Host details
9
+
-**servicenow**: Uses FalconPy to invoke an API Integration
10
+
-**log-event**: Uses FalconPy to store data in a collection
11
+
12
+
2. Test workflows to invoke each function.
13
+
3. A UI extension on **Endpoint security** > **Endpoint detections** that can be used to call the `hello` function.
14
+
15
+
## ServiceNow API Configuration
12
16
13
17
When you install this app, you will be prompted for ServiceNow credentials. You can create a developer account at <https://developer.servicenow.com>. Your configuration should look similar to the following.
14
18
15
19

16
20
17
21
> If you'd rather not create an account, just fill in fake values when installing. You won't be able to test the ServiceNow API integration nor invoke the servicenow function if you use fake values.
18
22
23
+
## Usage
24
+
19
25
After installing the app, go to **Fusion SOAR** > **Workflows** to see the Test workflows for functions. Execute the **Test hello function** workflow to ensure it works. The host-details one won't succeed unless you change its `host_id` value to match a host in your CID.
0 commit comments