BotSting

DocumentationTest a system

In a build pipeline

A fix that is not tested again is a fix that will come undone. Run the scan on every change, and let a proven finding fail the build.

GitHub Actions

- uses: botsting/[email protected]
  with:
    target: http:staging               # described in botsting.targets.json in your repository
    fail-on: violations
  env:
    BOTSTING_HARNESS_KEY: ${{ secrets.BOTSTING_HARNESS_KEY }}

The readable report appears in the job summary, and the sealed bundle of reports is uploaded as an artifact. The scan runs on your runner. Nothing is sent to BotSting.

Any other pipeline

botsting ci --target http:staging --fail-on violations

This runs a scan, writes the JSON, readable and browser reports into one folder, seals that folder, and exits for a pipeline.

  • A proven finding fails the build.
  • --fail-on inconclusive also fails it when the scan could not show that its attacks would have been seen.
  • A scan that could not run at all always fails, so a pipeline that tests nothing never looks green.

Code-scanning dashboards

botsting scan --target http:staging --sarif reports/scan.sarif

This writes the findings as SARIF 2.1.0, the format code-scanning dashboards read. Each finding is one result with its severity. No conversation or planted value is copied into it.

Let a coding assistant set it up

claude mcp add botsting -- botsting mcp

A coding assistant connected this way can read the setup guide, propose the lines to add, check the setup, run a scan and read the report back. It cannot authorize a test: that stays with a person.