sbmthakur / tracee-action

Tracee-action helps you run Tracee within your CI pipelines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tracee Action

Usage

name: Tracee Pipeline Scan
on: [pull_request]

jobs:
  Tracee-Scan:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Start Tracee profiling in background
      uses: aquasecurity/tracee-action@v0.1.0-start

    - name: Your CI Pipeline Step
      run: for i in {1..20}; do sleep 2; done

    - name: Stop and Check Tracee results and create a PR
      uses: aquasecurity/tracee-action@v0.1.0-stop
      with:
        fail-on-diff: "true"
        create-pr: "true"

Options

Option Default Description
fail-on-diff false If differences are observed, pipeline will be failed out
create-pr false Tracee Action will create a PR with observed differences

About

Tracee-action helps you run Tracee within your CI pipelines

License:Apache License 2.0


Languages

Language:Shell 100.0%