From 9db1da4f87604998bd10c73b83e0131333c1092f Mon Sep 17 00:00:00 2001 From: Jon Penwood Date: Wed, 27 Nov 2024 14:17:19 -0600 Subject: [PATCH] feat: Adding additional custom type support --- config/config.json | 25 +++++++++++++------------ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/config/config.json b/config/config.json index 9679131..d56694e 100644 --- a/config/config.json +++ b/config/config.json @@ -3,12 +3,22 @@ "name": "CrowdStrike", "acronym": "CSTK", "description": "Displays information from relevant Crowdstrike Falcon detections based on searching behavioral indicators (process hashes, filenames) and device information (IPv4 address).", - "entityTypes": [ + "supportsAdditionalCustomTypes": true, + "dataTypes": [ "MD5", "SHA256", "IPv4", - "domain" + "domain", + { + "name": "Executable File Name", + "description": "File Names that end in exe, dll, dmg, doc, pdf, csv, or sh", + "editable": true, + "enabled": true, + "key": "exeFile", + "regex": "[\\w-]{2,}\\.(?:exe|dll|dmg|doc|pdf|csv|sh)" + } ], + "entityTypes": ["MD5", "SHA256", "IPv4", "domain"], "customTypes": [ { "key": "exeFile", @@ -17,9 +27,7 @@ ], "onDemandOnly": true, "defaultColor": "light-purple", - "styles": [ - "./styles/crowdstrike.less" - ], + "styles": ["./styles/crowdstrike.less"], "block": { "component": { "file": "./components/crowdstrike-block.js" @@ -28,13 +36,6 @@ "file": "./templates/crowdstrike-block.hbs" } }, - "request": { - "cert": "", - "key": "", - "passphrase": "", - "ca": "", - "proxy": "" - }, "logging": { "level": "info" }, diff --git a/package-lock.json b/package-lock.json index f6a8ee3..6aeef4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "crowdstrike", - "version": "3.7.3", + "version": "3.7.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 80ca63f..179c25c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "crowdstrike", - "version": "3.7.3", + "version": "3.7.4", "main": "./integration.js", "private": true, "license": "MIT",