trickest / action

Github Action for Trickest Workflows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trickest Action Tweet

GitHub Action for Trickest Workflows

This action is using Trickest Client execute function to manipulate the directory structures, execute the workflow, and download its output.

It can be used for various purposes such as

  • Vulnerability Scanning
  • Misconfiguration Scanning
  • Container Security
  • Web Application Scanning
  • Asset Discovery
  • Network Scanning
  • Fuzzing
  • Static Code Analyis
  • ... and a lot more

For more workflow examples, check out the Trickest Store.

Table of Contents

Environment Variables

Authentication token can be supplied as an environment variable TRICKEST_TOKEN.

Available Inputs

Key Description Required
space Space where the workflow will be executed true
workflow Workflow name to be executed. If not present, it will be copied from the store. (https://trickest.io/dashboard/store ) true
project Project where workflow will be executed, not required. false
config_path Configuration for the workflow. Example can be found at config.yaml. false
workflow_new_name Executes a workflow from store and creates new one with data provided. false
output_dir Output directory for output files and folders false
show_params Show parameters in the workflow tree false
watch Watch the execution in real time false
output Download specific node's outputs false
create_structure Create spaces and projects if they don't exist. false
max_machines Use maximum number of machines for workflow execution false

Example Workflows

For Remote Executions

Execute worfklows directly from the Store or already present workflows in your workspace.

---
name: Trickest Client

on:
  push:

jobs:         
  trickest-execute-workflow:
    runs-on: ubuntu-latest
    steps:

    - name: Check Out
      uses: actions/checkout@main

    - name: Trickest Execute
      id: trickest
      uses: trickest/action@main
      env:
        TRICKEST_TOKEN: "${{ secrets.TRICKEST_TOKEN }}"
      with:
        workflow: "Simple Visual Recon"
        space: "CI-CD"
        create_structure: true
        project: "v1.0"
        watch: true
        output_dir: reports
        #output_all: true
        output: "zip-to-out"
        config: config.yaml

config.yaml

inputs:   # List of input values for the particular workflow nodes.
  amass-1.domain: example.com # <node_id>.<parameter_name>: <parameter_value>
machines: # Machines configuration by type related to execution parallelisam.
  large:  1
outputs:  # List of nodes whose outputs will be downloaded.
  - zip-to-out

License

About

Github Action for Trickest Workflows

License:MIT License


Languages

Language:Shell 88.4%Language:Dockerfile 11.6%