CrowdStrike Falcon API JS library for the browser and Node
falconjs is an open source project, not a CrowdStrike product. As such it carries no formal support, expressed or implied.
npm install crowdstrike-falcon
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);
});