Integrations
About this page
Prometheus and Grafana
scrape /metrics, import the dashboard
1. A token
An admin creates a viewer token under Workspace settings, or with goliash token create -name prometheus -role viewer.
2. Scrape
scrape_configs:
- job_name: goliash
scrape_interval: 60s
scheme: https
authorization:
credentials_file: /etc/prometheus/goliash-token
static_configs:
- targets: [demo.goliash.dev]3. Dashboard
Grafana → Dashboards → New → Import, upload the file and pick the Prometheus data source. Versions, drift, delivery, image hygiene and Goliash's own health, with deploys marked on the graphs. The alert rules go into Prometheus' rule_files. On Kubernetes, the Helm chart creates all three: --set metrics.serviceMonitor.enabled=true,metrics.prometheusRule.enabled=true,metrics.grafanaDashboard.enabled=true.
SigNoz
the OpenTelemetry Collector reads /metrics
1. A token
An admin creates a viewer token under Workspace settings, or with goliash token create -name signoz -role viewer.
2. Add to the collector
receivers:
prometheus/goliash:
config:
scrape_configs:
- job_name: goliash
scrape_interval: 60s
scheme: https
authorization:
credentials_file: /etc/otelcol/goliash-token
static_configs:
- targets: [demo.goliash.dev]
service:
pipelines:
metrics/goliash:
receivers: [prometheus/goliash]
processors: [batch]
exporters: [otlp] # the exporter that already sends to SigNoz3. Dashboard
SigNoz → Dashboards → New dashboard → Import JSON. Metrics show up about a minute after the collector restarts.
Dependency-Track
what runs, as an SBOM per environment
Dependency-Track then tracks every package that runs in each environment against its vulnerability feeds and policies: a project per environment, kept current by a small script.
1. A token
An admin creates a viewer token under Workspace settings, or with goliash token create -name dtrack -role viewer.
2. Upload on a schedule
Fill in Dependency-Track's URL and an API key of a team with BOM_UPLOAD and PROJECT_CREATION_UPLOAD, then run it from cron or a scheduled CI job.
#!/bin/sh # Run it every hour, e.g. from cron: 0 * * * * /usr/local/bin/goliash-to-dtrack set -eu GOLIASH='https://demo.goliash.dev' GOLIASH_TOKEN='glsh_api_…' DTRACK=https://dtrack.example.com # Dependency-Track's API URL DTRACK_API_KEY=odt_… # a team API key with BOM_UPLOAD and PROJECT_CREATION_UPLOAD (401: one is missing) tmp=$(mktemp) trap 'rm -f "$tmp"' EXIT curl -fsS -H "Authorization: Bearer $GOLIASH_TOKEN" -o "$tmp" \ "$GOLIASH/api/v1/inventory?format=cyclonedx&environment=dev" curl -fsS -X POST "$DTRACK/api/v1/bom" -H "X-Api-Key: $DTRACK_API_KEY" -F autoCreate=true \ -F projectName='goliash dev' -F projectVersion=running -F bom=@"$tmp" >/dev/null curl -fsS -H "Authorization: Bearer $GOLIASH_TOKEN" -o "$tmp" \ "$GOLIASH/api/v1/inventory?format=cyclonedx&environment=staging" curl -fsS -X POST "$DTRACK/api/v1/bom" -H "X-Api-Key: $DTRACK_API_KEY" -F autoCreate=true \ -F projectName='goliash staging' -F projectVersion=running -F bom=@"$tmp" >/dev/null curl -fsS -H "Authorization: Bearer $GOLIASH_TOKEN" -o "$tmp" \ "$GOLIASH/api/v1/inventory?format=cyclonedx&environment=prod" curl -fsS -X POST "$DTRACK/api/v1/bom" -H "X-Api-Key: $DTRACK_API_KEY" -F autoCreate=true \ -F projectName='goliash prod' -F projectVersion=running -F bom=@"$tmp" >/dev/null
Terminal
goliash ask and goliash mcp, signed in through the browser
Install and sign in
The CLI of this server's release; goliash login opens the browser: sign in and allow it. It reads as you, read only, until goliash logout. Windows and other systems: releases.
os=$(uname -s | tr A-Z a-z); arch=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
curl -fsSL "https://github.com/pipozzz/goliash/releases/download/v1.275.0/goliash_1.275.0_${os}_${arch}.tar.gz" | tar xz goliash
sudo mv goliash /usr/local/bin/
goliash login https://demo.goliash.devThen
goliash ask "what changed in prod in the last two hours?" goliash ask -i # a conversation goliash mcp # MCP over stdio, for apps that start local servers
Widgets
the numbers on an iPhone, the Mac menu bar or the Windows 11 Widgets board
iPhone and iPad
A home or lock screen widget made with Scriptable, a free app: drift, updates, exploited vulnerabilities, how long production runs behind and end of life. It refreshes about every 15 minutes, as iOS allows, and a tap opens the Security page.
1. A token
An admin creates a viewer token under Workspace settings, or with goliash token create -name widget -role viewer.
2. Add it to Scriptable
On the iPhone, open this page and download the widget, then open the file in Scriptable (Share → Scriptable). Long-press the home screen, add a Scriptable widget of any size, tap it and pick Goliash. The server's address and the token are already in it.
What it runs
// Goliash widget for Scriptable (iPhone, iPad). Add a Scriptable widget, then pick this script.
const SERVER = "https://demo.goliash.dev"
const TOKEN = "glsh_api_…" // a viewer token: it can only read
const navy = new Color("#1b2a6b"), soft = new Color("#8aa4ff"), white = Color.white()
const amber = new Color("#ffb347"), red = new Color("#ff6b7a")
async function load() {
const req = new Request(SERVER + "/api/v1/summary")
req.headers = { Authorization: "Bearer " + TOKEN }
req.timeoutInterval = 20
try {
const s = await req.loadJSON()
if (req.response.statusCode !== 200) return { error: s.title || "HTTP " + req.response.statusCode }
return s
} catch (e) {
return { error: "Goliash cannot be reached" }
}
}
function tile(stack, value, label, colour) {
const t = stack.addStack()
t.layoutVertically()
const v = t.addText(String(value))
v.font = Font.boldRoundedSystemFont(20)
v.textColor = colour
const l = t.addText(label)
l.font = Font.systemFont(10)
l.textColor = soft
l.lineLimit = 1
}
function row(w, tiles) {
const r = w.addStack()
tiles.forEach((t, i) => {
if (i > 0) r.addSpacer()
tile(r, t[0], t[1], t[2])
})
r.addSpacer()
}
const s = await load()
const family = config.widgetFamily || "medium"
const w = new ListWidget()
w.backgroundColor = navy
w.url = SERVER + "/security"
w.refreshAfterDate = new Date(Date.now() + 15 * 60 * 1000)
if (family.startsWith("accessory")) {
// Lock screen: one line.
const t = w.addText(s.error ? "Goliash: " + s.error : s.behind + " behind · " + s.median_exposure_days + "d · " + s.drifting + " drift")
t.font = Font.mediumSystemFont(12)
t.lineLimit = 2
} else {
const head = w.addText("Goliash" + (s.workspace ? " · " + s.workspace : ""))
head.font = Font.semiboldSystemFont(12)
head.textColor = soft
head.lineLimit = 1
w.addSpacer(8)
if (s.error) {
const e = w.addText(s.error)
e.textColor = red
e.font = Font.systemFont(13)
} else {
const warn = (n, c) => (n > 0 ? c : white)
const exposure = [s.median_exposure_days + "d", "median behind", warn(s.median_exposure_days > 30 ? 1 : 0, amber)]
const eol = [s.end_of_life_passed, "end of life", warn(s.end_of_life_passed, red)]
if (family === "small") {
row(w, [exposure])
w.addSpacer(6)
row(w, [[s.drifting, "drifting", warn(s.drifting, amber)], eol])
} else {
row(w, [[s.drifting, "drifting", warn(s.drifting, amber)], [s.updates, "updates", white], [s.exploited, "exploited", warn(s.exploited, red)]])
w.addSpacer(8)
row(w, [exposure, [s.behind_90_days, "90+ days", warn(s.behind_90_days, amber)], eol])
if (family === "large" || family === "extraLarge") {
w.addSpacer(8)
row(w, [[s.services, "services", white], [s.behind, "behind in " + s.production, warn(s.behind, amber)], [s.stale_targets, "stale targets", warn(s.stale_targets, amber)]])
}
}
w.addSpacer()
const at = w.addText(s.generated)
at.font = Font.systemFont(9)
at.textColor = soft
}
}
if (config.runsInWidget) Script.setWidget(w)
else await w.presentMedium()
Script.complete()
Mac menu bar
A plugin for SwiftBar or xbar (both free): Goliash and a count in the menu bar, red for exploited vulnerabilities or end of life, amber for drift, with the numbers and links in its menu. Download it into the plugin folder and run chmod +x goliash.15m.sh; it uses the same token.
What it runs
#!/bin/sh
# Goliash in the macOS menu bar, for SwiftBar or xbar: save it in the plugin folder as goliash.15m.sh (the 15m
# is how often it refreshes) and run chmod +x on it.
# <xbar.title>Goliash</xbar.title>
# <xbar.desc>Drift, updates, exploited vulnerabilities and how long production runs behind.</xbar.desc>
# <swiftbar.hideRunInTerminal>true</swiftbar.hideRunInTerminal>
# <swiftbar.hideDisablePlugin>true</swiftbar.hideDisablePlugin>
GOLIASH='https://demo.goliash.dev'
GOLIASH_TOKEN='glsh_api_…' # a viewer token: it can only read
if ! json=$(curl -fsS --max-time 20 -H "Authorization: Bearer $GOLIASH_TOKEN" "$GOLIASH/api/v1/summary" 2>&1); then
echo "Goliash ?"
echo "---"
echo "Goliash cannot be read: $json | color=#e5484d"
echo "Open Goliash | href=$GOLIASH"
exit 0
fi
get() { printf '%s' "$json" | plutil -extract "$1" raw -o - - 2>/dev/null; }
drift=$(get drifting); updates=$(get updates); exploited=$(get exploited); eol=$(get end_of_life_passed)
median=$(get median_exposure_days); old=$(get behind_90_days); stale=$(get stale_targets)
: "${drift:=0}" "${updates:=0}" "${exploited:=0}" "${eol:=0}" "${median:=0}" "${old:=0}" "${stale:=0}"
if [ "$exploited" -gt 0 ] || [ "$eol" -gt 0 ]; then
echo "Goliash $((exploited + eol)) | color=#e5484d"
elif [ "$drift" -gt 0 ]; then
echo "Goliash $drift | color=#d9822b"
else
echo "Goliash ✓"
fi
echo "---"
echo "$(get workspace) · $(get production)"
echo "$drift services drifting | href=$GOLIASH/"
echo "$updates updates waiting | href=$GOLIASH/updates"
echo "$exploited with a vulnerability exploited in the wild | href=$GOLIASH/security"
echo "$median days median behind, $old for 90+ days | href=$GOLIASH/security"
echo "$eol past end of life | href=$GOLIASH/security"
echo "$stale stale targets | href=$GOLIASH/status"
echo "---"
echo "Updated $(get generated)"
echo "Open Goliash | href=$GOLIASH"
echo "Refresh | refresh=true"
Windows 11
Install Goliash as an app from Microsoft Edge (the app icon in the address bar), sign in there, then open the Widgets board (Win+W), choose Add widgets and add Goliash. It uses the app's sign-in, so no token is needed.
AI assistants
Claude, Cursor and others ask Goliash over MCP
Sign in from the app
Add the server without a token: the first time, the app opens Goliash in the browser, you sign in and allow it, and it reads as you, read only, until you revoke it under Your account → Apps with access. Claude Code, Claude Desktop, Cursor and VS Code do this.
claude mcp add --transport http goliash https://demo.goliash.dev/mcp
/mcp in Claude Code and AuthenticateWith an API token instead (scripts, apps without OAuth)
1. A token
An admin creates a viewer token under Workspace settings, or with goliash token create -name mcp -role viewer.
claude mcp add --transport http goliash https://demo.goliash.dev/mcp \ --header "Authorization: Bearer glsh_api_…"