The Rapid Response 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-rapid-response
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, or create an app from this template using the CLI.
The Rapid Response sample Foundry app provides a way to orchestrate execution of executables and removal of files across Windows-based systems, either by targeting specifying specific hosts or by targeting the host groups.
This app illustrates the following functionality amongst other components:
- use of LogScale saved searches
- use of RTR script orchestration via workflows, including scheduling
- use of UI components and extensions
- use of file uploads
- use of functions
- Foundry CLI
- Go v1.21+ (needed if modifying functions). See https://go.dev/learn/ for instructions to install.
- YARN (needed if modifying UI). See https://yarnpkg.com/getting-started for instructions to install.
- Collections. Used by the app to store state information, such as metadata about created jobs, execution history, and an audit log.
- Functions. Backend business logic for invoking workflows, normalizing and aggregating data to be returned to the UI, and modifying the state of the collections.
- LogScale queries. Query results of RTR script execution from LogScale to extract metadata about on which hosts the scripts successfully executed.
- RTR scripts. Executes executables on a target system. Removes files from a targeted system.
- UI navigation. Adds the app to the Falcon navigation for easy access.
- UI pages. Custom UI pages to display results and manage the app.
- Workflow templates. Workflows for orchestrating the execution of the jobs against individual hosts and host groups.
- Functions
- Go
- CrowdStrike Foundry Function Go SDK (https://github.com/CrowdStrike/foundry-fn-go)
- RTR scripts
- Powershell
- UI
- HTML, CSS
- Typescript, React
collections
. Schemas used in the collections used by this app.functions
Func_Jobs
: Creates and updates jobs, invokes workflows, and manages the audit log.job_history
: Manages the job execution history.
rtr-scripts
check_file_exist
: RTR script which checks if an executable or file is present on a Windows system.remove_file
: RTR script which removes a file or executable if the file is present on a Windows system.
saved-searches/Query_By_WorkflowRootExecutionID
: LogScale saved search for retrieving events by a workflow execution ID.ui/pages/rapid-response-react
: Single Page Application which serves as the frontend of the app.workflows
: Workflow template definitions. Fusion workflows are created from the templates in this directory.Install_software_Job_Template.yml
: Workflow to upload and invoke an executable via RTR on hosts. Results are written to LogScale.Notify_job_execution_template.yml
: Workflow which notifies thejob_history
function to report results of theInstall_software_Job_Template
andRemove_file_template.yml
.Remove_file_template.yml
: Workflow to remove files from targeted hosts. Results are written to LogScale.
For detailed info about deploying and installing this app in your CID, see the Falcon Foundry product documentation:
- Deploy an app
- US-1: Deploy an app
- US-2: Deploy an app
- EU-1: Deploy an app
- Create a new app using this app as template
- Run this app in development mode after deployment
- Work with the Foundry capabilities of this app
- US-1: App capabilities
- US-2: App capabilities
- EU-1: App capabilities
See our product documentation:
- US-1: Falcon Foundry
- US-2: Falcon Foundry
- EU-1: Falcon Foundry