The plugin configuration supports the following optional settings:

Usage

Get plugin information

./tenable-sc-plugin info

Get configuration schema

./tenable-sc-plugin schema

Get UI schema

./tenable-sc-plugin uischema

Test connection

./tenable-sc-plugin test -i config.json

Run scan

./tenable-sc-plugin scan -i config.json -o results.json

Building

make build

Testing

Unit tests

make test

Integration tests (mock server)

go test -v -tags integration ./...

Integration tests (real Tenable SC API)

TENABLE_SC_BASE_URL=https://sc.tenalab.online \
TENABLE_SC_ACCESS_KEY=your-access-key \
TENABLE_SC_SECRET_KEY=your-secret-key \
go test -v -tags integration -run TestIntegrationWithRealAPI ./...

Notes

  • Each scan is a full scan. Tenable SC does not support filtering vulnerability data by date, so every run queries all relevant findings.
  • The plugin requires Tenable SC API credentials with at least read access to vulnerability analysis data.
  • baseUrl must point to your on-premise Tenable Security Center instance (no cloud default).