diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..6a8fa22 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,25 @@ +cff-version: 1.2.0 +title: 'CrowdStrike Foundry Sample App - Functions with Python' +message: >- + If you use this software, and wish to cite the origins, + please use metadata from this file. +type: software +authors: + - given-names: + family-names: CrowdStrike + email: oss-questions@crowdstrike.com +repository-code: 'https://github.com/CrowdStrike/foundry-sample-functions-python' +url: 'https://www.crowdstrike.com' +abstract: >- + The CrowdStrike Foundry Sample App - Functions with Python + is a community-driven, open source project designed + to illustrate creating apps with CrowdStrike Foundry. +keywords: + - crowdstrike + - oauth2 + - crowdstrike-foundry + - python + - windows + - linux + - mac +license: MIT diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..44f3ce4 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,139 @@ + + +[](https://reddit.com/r/crowdstrike) + +# Foundry Community Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +oss-conduct@crowdstrike.com or https://crowdstrike.ethicspoint.com/. + +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. + + +--- + +


WE STOP BREACHES
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..7026c00 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,75 @@ + + +[](https://reddit.com/r/crowdstrike) + +# Contributing to this repository + + + +Please review this document for details regarding getting started with your first contribution, packages you'll need to install as a developer, and our Pull Request process. If you have any questions, please let us know by posting your question as an [issue](https://github.com/CrowdStrike/foundry-sample-functions-python/issues). + +> **Before you begin**: Have you read the [Code of Conduct](CODE_OF_CONDUCT.md)? +> The Code of Conduct helps us establish community norms and how they'll be enforced. + +## Issues + +Issues are very valuable to this project. + +- Ideas are a valuable source of contributions others can make +- Problems show where this project is lacking +- With a question you show where contributors can improve the user + experience + +Thank you for creating them. + +## Pull Requests + +Pull requests are a great way to get your ideas into this repository. + +When deciding if we merge in a pull request we look at the following +things: + +### Does it state intent + +You should be clear which problem you're trying to solve with your +contribution. + +For example: + +> Add link to code of conduct in README.md + +Doesn't tell me anything about why you're doing that + +> Add link to code of conduct in README.md because users don't always +> look in the CONTRIBUTING.md + +Tells us the problem that you have found, and the pull request shows us +the action you have taken to solve it. + +### Is it of good quality + +- There are no spelling mistakes +- It reads well +- For english language contributions: Has a good score on + [Grammarly](https://www.grammarly.com) or [Hemingway + App](https://www.hemingwayapp.com/) + +### Does it move this repository closer to our vision for the repository + +The aim of this repository is: + +- To provide a sample for Falcon Foundry so users can learn from it +- The content is usable by someone who hasn't written something like + this before +- Foster a culture of respect and gratitude in the open source + community. + +### Does it follow the contributor covenant + +This repository has a [code of conduct](CODE_OF_CONDUCT.md), we will +remove things that do not respect it. + +--- + +

WE STOP BREACHES
diff --git a/README.md b/README.md index f6be208..c870fa3 100644 --- a/README.md +++ b/README.md @@ -1 +1,118 @@ + + # Functions with Python sample Foundry app + +The Functions with Python sample Foundry app is a community-driven, open source project which serves as an example of an app which can be built using CrowdStrike's Foundry ecosystem. `foundry-sample-functions-python` is an open source project, not a CrowdStrike product. As such, it carries no formal support, expressed or implied. + +This app is one of several App Templates included in Foundry that you can use to jumpstart your development. It comes complete with a set of preconfigured capabilities aligned to its business purpose. Deploy this app from the Templates page with a single click in the Foundry UI, create an app from this template using the Foundry CLI, or download it as a zip and import it. + +> [!IMPORTANT] +> To view documentation and deploy this sample app, you need access to the Falcon console. + +## Description + +The Functions with Python sample Foundry app shows how to use Python functions with FalconPy, workflows, API integrations, collections, and UI extensions. + +## Prerequisites + +* The Foundry CLI (instructions below). +* Python 3.9+ (needed if running the app's functions locally). See [Python For Beginners](https://www.python.org/about/gettingstarted/) for installation instructions. + +### Install the Foundry CLI + +You can install the Foundry CLI with Scoop on Windows or Homebrew on Linux/macOS. + +**Windows**: + +Install [Scoop](https://scoop.sh/). Then, add the Foundry CLI bucket and install the Foundry CLI. + +```shell +scoop bucket add foundry https://github.com/crowdstrike/scoop-foundry-cli.git +scoop install foundry +``` + +Or, you can download the [latest Windows zip file](https://assets.foundry.crowdstrike.com/cli/latest/foundry_Windows_x86_64.zip), expand it, and add the install directory to your PATH environment variable. + +**Linux and macOS**: + +Install [Homebrew](https://docs.brew.sh/Installation). Then, add the Foundry CLI repository to the list of formulae that Homebrew uses and install the CLI: + +```shell +brew tap crowdstrike/foundry-cli +brew install crowdstrike/foundry-cli/foundry +``` + +Run `foundry version` to verify it's installed correctly. + +## Getting Started + +Clone this sample to your local system, or [download as a zip file](https://github.com/CrowdStrike/foundry-sample-functions-python/archive/refs/heads/main.zip) and import it into Foundry. + +```shell +git clone https://github.com/CrowdStrike/foundry-sample-functions-python +cd foundry-sample-functions-python +``` + +Log in to Foundry: + +```shell +foundry login +``` + +Select the following permissions: + +- [ ] Create and run RTR scripts +- [x] Create, execute and test workflow templates +- [x] Create, run and view API integrations +- [ ] Create, edit, delete, and list queries + +Deploy the app: + +```shell +foundry apps deploy +``` + +> [!TIP] +> If you get an error that the name already exists, change the name to something unique to your CID in `manifest.yml`. + +Once the deployment has finished, you can release the app: + +```shell +foundry apps release +``` + +Next, go to **Foundry** > **App catalog**, find your app, and install it. Go to **Fusion SOAR** > **Workflows** to see the test workflows from this app. + +## About this sample app + + + +This sample is designed to show how to use Python Functions in Falcon Foundry. It contains a few capabilities: + +1. Python functions: + + - **hello**: Simple greeting service + - **host-details**: Uses FalconPy to get Host details + - **servicenow**: Uses FalconPy to invoke an API Integration + - **log-event**: Uses FalconPy to store data in a collection + +2. Test workflows to invoke each function. +3. A UI extension on **Endpoint security** > **Endpoint detections** that can be used to call the `hello` function. + +See this sample's [App docs README](app_docs/README.md) for configuration and usage information. + +## Technical Implementation + +- Built on CrowdStrike's Foundry Function framework +- Written in Python with dependencies including: + - [crowdstrike-foundry-function](https://github.com/CrowdStrike/foundry-fn-python) and [FalconPy](https://falconpy.io/) for CrowdStrike API integration + +## Foundry resources + +- Foundry documentation: [US-1](https://falcon.crowdstrike.com/documentation/category/c3d64B8e/falcon-foundry) | [US-2](https://falcon.us-2.crowdstrike.com/documentation/category/c3d64B8e/falcon-foundry) | [EU](https://falcon.eu-1.crowdstrike.com/documentation/category/c3d64B8e/falcon-foundry) +- Foundry learning resources: [US-1](https://falcon.crowdstrike.com/foundry/learn) | [US-2](https://falcon.us-2.crowdstrike.com/foundry/learn) | [EU](https://falcon.eu-1.crowdstrike.com/foundry/learn) + +--- + +

WE STOP BREACHES
diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..46b4cc7 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,24 @@ + + +# Security Policy + +This document outlines security policy and procedures for the CrowdStrike `foundry-sample-functions-python` project. + +## Reporting a potential security vulnerability + +We have multiple avenues to receive security-related vulnerability reports. +As mentioned in [SUPPORT](https://github.com/CrowdStrike/foundry-sample-functions-python/blob/main/SUPPORT.md), this project is generally not a supported CrowdStrike project. + +Please report suspected security vulnerabilities by: + ++ Submitting + a [bug](https://github.com/CrowdStrike/foundry-sample-functions-python/issues/new?assignees=&labels=bug+%3Abug%3A&template=bug_report.md&title=%5B+BUG+%5D+...). ++ Submitting a [pull request](https://github.com/CrowdStrike/foundry-sample-functions-python/pulls) to potentially resolve the issue. (New + contributors: please review the content + located [here](https://github.com/CrowdStrike/foundry-sample-functions-python/blob/main/CONTRIBUTING.md).) ++ Sending an email to __oss-security@crowdstrike.com__. + +--- + +

WE STOP BREACHES
diff --git a/SUPPORT.md b/SUPPORT.md new file mode 100644 index 0000000..0868f12 --- /dev/null +++ b/SUPPORT.md @@ -0,0 +1,54 @@ + + +# Repository Support + +`foundry-sample-functions-python` is a community-driven, open source project which serves as an example of an app which can be built using CrowdStrike's Foundry ecosystem. +`foundry-sample-functions-python` is an open source project, not a CrowdStrike product. As such, it carries no formal support, expressed or implied. + +## Issue Reporting and Questions 🐛 + +Issues may be reported [here](https://github.com/CrowdStrike/foundry-sample-functions-python/issues/new/choose) and are used to track bugs, documentation and link updates, enhancement requests and security concerns. + +### Issue Formatting (MCVE) + +Whenever possible, please try to format issues and questions in the [**M**inimal, **C**omplete, and **V**erifiable **E**xample](https://stackoverflow.com/help/minimal-reproducible-example) format. This format reduces "noise", allowing the community to better understand your concern, and provide you with a solution more quickly. This also reduces the likelihood of confidential environment details being accidentally shared within your post. + +MCVE formatted code examples provided within issues or questions should be: + +- _**Minimal**_: Provide as little as code as possible to produce the problem. + - Only provide the [statements required](https://matthewrocklin.com/minimal-bug-reports#see-how-small-you-can-make-things) to create an example of the issue. + - Use simple, descriptive names for functions and variables. Don't just copy your existing code. + - [Do not include real data](https://matthewrocklin.com/minimal-bug-reports#don-t-post-data). [Mock data examples](https://matthewrocklin.com/minimal-bug-reports#actually-don-t-include-your-data-at-all) to describe the format used, but do not provide real values. +- _**Complete**_: Provide all the necessary programmatic pieces to recreate the issue. + - Do _**not**_ provide screenshots of code. + - Use `code blocks` for each file or snippet. Include a description with each block. + - Provide all error messages received, including the [complete traceback](https://matthewrocklin.com/minimal-bug-reports#provide-complete-tracebacks). +- _**Reproducible**_: Provide code that reliably reproduces the problem. + - Provide as much detail regarding the problem as possible. + - Test your example to make sure it produces consistent results. + +> To read more about _MCVE format_, review this post on [Stack Overflow](https://stackoverflow.com/help/minimal-reproducible-example). For tips on how to properly format questions, check out the blog post by [@mrocklin](https://github.com/mrocklin/) on [crafting minimal bug reports](https://matthewrocklin.com/minimal-bug-reports). + +### [Report an Issue →](https://github.com/CrowdStrike/foundry-sample-functions-python/issues/new/choose) + +### Support Escalation + +`foundry-sample-functions-python` is an open source project, not a CrowdStrike product. As such, it carries no formal support, expressed or implied. + +#### Confidentiality + +There are also situations where aspects of a support concern cannot be discussed in an online forum, such as: + +- customer entitlement +- data sensitivity +- environment configuration + +_MCVE format_ is designed to reduce the potential for encountering confidentiality concerns while describing your issue, but cannot speak to every scenario. If one of these concerns impacts your ability to post an issue to this repository, please [contact the CrowdStrike technical support team](https://supportportal.crowdstrike.com/) directly making sure to highlight the concern as part of your support request. + + + +--- + + +

WE STOP BREACHES
diff --git a/images/adversary-bear.png b/images/adversary-bear.png new file mode 100644 index 0000000..7ff62a6 Binary files /dev/null and b/images/adversary-bear.png differ diff --git a/images/adversary-goblin-panda.png b/images/adversary-goblin-panda.png new file mode 100644 index 0000000..5d49915 Binary files /dev/null and b/images/adversary-goblin-panda.png differ diff --git a/images/alliance-team.png b/images/alliance-team.png new file mode 100644 index 0000000..54efca3 Binary files /dev/null and b/images/alliance-team.png differ diff --git a/images/cs-logo-footer.png b/images/cs-logo-footer.png new file mode 100644 index 0000000..f25f7d5 Binary files /dev/null and b/images/cs-logo-footer.png differ diff --git a/images/cs-logo.png b/images/cs-logo.png new file mode 100644 index 0000000..72e2dff Binary files /dev/null and b/images/cs-logo.png differ diff --git a/images/falcon-logo.png b/images/falcon-logo.png new file mode 100755 index 0000000..d890657 Binary files /dev/null and b/images/falcon-logo.png differ diff --git a/images/hollywood-adversaries.jpg b/images/hollywood-adversaries.jpg new file mode 100644 index 0000000..3942007 Binary files /dev/null and b/images/hollywood-adversaries.jpg differ diff --git a/images/turbine-panda.png b/images/turbine-panda.png new file mode 100644 index 0000000..3e704c3 Binary files /dev/null and b/images/turbine-panda.png differ diff --git a/manifest.yml b/manifest.yml index b63d91b..700a7ac 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,4 +1,4 @@ -app_id: "" +app_id: 2a51ccfdce4b4633b474241517bad918 name: functions-python description: Foundry sample that shows how to use Python functions logo: app_docs/images/logo.png @@ -7,224 +7,224 @@ vendor_products: [] use_case: Cloud security manifest_version: "2023-05-09" ignored: - - .+/node_modules$ - - .+/node_modules/.+ - - .+/venv$ - - .+/venv/.+ + - .+/node_modules$ + - .+/node_modules/.+ + - .+/venv$ + - .+/venv/.+ ui: - homepage: "" - extensions: - - id: "" - name: hello - description: UI to call the hello function - path: ui/extensions/hello/src/dist - entrypoint: ui/extensions/hello/src/dist/index.html - sockets: - - activity.detections.details - content_security_policy: - connect-src: [] - style-src: [] - style-src-elem: [] - script-src: [] - form-action: [] - img-src: [] - media-src: [] - object-src: [] - permissions: [] - is_ui_builder: false - pages: {} - dashboards: {} - navigation: {} + homepage: "" + extensions: + - id: d9c0db66bf9f4f7f913041405766d7f4 + name: hello + description: UI to call the hello function + path: ui/extensions/hello/src/dist + entrypoint: ui/extensions/hello/src/dist/index.html + sockets: + - activity.detections.details + content_security_policy: + connect-src: [] + style-src: [] + style-src-elem: [] + script-src: [] + form-action: [] + img-src: [] + media-src: [] + object-src: [] + permissions: [] + is_ui_builder: false + pages: {} + dashboards: {} + navigation: {} api_integrations: - - id: "" - name: ServiceNow - description: Allows you to perform CRUD operations on tables - path: api-integrations/ServiceNow.json + - id: 77a7be518bcb4df99bffa926daf2593f + name: ServiceNow + description: Allows you to perform CRUD operations on tables + path: api-integrations/ServiceNow.json rtr_scripts: [] collections: - - name: event_logs - description: Event Logs - schema: collections/event_logs_schema.json - permissions: [] - workflow_integration: - system_action: false - tags: - - Functions + - name: event_logs + description: Event Logs + schema: collections/event_logs_schema.json + permissions: [] + workflow_integration: + system_action: false + tags: + - Functions auth: - scopes: - - devices:read - permissions: {} - roles: [] + scopes: + - devices:read + permissions: {} + roles: [] functions: - - id: "" - name: hello - config: null - description: Returns a greeting based on name input - path: functions/hello - environment_variables: {} - handlers: - - name: hello - description: Returns a greeting based on name input - method: POST - api_path: /hello - payload_type: "" - request_schema: request_schema.json - response_schema: response_schema.json - workflow_integration: - id: "" - disruptive: false - system_action: false - tags: - - 911d4531429f4deb9bd79725c34912b7 - - Hello - - Functions - permissions: [] - language: python - - id: "" - name: host-details - config: null - description: Get Device Details using FalconPy - path: functions/host-details - environment_variables: {} - handlers: - - name: host-details - description: Get Device Details using FalconPy - method: POST - api_path: /host-details - payload_type: "" - request_schema: request_schema.json - response_schema: response_schema.json - workflow_integration: - id: "" - disruptive: false - system_action: true - tags: - - 911d4531429f4deb9bd79725c34912b7 - - Functions - - HostDetails - - FalconPy - permissions: [] - language: python - - id: "" - name: servicenow - config: null - description: Create ServiceNow Ticket - path: functions/servicenow - environment_variables: {} - handlers: - - name: snow-ticket - description: Create ServiceNow Ticket - method: POST - api_path: /ticket - payload_type: "" - request_schema: request_schema.json - response_schema: response_schema.json - workflow_integration: - id: "" - disruptive: false - system_action: true - tags: - - 911d4531429f4deb9bd79725c34912b7 - - Functions - - ServiceNow - - FalconPy - permissions: [] - language: python - - id: "" - name: log-event - config: null - description: Store Data in a Collection - path: functions/log-event - environment_variables: {} - handlers: - - name: log-event - description: Store Data in a Collection - method: POST - api_path: /log-event - payload_type: "" - request_schema: request_schema.json - response_schema: response_schema.json - workflow_integration: - id: "" - disruptive: false - system_action: true - tags: - - 911d4531429f4deb9bd79725c34912b7 - - Functions - - Collections - - FalconPy - permissions: [] - language: python - - id: "" - name: host-info - config: null - description: Get Host Information - path: functions/host-info - environment_variables: {} - handlers: - - name: on_post - description: Get Host Information - method: POST - api_path: /host-info - payload_type: "" - request_schema: request_schema.json - response_schema: response_schema.json - workflow_integration: - id: "" - disruptive: false - system_action: false - tags: - - 911d4531429f4deb9bd79725c34912b7 - - Multiple - permissions: [] - language: python - - id: "" - name: user-management - config: null - description: Create a User - path: functions/user-management - environment_variables: {} - handlers: - - name: on_post - description: Create a User - method: POST - api_path: /create-user - payload_type: "" - request_schema: request_schema.json - response_schema: response_schema.json - workflow_integration: - id: "" - disruptive: false - system_action: false - tags: - - 911d4531429f4deb9bd79725c34912b7 - - Multiple - permissions: [] - language: python + - id: 4d4c12e18a94497fbf8f182f699342ba + name: hello + config: null + description: Returns a greeting based on name input + path: functions/hello + environment_variables: {} + handlers: + - name: hello + description: Returns a greeting based on name input + method: POST + api_path: /hello + payload_type: "" + request_schema: request_schema.json + response_schema: response_schema.json + workflow_integration: + id: 7a6370010f594d3fb4f555e5c53f173a + disruptive: false + system_action: false + tags: + - 911d4531429f4deb9bd79725c34912b7 + - Hello + - Functions + permissions: [] + language: python + - id: 7002ee67469a47b4b346632f2f3cc5d9 + name: host-details + config: null + description: Get Device Details using FalconPy + path: functions/host-details + environment_variables: {} + handlers: + - name: host-details + description: Get Device Details using FalconPy + method: POST + api_path: /host-details + payload_type: "" + request_schema: request_schema.json + response_schema: response_schema.json + workflow_integration: + id: a695f317cf2a47b49e24beaefb4da128 + disruptive: false + system_action: true + tags: + - 911d4531429f4deb9bd79725c34912b7 + - Functions + - HostDetails + - FalconPy + permissions: [] + language: python + - id: 078ff8d8dcc24f7188d455a9aa9aecc4 + name: servicenow + config: null + description: Create ServiceNow Ticket + path: functions/servicenow + environment_variables: {} + handlers: + - name: snow-ticket + description: Create ServiceNow Ticket + method: POST + api_path: /ticket + payload_type: "" + request_schema: request_schema.json + response_schema: response_schema.json + workflow_integration: + id: 7860b842e231471cbcea36c994fbe682 + disruptive: false + system_action: true + tags: + - 911d4531429f4deb9bd79725c34912b7 + - Functions + - ServiceNow + - FalconPy + permissions: [] + language: python + - id: b6f9f57dc5634101b1f0c75539eb181f + name: log-event + config: null + description: Store Data in a Collection + path: functions/log-event + environment_variables: {} + handlers: + - name: log-event + description: Store Data in a Collection + method: POST + api_path: /log-event + payload_type: "" + request_schema: request_schema.json + response_schema: response_schema.json + workflow_integration: + id: 324bd526a6aa4ac8acdf9973f1a0edb8 + disruptive: false + system_action: true + tags: + - 911d4531429f4deb9bd79725c34912b7 + - Functions + - Collections + - FalconPy + permissions: [] + language: python + - id: 646b3a7a261d4ee8b816ca34070173b0 + name: host-info + config: null + description: Get Host Information + path: functions/host-info + environment_variables: {} + handlers: + - name: on_post + description: Get Host Information + method: POST + api_path: /host-info + payload_type: "" + request_schema: request_schema.json + response_schema: response_schema.json + workflow_integration: + id: b8f1150310e745fbad9e899ff8770de2 + disruptive: false + system_action: false + tags: + - 911d4531429f4deb9bd79725c34912b7 + - Multiple + permissions: [] + language: python + - id: 915f9e9baeb04476b70545443880f7b9 + name: user-management + config: null + description: Create a User + path: functions/user-management + environment_variables: {} + handlers: + - name: on_post + description: Create a User + method: POST + api_path: /create-user + payload_type: "" + request_schema: request_schema.json + response_schema: response_schema.json + workflow_integration: + id: d9c116ed5766444a9ab9e39cdf160e9a + disruptive: false + system_action: false + tags: + - 911d4531429f4deb9bd79725c34912b7 + - Multiple + permissions: [] + language: python workflows: - - id: "" - name: Test log-event function - path: workflows/Test_log-event_function.yml - permissions: [] - - id: "" - name: Test hello function - path: workflows/Test_hello_function.yml - permissions: [] - - id: "" - name: Test host-details function - path: workflows/Test_host-details_function.yml - permissions: [] - - id: "" - name: Test servicenow function - path: workflows/Test_servicenow_function.yml - permissions: [] + - id: 8b65c69113d74aae88538a4fe4a8c610 + name: Test log-event function + path: workflows/Test_log-event_function.yml + permissions: [] + - id: 9b524e9b83164979a267654a75c5378c + name: Test hello function + path: workflows/Test_hello_function.yml + permissions: [] + - id: f4d40f45023f44d186c0c5bef138f142 + name: Test host-details function + path: workflows/Test_host-details_function.yml + permissions: [] + - id: a25c6642b21141f794bfff18905a12c6 + name: Test servicenow function + path: workflows/Test_servicenow_function.yml + permissions: [] parsers: [] logscale: - saved_searches: [] + saved_searches: [] lookup_files: [] docs: - id: "" - path: app_docs - entrypoint: README.md - links: - - images/snow.png + id: e761f8b6b31747d9a862a9dd7827d0c3 + path: app_docs + entrypoint: README.md + links: + - images/snow.png