Skip to content

This is a Github action that will sync a given folder of detections to your RunReveal workspace.

Notifications You must be signed in to change notification settings

runreveal/detection-sync-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

RunReveal Detection Sync

A Github Action that will sync a given directory to your RunReveal detections in the supplied workspace.

Usage

- name: sync-runreveal-detections
  uses: runreveal/detection-sync-action@v1
  with:
    # The directory containing the detections you want to sync.
    # Should be absolute path or relative to your current directory.
    # Defaults to your current directory
    directory: ./detections

    # 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 }}

    # Include this input to perform a dry run of the sync process.
    # This will verify your detections without making any changes.
    dry-run: true

About

This is a Github action that will sync a given folder of detections to your RunReveal workspace.

Resources

Stars

Watchers

Forks

Packages

No packages published