Skip to main content
This walkthrough adds a connector called example in the vulnerabilities category. Replace vulnerabilities and example with the category and slug you want.

Prerequisites

  • Go 1.26+
  • Task 3.x
  • Docker 20.10+ (to build and run the image)

1. Create the module

The directory is <category>/<slug>.
Create go.mod requiring the SDK, then point it at the local copy with a replace:

2. Write manifest.yaml

See the manifest reference for every field.

3. Write the adapter

adapter.go — the only tool-specific code.
See the Adapter reference and Finding reference.

4. Wire main.go

main.go only constructs the adapter and starts the runtime. Treat a cancelled context as a clean exit.
Everything between runtime.New and Run — dialing, registration, the stream — is the SDK’s job. You do not configure it.

5. Write the Dockerfile

The build context is the repo root, so copy sdk/ and the connector directory explicitly. Drop both go.mod/go.sum first so dependency layers cache.
The image must not expose ports or require a shell.

6. Regenerate and test

Next steps

Build & test

Task commands, testing rules, and publishing.

Inputs & config

Read the config profile the right way.