GithubHelp home page GithubHelp logo

pysigma-backend-sumologic's Introduction

Tests Coverage Badge Status

pySigma SumoLogic Backend

This is the SumoLogic backend for pySigma,capable of converting Sigma rules into Continuous Intelligence Platform (CIP) log search queries and Cloud SIEM Enterprise (CSE) queries for the SumoLogic platform. It provides the package sigma.backends.sumologic with the sumologicCIPBackend and sumoLogicCSEBackend classes. Further, it contains the following processing pipelines in sigma.pipelines.sumologic:

  • sumologic_cip_pipeline: Performs field mapping, value transformations, and triggers rule failures when unsupported fields are present. Field names are mapped for clarity and to support correlation across log sources.
  • sumologic_cse_pipeline: erforms field mapping, value transformations, and triggers rule failures when unsupported fields are present. Field names are mapped to align with CSE mappable fields.

It supports the following output formats:

  • CIP Backend
    • default: Provides queries for use in CIP log search.
    • saved_search: This output format creates properly-formatted JSON which can be imported as a saved search. It will add the proper object type, query text, a default "Last 60 Minutes" time range, and will set the Auto Parse option as explained here.
  • CSE Backend
    • default: Provides queries for use in CSE rules.
    • cse_rule: This format provides JSON which can be imported as a new rule using the SumoLogic GUI or API. It will set the rule name, description, tags, and severity levels based on the source Sigma rule.

Parsing

Additionally, the sigma.backends.sumologic.parsing file contains lookups that support the addition of parsing statements to output CIP queries, which is required to perform the filtering/querying in the rules. Parsing statements may not be necessary if the user has implemented Field Extraction Rules (FERs); however, I added the parsing statements to make the output queries as useful in the near-term as possible. You may remove them if they are not needed.

Maintenance and Support

This backend is currently maintained by:

pysigma-backend-sumologic's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.