0.3.0 • Published 2 years ago

@clburlison/crowdstrike-falcon v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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 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

0.3.0

2 years ago