https://github.com/smirl/steampipe-plugin-cortex
A steampipe plugin for cortex.io
https://github.com/smirl/steampipe-plugin-cortex
postgresql postgresql-fdw sql steampipe steampipe-plugin
Last synced: 3 months ago
JSON representation
A steampipe plugin for cortex.io
- Host: GitHub
- URL: https://github.com/smirl/steampipe-plugin-cortex
- Owner: Smirl
- License: apache-2.0
- Created: 2024-05-22T08:30:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-30T14:59:19.000Z (6 months ago)
- Last Synced: 2025-09-30T16:35:20.501Z (6 months ago)
- Topics: postgresql, postgresql-fdw, sql, steampipe, steampipe-plugin
- Language: Go
- Homepage: https://hub.steampipe.io/plugins/smirl/cortex
- Size: 175 KB
- Stars: 5
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cortex + Steampipe
[](https://coveralls.io/github/Smirl/steampipe-plugin-cortex?branch=main)
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/Smirl/steampipe-plugin-cortex/actions/workflows/main.yaml)
[Steampipe](https://steampipe.io) is an open-source zero-ETL engine to instantly
query cloud APIs using SQL.
[Cortex](https://cortex.io/) is the Internal Developer Portal eliminating
“developer tax” with paved paths to production. Create, catalog, score, and
drive action to continuously improve software.
For example:
```sql
select
tag,
repository,
owner_teams
from
cortex_entity
where
type = 'service'
limit
10;
```
## Documentation
- **[Table definitions & examples →](./docs/tables/)**
## Get started
### Install
Download and install the latest:
```bash
steampipe plugin install smirl/cortex
```
### Credentials
You will need a Cortex API Token to authenticate with the API.
https://docs.cortex.io/api/rest
### Configuration
The configuration for the plugin is simple and requires just the API Token and
optional base url if you use self hosted cortex.
To connection to different instances, simply use a token from that other hosted
instance.
Environment variables can be used to override these configuration options.
```hcl
connection "cortex" {
plugin = "smirl/cortex"
# API key from cortex.io for your instance
# If the environment variable CORTEX_API_KEY is defined it will be overriden
# api_key = "REPLACE_WITH_YOUR_CORTEX_API_KEY"
# The BASE URL of your self hosted instance
# If the environment variable CORTEX_BASE_URL is defined it will be overriden
# base_url = "https://app.cortex.mycompany.com"
}
```
## Get Involved
Open source: https://github.com/smirl/steampipe-plugin-cortex