Prerequisites
Before configuring your pipeline, you’ll need:- API Key — Generate one from the MindFort Dashboard under Settings > API Keys.
- Target ID — Find this in Target Inventory by clicking on the target you want to assess.
- Template ID (optional) — For templated tasks, find this under Tasks > Templates.
GitHub Actions Examples
Trigger an Assessment
Runs a security assessment against your target on every push or PR tomain. Configure the assessment method with the MINDFORT_ASSESSMENT_METHOD variable (turbo, balanced, or deep).
Required secrets and variables
Required secrets and variables
| Type | Name | Description |
|---|---|---|
| Secret | MINDFORT_API_KEY | Your MindFort API key |
| Variable | MINDFORT_TARGET_ID | UUID of the target to assess |
| Variable | MINDFORT_ASSESSMENT_METHOD | Optional — turbo (default), balanced, or deep |
Start a New Task
Runs a custom security task with a natural-language instruction against your target.Required secrets and variables
Required secrets and variables
| Type | Name | Description |
|---|---|---|
| Secret | MINDFORT_API_KEY | Your MindFort API key |
| Variable | MINDFORT_TARGET_ID | UUID of the target to test |
| Variable | MINDFORT_TASK_MESSAGE | Natural-language instruction for the task |
| Variable | MINDFORT_TASK_MODEL | Optional — MF1_FAST (default) or MF1_SMART |
Start a Templated Task
Runs a pre-configured task template — no request body needed. Set up the template once in the MindFort dashboard and trigger it from your pipeline.Required secrets and variables
Required secrets and variables
| Type | Name | Description |
|---|---|---|
| Secret | MINDFORT_API_KEY | Your MindFort API key |
| Variable | MINDFORT_TEMPLATE_ID | UUID of the task template to run |