sigma2sclogscale
Sigma detection rules are great for portability from Security Information and Event Management (SIEM) with Sigma CLI ( https://github.com/SigmaHQ/sigma-cli ).
While it's true that Sigma CLI doesn't support all SIEMs, including Crowdstrike Logscale, the silver lining is that Sigma rules are structured as YAML data, making them a breeze to parse.
Below is my first attempt at writing a Python script to create a Crowdstrike Logscale query. You'll need to change the <BASE_URL> and <REPO_NAME>in line 105 to your Logscale site and the repo you want to query. You will also need to change the <ACCESS_TOKEN> in line 106. (Note: I use a static token.)
The usage is as follows.
python sigma2sclogscale.py <folder_to_search_for_sigma_rules>
The output is a text file with a tuple of Sigma rule title and Crowdstrike Logscale query.
Comments
Post a Comment