diff --git a/CHANGELOG.md b/CHANGELOG.md index 410fd87..4db00e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ Notable changes, newest first. Release notes on GitHub list every commit; this file collects what users and scripts need to know. -## Unreleased +## 0.23.0 (2026-11-05) ### New @@ -24,6 +24,20 @@ this file collects what users and scripts need to know. scope, which no other scope includes. Any Norcube Monitor scope reads them. +### Fixes + +- Norcube Monitor's help no longer mentions a plan: Monitor is metered, so + `monitors create | update --interval` and `status-pages create` now refer + to your organization's limit. + +### Changes for scripts + +- `nrc commands -o json`: `service.name` now holds the short product name + (`Backup`, `Billing`, `Monitor`, `Auth`) instead of `Norcube Backup`, + `Norcube Billing`, `Norcube Monitor` and `Norcube Auth`. Match on + `service.key`, which doesn't change. Error messages name products the same + way. + ## 0.22.0 (2026-11-04) ### New diff --git a/README.md b/README.md index 61f29a3..59d7544 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ What it's best at: proving you're never locked in to Norcube Backup. `norcube ba Scripted demo with sanitized names: whoami, Backup health, scripting with `-o json --query`, any endpoint with `norcube api`, and your CLI sessions. The tape and stub live in [`demo/`](demo/). -> **Status**: pre-1.0. Norcube Backup (data sources, backups on demand and downloads, restores, restore tests and their settings, health, policies), LangSync (namespaces, terms, translations, languages, prompts, glossary, API keys, CSV import, audit log, project sync), DomainRadar (domain checks, bulk checks, saved domains, brand monitoring, name generation), Norcube Monitor (uptime, SSL and domain expiry monitors, check history, incidents, alert channels, a CI status gate), Billing (status, subscriptions, usage, invoices, spending caps), organizations, profiles, and `norcube api` for everything else. See the [changelog](CHANGELOG.md). +> **Status**: pre-1.0. Backup (data sources, backups on demand and downloads, restores, restore tests and their settings, health, policies), LangSync (namespaces, terms, translations, languages, prompts, glossary, API keys, CSV import, audit log, project sync), DomainRadar (domain checks, bulk checks, saved domains, brand monitoring, name generation), Monitor (uptime, SSL and domain expiry monitors, check history, incidents, alert channels, a CI status gate), Billing (status, subscriptions, usage, invoices, spending caps), organizations, profiles, and `norcube api` for everything else. See the [changelog](CHANGELOG.md). ## Install diff --git a/internal/auth/citoken.go b/internal/auth/citoken.go index 6007f63..03b2580 100644 --- a/internal/auth/citoken.go +++ b/internal/auth/citoken.go @@ -275,7 +275,7 @@ func audienceLabel(audience string) string { } } if audience == AudienceCMS { // CI tokens can hold CMS scopes; the CLI has no CMS commands yet - return "Norcube CMS" + return "CMS" } return audience } diff --git a/internal/auth/citoken_test.go b/internal/auth/citoken_test.go index 1cbbb98..285e41b 100644 --- a/internal/auth/citoken_test.go +++ b/internal/auth/citoken_test.go @@ -169,7 +169,7 @@ func TestCIExchangerErrors(t *testing.T) { inMsg string }{ {"revoked token", true, map[string]string{AudienceSnapDB: "backup.read"}, 0, clierr.CodeLoginRequired, clierr.ExitAuth, "invalid, expired or revoked"}, - {"no scope for the service", false, map[string]string{}, 0, clierr.CodeInsufficientScope, clierr.ExitAccess, "no scope for Norcube Backup"}, + {"no scope for the service", false, map[string]string{}, 0, clierr.CodeInsufficientScope, clierr.ExitAccess, "no scope for Backup"}, {"rate limited", false, nil, http.StatusTooManyRequests, clierr.CodeRateLimited, clierr.ExitRateLimited, "rate limited"}, } for _, tt := range tests { diff --git a/internal/cli/billing_test.go b/internal/cli/billing_test.go index 7336d73..2b7343a 100644 --- a/internal/cli/billing_test.go +++ b/internal/cli/billing_test.go @@ -17,13 +17,13 @@ func init() { for k, v := range map[string]string{ "GET /billing/status": `{"status":"grace","graceStartedAt":"2026-10-20T08:00:00Z","graceExpiresAt":"2026-11-03T08:00:00Z"}`, "GET /billing/services": `[ - {"code":"snapdb","name":"Norcube Backup","billingMode":"plans","subscription":{"id":"sub-1","planCode":"backup-team","planName":"Team","status":"active","currentPeriodStart":"2026-10-01T00:00:00Z","currentPeriodEnd":"2026-11-01T00:00:00Z"}}, + {"code":"snapdb","name":"Backup","billingMode":"plans","subscription":{"id":"sub-1","planCode":"backup-team","planName":"Team","status":"active","currentPeriodStart":"2026-10-01T00:00:00Z","currentPeriodEnd":"2026-11-01T00:00:00Z"}}, {"code":"domainradar","name":"DomainRadar","billingMode":"metered"} ]`, "GET /billing/estimate": `{"currentUsage":12.3,"estimatedTotal":31.5,"linearEstimate":29.1,"historicalAverage":27.75,"daysElapsed":12,"daysInMonth":31,"periodStart":"2026-10-01","periodEnd":"2026-10-31"}`, "GET /billing/free-tier": `{"metrics":[ {"serviceCode":"domainradar","serviceName":"DomainRadar","metricCode":"domainradar.check.rdap","metricName":"RDAP checks","metricType":"usage","unit":"checks","freeTierUnits":1000,"currentUnits":640,"projectedEndOfMonthUnits":1653.33,"previousMonthUnits":900,"overflowProjected":true}, - {"serviceCode":"snapdb","serviceName":"Norcube Backup","metricCode":"snapdb.storage","metricName":"Backup storage","metricType":"storage","unit":"GB","freeTierUnits":0,"freeTierUnlimited":false,"currentUnits":2.5,"projectedEndOfMonthUnits":2.5,"previousMonthUnits":2} + {"serviceCode":"snapdb","serviceName":"Backup","metricCode":"snapdb.storage","metricName":"Backup storage","metricType":"storage","unit":"GB","freeTierUnits":0,"freeTierUnlimited":false,"currentUnits":2.5,"projectedEndOfMonthUnits":2.5,"previousMonthUnits":2} ]}`, "GET /billing/invoices": `{"list":[ {"id":"1042","organizationId":"org-1","periodStart":"2026-09-01T00:00:00Z","periodEnd":"2026-09-30T23:59:59Z","status":"draft","currency":"usd","subtotal":25,"tax":5.25,"total":30.25,"billingName":"Acme Inc","billingCity":"Prague","billingCountryCode":"CZ","billingPostalCode":"11000","billingState":"","billingStreet":"Main 1","billingType":"company"} diff --git a/internal/cli/monitor/monitor_write.go b/internal/cli/monitor/monitor_write.go index 9d510b1..0a41f8e 100644 --- a/internal/cli/monitor/monitor_write.go +++ b/internal/cli/monitor/monitor_write.go @@ -77,7 +77,7 @@ func addMonitorFlags(cmd *cobra.Command, f *monitorFlags, update bool) { fl.StringVar(&f.name, "name", "", "New name") } fl.StringVar(&f.description, "description", "", "A note on what the monitor is for") - fl.DurationVar(&f.interval, "interval", 0, "How often to check, e.g. 30s, 5m, 1h (default 1m for HTTP, 1h for SSL, 12h for domains; your plan sets the minimum)") + fl.DurationVar(&f.interval, "interval", 0, "How often to check, e.g. 30s, 5m, 1h (default 1m for HTTP, 1h for SSL, 12h for domains; your organization's limit sets the minimum)") fl.StringVar(&f.fromFile, "from-file", "", "Read the request body as JSON from this file (- for standard input), in the API's shape; no other setting flags then") fl.StringVar(&f.url, "url", "", "HTTP: the URL to request") diff --git a/internal/cli/monitor/statuspages.go b/internal/cli/monitor/statuspages.go index 3e3ca5b..7367673 100644 --- a/internal/cli/monitor/statuspages.go +++ b/internal/cli/monitor/statuspages.go @@ -169,7 +169,7 @@ set", check it with "preview-link", then "publish" it. Every setting is required: the page's public face is your choice, so nothing is filled in for you. A boolean takes =false to turn it off. -Your plan limits how many pages an organization has, published or not.`, +Your organization's limit sets how many pages it can have, published or not.`, Example: ` norcube monitor status-pages create "Acme status" --slug acme --time-zone Europe/Prague --uptime-days 90 --history-days 90 --show-uptime-bars --show-uptime-percent --show-response-time=false --search-indexing`, Args: cobra.ExactArgs(1), RunE: cmdutil.Run(func(cmd *cobra.Command, args []string) (any, error) { diff --git a/internal/cli/testdata/golden/billing-subscriptions-list.json b/internal/cli/testdata/golden/billing-subscriptions-list.json index 3840314..915f8fe 100644 --- a/internal/cli/testdata/golden/billing-subscriptions-list.json +++ b/internal/cli/testdata/golden/billing-subscriptions-list.json @@ -2,7 +2,7 @@ { "billingMode": "plans", "code": "snapdb", - "name": "Norcube Backup", + "name": "Backup", "subscription": { "currentPeriodEnd": "2026-11-01T00:00:00Z", "currentPeriodStart": "2026-10-01T00:00:00Z", diff --git a/internal/cli/testdata/golden/billing-subscriptions-list.tsv b/internal/cli/testdata/golden/billing-subscriptions-list.tsv index bac9842..ac10d38 100644 --- a/internal/cli/testdata/golden/billing-subscriptions-list.tsv +++ b/internal/cli/testdata/golden/billing-subscriptions-list.tsv @@ -1,2 +1,2 @@ -Norcube Backup plans Team active 2026-11-01 +Backup plans Team active 2026-11-01 DomainRadar metered pay as you go diff --git a/internal/cli/testdata/golden/billing-subscriptions-list.txt b/internal/cli/testdata/golden/billing-subscriptions-list.txt index a3d6d90..b954d14 100644 --- a/internal/cli/testdata/golden/billing-subscriptions-list.txt +++ b/internal/cli/testdata/golden/billing-subscriptions-list.txt @@ -1,3 +1,3 @@ -SERVICE BILLING PLAN STATUS PERIOD_END -Norcube Backup plans Team active 2026-11-01 -DomainRadar metered pay as you go +SERVICE BILLING PLAN STATUS PERIOD_END +Backup plans Team active 2026-11-01 +DomainRadar metered pay as you go diff --git a/internal/cli/testdata/golden/billing-subscriptions-list.yaml b/internal/cli/testdata/golden/billing-subscriptions-list.yaml index ab7995f..c98290f 100644 --- a/internal/cli/testdata/golden/billing-subscriptions-list.yaml +++ b/internal/cli/testdata/golden/billing-subscriptions-list.yaml @@ -1,6 +1,6 @@ - billingMode: plans code: snapdb - name: Norcube Backup + name: Backup subscription: currentPeriodEnd: "2026-11-01T00:00:00Z" currentPeriodStart: "2026-10-01T00:00:00Z" diff --git a/internal/cli/testdata/golden/billing-usage-metrics.json b/internal/cli/testdata/golden/billing-usage-metrics.json index d4a3248..a52b3c2 100644 --- a/internal/cli/testdata/golden/billing-usage-metrics.json +++ b/internal/cli/testdata/golden/billing-usage-metrics.json @@ -22,7 +22,7 @@ "previousMonthUnits": 2, "projectedEndOfMonthUnits": 2.5, "serviceCode": "snapdb", - "serviceName": "Norcube Backup", + "serviceName": "Backup", "unit": "GB" } ] diff --git a/internal/cli/testdata/golden/billing-usage-metrics.tsv b/internal/cli/testdata/golden/billing-usage-metrics.tsv index 34706a5..d43bee2 100644 --- a/internal/cli/testdata/golden/billing-usage-metrics.tsv +++ b/internal/cli/testdata/golden/billing-usage-metrics.tsv @@ -1,2 +1,2 @@ DomainRadar RDAP checks 1000 640 1653.33 900 checks yes -Norcube Backup Backup storage 0 2.5 2.5 2 GB +Backup Backup storage 0 2.5 2.5 2 GB diff --git a/internal/cli/testdata/golden/billing-usage-metrics.txt b/internal/cli/testdata/golden/billing-usage-metrics.txt index 74ac82e..1d19488 100644 --- a/internal/cli/testdata/golden/billing-usage-metrics.txt +++ b/internal/cli/testdata/golden/billing-usage-metrics.txt @@ -1,3 +1,3 @@ -SERVICE METRIC FREE SO_FAR PROJECTED LAST_MONTH UNIT OVER -DomainRadar RDAP checks 1000 640 1653.33 900 checks yes -Norcube Backup Backup storage 0 2.5 2.5 2 GB +SERVICE METRIC FREE SO_FAR PROJECTED LAST_MONTH UNIT OVER +DomainRadar RDAP checks 1000 640 1653.33 900 checks yes +Backup Backup storage 0 2.5 2.5 2 GB diff --git a/internal/cli/testdata/golden/billing-usage-metrics.yaml b/internal/cli/testdata/golden/billing-usage-metrics.yaml index a9eff24..5df6e36 100644 --- a/internal/cli/testdata/golden/billing-usage-metrics.yaml +++ b/internal/cli/testdata/golden/billing-usage-metrics.yaml @@ -18,5 +18,5 @@ previousMonthUnits: 2 projectedEndOfMonthUnits: 2.5 serviceCode: snapdb - serviceName: Norcube Backup + serviceName: Backup unit: GB diff --git a/internal/cli/testdata/golden/commands-billing.json b/internal/cli/testdata/golden/commands-billing.json index 2047596..8ddc10d 100644 --- a/internal/cli/testdata/golden/commands-billing.json +++ b/internal/cli/testdata/golden/commands-billing.json @@ -134,7 +134,7 @@ "group": true, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "confirm": false, @@ -155,7 +155,7 @@ "group": true, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "confirm": false, @@ -177,7 +177,7 @@ "group": false, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "effect": "read", @@ -207,7 +207,7 @@ "group": false, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "effect": "write", @@ -267,7 +267,7 @@ "group": true, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "confirm": false, @@ -291,7 +291,7 @@ "group": false, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "effect": "read", @@ -329,7 +329,7 @@ "group": false, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "effect": "read", @@ -358,7 +358,7 @@ "group": false, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "effect": "read", @@ -388,7 +388,7 @@ "group": true, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "confirm": false, @@ -411,7 +411,7 @@ "group": false, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "effect": "read", @@ -438,7 +438,7 @@ "group": true, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "confirm": false, @@ -461,7 +461,7 @@ "group": false, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "effect": "read", @@ -491,7 +491,7 @@ "group": false, "service": { "key": "billing", - "name": "Norcube Billing", + "name": "Billing", "audience": "billing" }, "effect": "read", diff --git a/internal/cli/testdata/golden/commands-billing.yaml b/internal/cli/testdata/golden/commands-billing.yaml index 0a06f4c..5d8f350 100644 --- a/internal/cli/testdata/golden/commands-billing.yaml +++ b/internal/cli/testdata/golden/commands-billing.yaml @@ -19,7 +19,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: 'See the organization''s billing: status, subscriptions, usage, invoices, spending caps' usage: norcube billing wait: false @@ -42,7 +42,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: Show and set the organization's monthly spending caps usage: norcube billing budget wait: false @@ -68,7 +68,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: Show the monthly spending caps and alert thresholds usage: norcube billing budget get wait: false @@ -125,7 +125,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: Set the monthly spending caps or alert thresholds usage: norcube billing budget set [flags] wait: false @@ -143,7 +143,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: List invoices and download them as PDF usage: norcube billing invoices wait: false @@ -179,7 +179,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: Download an invoice as PDF usage: norcube billing invoices download [flags] wait: false @@ -208,7 +208,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: List the organization's invoices usage: norcube billing invoices list wait: false @@ -238,7 +238,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: Show whether the organization's account is in good standing usage: norcube billing status wait: false @@ -256,7 +256,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: Show the organization's subscriptions usage: norcube billing subscriptions wait: false @@ -286,7 +286,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: List each service's billing and the plan the organization is on usage: norcube billing subscriptions list wait: false @@ -302,7 +302,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: See this month's usage and what it will cost usage: norcube billing usage wait: false @@ -332,7 +332,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: Show this month's charges so far and the estimate for the whole month usage: norcube billing usage estimate wait: false @@ -362,7 +362,7 @@ commands: service: audience: billing key: billing - name: Norcube Billing + name: Billing short: Show usage per metric against its free tier usage: norcube billing usage metrics wait: false diff --git a/internal/cli/testdata/golden/commands-monitor.json b/internal/cli/testdata/golden/commands-monitor.json index fc00aa2..aca2d55 100644 --- a/internal/cli/testdata/golden/commands-monitor.json +++ b/internal/cli/testdata/golden/commands-monitor.json @@ -134,7 +134,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -159,7 +159,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -183,7 +183,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -287,7 +287,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -324,7 +324,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -349,7 +349,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -431,7 +431,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -460,7 +460,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -531,7 +531,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -571,7 +571,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -692,7 +692,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -739,7 +739,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -766,7 +766,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -797,7 +797,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -827,7 +827,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -975,7 +975,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -1006,7 +1006,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -1028,7 +1028,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -1052,7 +1052,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -1084,7 +1084,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -1167,7 +1167,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -1192,7 +1192,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -1230,7 +1230,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -1254,7 +1254,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -1335,7 +1335,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -1416,7 +1416,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -1497,7 +1497,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -1522,7 +1522,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -1553,7 +1553,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -1656,7 +1656,7 @@ "name": "interval", "type": "duration", "default": "0s", - "description": "How often to check, e.g. 30s, 5m, 1h (default 1m for HTTP, 1h for SSL, 12h for domains; your plan sets the minimum)", + "description": "How often to check, e.g. 30s, 5m, 1h (default 1m for HTTP, 1h for SSL, 12h for domains; your organization's limit sets the minimum)", "required": false, "repeatable": false }, @@ -1810,7 +1810,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -1850,7 +1850,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -1880,7 +1880,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -2006,7 +2006,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -2037,7 +2037,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -2062,7 +2062,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -2147,7 +2147,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -2178,7 +2178,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -2234,7 +2234,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -2259,7 +2259,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -2305,7 +2305,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -2330,7 +2330,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -2401,7 +2401,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -2512,7 +2512,7 @@ "name": "interval", "type": "duration", "default": "0s", - "description": "How often to check, e.g. 30s, 5m, 1h (default 1m for HTTP, 1h for SSL, 12h for domains; your plan sets the minimum)", + "description": "How often to check, e.g. 30s, 5m, 1h (default 1m for HTTP, 1h for SSL, 12h for domains; your organization's limit sets the minimum)", "required": false, "repeatable": false }, @@ -2666,7 +2666,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -2711,7 +2711,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -2728,14 +2728,14 @@ ], "name": "create", "short": "Create a status page, unpublished", - "long": "Creates a page that nobody can see yet: set what it shows with \"layout\nset\", check it with \"preview-link\", then \"publish\" it. Every setting is\nrequired: the page's public face is your choice, so nothing is filled in\nfor you. A boolean takes =false to turn it off.\n\nYour plan limits how many pages an organization has, published or not.", + "long": "Creates a page that nobody can see yet: set what it shows with \"layout\nset\", check it with \"preview-link\", then \"publish\" it. Every setting is\nrequired: the page's public face is your choice, so nothing is filled in\nfor you. A boolean takes =false to turn it off.\n\nYour organization's limit sets how many pages it can have, published or not.", "usage": "norcube monitor status-pages create \u003cname\u003e [flags]", "args": "\u003cname\u003e", "example": "norcube monitor status-pages create \"Acme status\" --slug acme --time-zone Europe/Prague --uptime-days 90 --history-days 90 --show-uptime-bars --show-uptime-percent --show-response-time=false --search-indexing", "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -2841,7 +2841,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -2880,7 +2880,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -2912,7 +2912,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -2937,7 +2937,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -3037,7 +3037,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -3068,7 +3068,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -3151,7 +3151,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -3239,7 +3239,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -3265,7 +3265,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -3337,7 +3337,7 @@ "group": true, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "confirm": false, @@ -3362,7 +3362,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -3394,7 +3394,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -3432,7 +3432,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -3510,7 +3510,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "read", @@ -3541,7 +3541,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -3572,7 +3572,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", @@ -3612,7 +3612,7 @@ "group": false, "service": { "key": "monitor", - "name": "Norcube Monitor", + "name": "Monitor", "audience": "monitor" }, "effect": "write", diff --git a/internal/registry/services.yaml b/internal/registry/services.yaml index 018c0be..aa0e2a0 100644 --- a/internal/registry/services.yaml +++ b/internal/registry/services.yaml @@ -13,16 +13,16 @@ # commands with service.New (see docs/ARCHITECTURE.md). services: - key: auth - name: Norcube Auth + name: Auth audience: auth endpoint: https://auth.api.norcube.com - key: web_app - name: Norcube dashboard + name: Dashboard endpoint: https://app.norcube.com - key: snapdb - name: Norcube Backup + name: Backup command: backup aliases: [snapdb] audience: snapdb-api @@ -53,7 +53,7 @@ services: package: domainradar - key: billing - name: Norcube Billing + name: Billing command: billing audience: billing endpoint: https://billing.api.norcube.com/app/v1 @@ -63,7 +63,7 @@ services: package: billing - key: monitor - name: Norcube Monitor + name: Monitor command: monitor audience: monitor endpoint: https://monitor.api.norcube.com/app/v1