clburlison / falconjs

CrowdStrike Falcon API JS library for the browser and Node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Caution

CrowdStrike currently does not have a maintainer for their official git repo. This is a fork exists purely because I needed a functional solution using this language. My hope is these changes will be merged upstream at some point. Use at your own risk.

falconjs

Version Build Maintenance License

NPM

CrowdStrike Falcon API JS library for the browser and Node

Experimental

falconjs is an open source project, not a CrowdStrike product. As such it carries no formal support, expressed or implied.

Installation

npm install @clburlison/crowdstrike-falcon

Exemplary use

import { FalconClient, FalconErrorExplain } from "crowdstrike-falcon";

const client = new FalconClient({
    cloud: "us-1",
    clientId: "",
    clientSecret: "",
});

await client.sensorDownload
    .getSensorInstallersCCIDByQuery()
    .catch(async function (err) {
        alert("Could not fetch CCID: " + (await FalconErrorExplain(err)));
    })
    .then((value) => {
        console.log("my CCID: ", value);
    });

Documentation

About

CrowdStrike Falcon API JS library for the browser and Node

License:MIT License


Languages

Language:TypeScript 100.0%Language:Shell 0.0%Language:jq 0.0%