Skip to content

This is a GitHub action that will run the linting commands on your RunReveal Detections

Notifications You must be signed in to change notification settings

runreveal/detection-lint-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

RunReveal Detection Sync

A Github Action that will run runreveal detections lint on your RunReveal detections.

Usage

- name: lint-runreveal-detections
  uses: runreveal/detection-lint-action@v1
  with:
    # The relative path expression to your sigma detections
    # Defaults to all files in a directory named `sigma`.
    sigma-pattern: '**/sigma/*'

    # The relative path expression to your SQL detections.
    # Defaults to all .sql files in the repository.
    sql-pattern: '**/*.sql'

    # A RunReveal API token generated with detection edit permissions
    # For best results generate your token with the `cibot` role. 
    token: ${{ secrets.RUNREVEAL_TOKEN }}

    # The RunReveal workspace ID to sync the detections with.
    # This workspace should match the workspace the token was generated under.
    workspace: ${{ vars.RUNREVEAL_WORKSPACE }}

About

This is a GitHub action that will run the linting commands on your RunReveal Detections

Resources

Stars

Watchers

Forks

Packages

No packages published