Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teddriggs/fql
Unofficial CrowdStrike Falcon Query Language Parser
https://github.com/teddriggs/fql
Last synced: about 1 month ago
JSON representation
Unofficial CrowdStrike Falcon Query Language Parser
- Host: GitHub
- URL: https://github.com/teddriggs/fql
- Owner: TedDriggs
- License: mit
- Created: 2022-04-14T17:57:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T15:11:01.000Z (over 2 years ago)
- Last Synced: 2024-10-16T12:05:36.046Z (3 months ago)
- Language: Rust
- Homepage:
- Size: 228 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
fql
Rust implementation of a lexer and parser for CrowdStrike Falcon Query Language (FQL).
# Getting Started
You'll need `rust` and its package manager `cargo`. You can install them [here](https://rustup.rs/).
Once you have those, you will be able to run the tests and the demo CLI.
- Run the tests with `cargo test`
- Run the CLI with `cargo run -- --help`# Web Demo
The `fql-ts` crate exposes bindings so the core `fql` crate can be used from JS/TS in the browser.
## Prerequisites
- `wasm-pack` is needed to build the `fql-ts` package. You install it by running `cargo install wasm-pack` in your terminal.
- `node` and `npm` are needed for the demo server. You can download the installer [here](https://nodejs.org/en/)## Steps
1. Enter the `fql-ts` directory
2. Run `wasm-pack build --target web` to build the NPM package.
3. `cd ../fql-web-demo` to switch to the web demo directory.
4. Run `npm install` to install the dependencies from the `package.json` file
5. Run `npm run start` to start the dev server