> For the complete documentation index, see [llms.txt](https://docs.cortex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cortex.io/solutions/drive-framework/setting-up-custom-data-for-drive.md).

# Setting up custom data for DRIVE

Some DRIVE data can come natively from Cortex integrations, e.g. deploy frequency from GitHub or GitLab, incidents from PagerDuty, vulnerabilities from Snyk or Wiz. Others need to be configured.

[Refer to the documentation](/improve/eng-intelligence/custom-metrics.md) for configuring and submitting custom metrics via API and CQL here.

Below are some examples of custom metrics you can submit to power your DRIVE Scorecard and custom dashboards, originating from your internal tools:

<table><thead><tr><th width="216.0625">Name</th><th width="328.921875">Key</th><th>Pillar</th></tr></thead><tbody><tr><td><strong>Incident Count Last Month</strong></td><td><code>incident-count-last-month</code></td><td><strong>R</strong></td></tr><tr><td><strong>SLO Pass Rate</strong></td><td><code>drive-slo-pass-rate</code></td><td><strong>R</strong></td></tr><tr><td><strong>Initiative Completion Rate</strong></td><td><code>drive-initiative-completion-rate</code></td><td><strong>I</strong></td></tr><tr><td><strong>Vulnerability Critical Count</strong></td><td><code>drive-vulnerability-critical-count</code></td><td><strong>V</strong></td></tr><tr><td><strong>Vulnerability High Count</strong></td><td><code>drive-vulnerability-high-count</code></td><td><strong>V</strong></td></tr><tr><td><strong>AI Spend MTD (USD)</strong></td><td><code>drive-cost-ai-spend-mtd</code></td><td><strong>E</strong></td></tr><tr><td><strong>Cloud Spend MTD (USD)</strong></td><td><code>drive-cost-cloud-spend-mtd</code></td><td><strong>E</strong></td></tr></tbody></table>

Once a custom metric is published, you can reference it directly in a Scorecard rule using CQL:

```
customMetric("cloud-spend-vs-budget-pct") <= 105
```

## Next steps

[Create a DRIVE Scorecard](/solutions/drive-framework/drive-scorecard-rules.md) in your Cortex workspace.
