Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Grafana Data Source

The legacy Nullify Grafana data source plugin (nullify-grafana-datasource) was built for an older SAST, SCA, and Secrets API contract.

This plugin can only be installed on a self-hosted (local / on-prem) Grafana instance. Grafana Cloud is not currently supported.

Installation

These steps apply only to an existing deployment confirmed to support the plugin's legacy API contract.

  1. Install the plugin into your Grafana server instance following the Grafana plugin management guide.

  2. Add a new Nullify data source. See the Grafana data source management guide.

  3. On the Nullify data source settings page, configure the connection (see below).

  4. Import a dashboard JSON to start visualizing your data. See the Grafana import dashboards guide.

Configuration

The data source settings page ("Nullify API Settings") has three fields:

Field
Description

Nullify API Host URL

The host name for the Nullify API, e.g. https://api.YOUR_NULLIFY_ID.nullify.ai.

GitHub Owner ID

The globally unique numerical GitHub ID for your individual/organization account. This is the numeric ID, not your username or organization name. You can find it at https://api.github.com/users/YOUR_GITHUB_USERNAME_OR_ORGANIZATION_NAME.

Nullify API Key

An API key for the Nullify API. Create one at https://app.YOUR_NULLIFY_ID.nullify.ai/. The key is stored as a secret and used only by the plugin's backend.

Query types

The plugin requests the six legacy endpoints below. Its query editors support scoping by repository (GitHub repository IDs or query strings) and by owner (team/user names or query strings), so panels can be filtered to a service, team, or repository. Summary routes are absent from the current API; the table describes the plugin's expected contract, not current endpoint availability.

Query type
Endpoint
Description

SAST Summary

sast/summary

Current SAST findings, filterable by repositories, owners, and severity.

SAST Events

sast/events

Time series of SAST events, filterable by repositories, owners, branch, and event types.

SCA Summary

sca/summary

Current SCA findings, filterable by repositories, owners, and package.

SCA Events

sca/events

Time series of SCA events, filterable by repositories, owners, branch, and event types.

Secrets Summary

secrets/summary

Current Secrets findings, filterable by repositories, owners, branch, secret type, and allowlist status.

Secrets Events

secrets/events

Time series of Secrets events, filterable by repositories, owners, branch, and event types.

Event types

The events queries can be filtered to specific event types:

  • SAST events: New Branch Summary, New Finding, New Fix, New Allowlisted Finding, New Unallowlisted Finding, New Pull Request Finding, New Pull Request Fix, New Pull Request Allowlisted Finding, New Pull Request Unallowlisted Finding.

  • SCA events: New Branch Summary, New Finding, New Allowlisted Finding, New Fix, New Pull Request Finding, New Pull Request Fix.

  • Secrets events: New Finding, New Allowlisted Finding.

Template variables

The plugin ships a variable query editor with two variable types you can use to build dynamic, filterable dashboards:

  • Repository — populate a variable with your repositories.

  • Owner — populate a variable with owners (teams and users).

Compatibility and troubleshooting

The plugin declares Grafana >=10.1.0. Obtain a release package compatible with your Grafana installation and follow your administrator's plugin-signing policy; do not disable signature checks globally to make installation succeed. The plugin ID is nullify-grafana-datasource.

Use a service account scoped for reading the required endpoints, and review its token lifetime and role behavior. The API key belongs in Grafana's secure field, not in dashboard JSON or a URL. Requests use Grafana's data-source proxy, so the Grafana server must resolve and reach the configured API host.

First establish whether the backend supports the plugin's legacy routes and response schemas. The proxy forwards paths unchanged, and Save & Test requests all three removed summary routes. A current API deployment therefore cannot pass that check with this plugin revision. Only after confirming legacy compatibility should you troubleshoot the host, numeric owner ID, filters, or time range. An unsupported endpoint or permission error is not an empty security posture.

Last updated