@temps-sdk/cli 0.1.38 → 0.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +63877 -40097
  3. package/dist/skills/temps/SKILL.md +18 -9
  4. package/dist/skills/temps/evals/evals.json +23 -6
  5. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  6. package/dist/skills/temps/howtos/ci-automation.md +2 -3
  7. package/dist/skills/temps/howtos/curated-services.md +69 -0
  8. package/dist/skills/temps/howtos/deploy-application.md +8 -1
  9. package/dist/skills/temps/howtos/edge-rules.md +135 -0
  10. package/dist/skills/temps/howtos/managed-services.md +4 -4
  11. package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
  12. package/dist/skills/temps/references/cli-runtime.md +10 -18
  13. package/dist/skills/temps/references/commands/INDEX.md +11 -0
  14. package/dist/skills/temps/references/commands/access.md +4 -0
  15. package/dist/skills/temps/references/commands/agents.md +731 -0
  16. package/dist/skills/temps/references/commands/ai.md +2638 -9
  17. package/dist/skills/temps/references/commands/alarms.md +129 -0
  18. package/dist/skills/temps/references/commands/analytics.md +1199 -2
  19. package/dist/skills/temps/references/commands/apikeys.md +50 -1
  20. package/dist/skills/temps/references/commands/audit.md +1 -0
  21. package/dist/skills/temps/references/commands/backups.md +312 -0
  22. package/dist/skills/temps/references/commands/blob.md +169 -0
  23. package/dist/skills/temps/references/commands/cloud.md +73 -0
  24. package/dist/skills/temps/references/commands/cluster.md +223 -0
  25. package/dist/skills/temps/references/commands/configure.md +7 -0
  26. package/dist/skills/temps/references/commands/containers.md +45 -0
  27. package/dist/skills/temps/references/commands/context.md +6 -0
  28. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  29. package/dist/skills/temps/references/commands/data.md +11 -13
  30. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  31. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  32. package/dist/skills/temps/references/commands/deploy.md +2 -0
  33. package/dist/skills/temps/references/commands/deployments.md +560 -0
  34. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  35. package/dist/skills/temps/references/commands/domains.md +105 -0
  36. package/dist/skills/temps/references/commands/drop.md +2 -0
  37. package/dist/skills/temps/references/commands/edge-rules.md +218 -0
  38. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  39. package/dist/skills/temps/references/commands/email-providers.md +64 -1
  40. package/dist/skills/temps/references/commands/emails.md +91 -0
  41. package/dist/skills/temps/references/commands/env-pull.md +2 -0
  42. package/dist/skills/temps/references/commands/env-push.md +2 -0
  43. package/dist/skills/temps/references/commands/environments.md +695 -2
  44. package/dist/skills/temps/references/commands/errors.md +1134 -61
  45. package/dist/skills/temps/references/commands/facets.md +6 -0
  46. package/dist/skills/temps/references/commands/flags.md +179 -0
  47. package/dist/skills/temps/references/commands/funnels.md +22 -2
  48. package/dist/skills/temps/references/commands/incidents.md +22 -0
  49. package/dist/skills/temps/references/commands/init.md +2 -0
  50. package/dist/skills/temps/references/commands/instances.md +6 -0
  51. package/dist/skills/temps/references/commands/instantiations.md +4 -0
  52. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  53. package/dist/skills/temps/references/commands/kv.md +184 -0
  54. package/dist/skills/temps/references/commands/link.md +2 -0
  55. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  56. package/dist/skills/temps/references/commands/login.md +9 -1
  57. package/dist/skills/temps/references/commands/logs.md +405 -10
  58. package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
  59. package/dist/skills/temps/references/commands/mcp.md +8 -1
  60. package/dist/skills/temps/references/commands/migrate.md +26 -0
  61. package/dist/skills/temps/references/commands/monitors.md +456 -0
  62. package/dist/skills/temps/references/commands/network-policy.md +147 -0
  63. package/dist/skills/temps/references/commands/nodes.md +209 -2
  64. package/dist/skills/temps/references/commands/notifications.md +173 -2
  65. package/dist/skills/temps/references/commands/open.md +2 -0
  66. package/dist/skills/temps/references/commands/otel-forward.md +16 -0
  67. package/dist/skills/temps/references/commands/otel.md +436 -0
  68. package/dist/skills/temps/references/commands/platform.md +57 -0
  69. package/dist/skills/temps/references/commands/plugin.md +106 -1
  70. package/dist/skills/temps/references/commands/presets.md +2 -0
  71. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  72. package/dist/skills/temps/references/commands/project-groups.md +72 -4
  73. package/dist/skills/temps/references/commands/projects.md +509 -4
  74. package/dist/skills/temps/references/commands/providers.md +533 -1
  75. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  76. package/dist/skills/temps/references/commands/revenue.md +223 -0
  77. package/dist/skills/temps/references/commands/rollback.md +2 -0
  78. package/dist/skills/temps/references/commands/sandbox.md +790 -10
  79. package/dist/skills/temps/references/commands/secrets.md +19 -6
  80. package/dist/skills/temps/references/commands/server.md +107 -0
  81. package/dist/skills/temps/references/commands/services.md +836 -5
  82. package/dist/skills/temps/references/commands/session-replay.md +8 -0
  83. package/dist/skills/temps/references/commands/settings.md +346 -0
  84. package/dist/skills/temps/references/commands/shield.md +354 -0
  85. package/dist/skills/temps/references/commands/skills.md +6 -0
  86. package/dist/skills/temps/references/commands/start.md +1 -0
  87. package/dist/skills/temps/references/commands/status-pages.md +376 -9
  88. package/dist/skills/temps/references/commands/status.md +2 -0
  89. package/dist/skills/temps/references/commands/surveys.md +165 -0
  90. package/dist/skills/temps/references/commands/teams.md +28 -0
  91. package/dist/skills/temps/references/commands/templates.md +22 -2
  92. package/dist/skills/temps/references/commands/tokens.md +106 -0
  93. package/dist/skills/temps/references/commands/traces.md +207 -0
  94. package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
  95. package/dist/skills/temps/references/commands/tunnels.md +141 -0
  96. package/dist/skills/temps/references/commands/up.md +2 -0
  97. package/dist/skills/temps/references/commands/users.md +127 -0
  98. package/dist/skills/temps/references/commands/vault.md +662 -0
  99. package/dist/skills/temps/references/commands/webhooks.md +10 -0
  100. package/dist/skills/temps/references/commands/workflow.md +2 -0
  101. package/dist/skills/temps/references/commands/workflows.md +563 -0
  102. package/dist/skills/temps/references/observability/analytics.md +2 -2
  103. package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
  104. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  105. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  106. package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
  107. package/dist/skills/temps/scripts/validate_skill.py +29 -43
  108. package/package.json +9 -3
  109. package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
  110. package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
  111. package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
  112. package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
@@ -4,6 +4,23 @@
4
4
 
5
5
  Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
6
 
7
+ ## Contents
8
+
9
+ - [`monitors list`](#monitors-list-alias-ls)
10
+ - [`monitors create`](#monitors-create-alias-add)
11
+ - [`monitors add-target`](#monitors-add-target)
12
+ - [`monitors update-target`](#monitors-update-target)
13
+ - [`monitors locations`](#monitors-locations)
14
+ - [`monitors show`](#monitors-show)
15
+ - [`monitors remove`](#monitors-remove-alias-rm)
16
+ - [`monitors status`](#monitors-status)
17
+ - [`monitors history`](#monitors-history)
18
+ - [`monitors get-health`](#monitors-get-health)
19
+ - [`monitors update`](#monitors-update)
20
+ - [`monitors get-bucketed-status`](#monitors-get-bucketed-status)
21
+ - [`monitors crons`](#monitors-crons)
22
+ - [`monitors http-checks`](#monitors-http-checks)
23
+
7
24
  ## `monitors` (alias: `monitoring`)
8
25
 
9
26
  Manage uptime monitors for status pages
@@ -12,10 +29,18 @@ Manage uptime monitors for status pages
12
29
 
13
30
  - `list` (`ls`) - List all monitors for a project
14
31
  - `create` (`add`) - Create a new monitor for a project
32
+ - `add-target` - Monitor a URL, port, TLS certificate or DNS record outside Temps
33
+ - `update-target` - Change a monitor of a target outside Temps; omitted flags keep their value
34
+ - `locations` - List where monitors checked from worker nodes are checked from
15
35
  - `show` - Show monitor details and current status
16
36
  - `remove` (`rm`) - Delete a monitor
17
37
  - `status` - Get current status — all monitors for a project, or a single monitor by ID
18
38
  - `history` - Get monitor uptime history
39
+ - `get-health` - Get monitor-based health summaries for multiple projects in a single query
40
+ - `update` - Update a monitor's name, check interval or check path
41
+ - `get-bucketed-status` - Get bucketed status data for a monitor using TimescaleDB
42
+ - `crons` - Crons commands
43
+ - `http-checks` - Http checks commands
19
44
 
20
45
  ### `monitors list` (alias: `ls`)
21
46
 
@@ -44,6 +69,73 @@ Create a new monitor for a project
44
69
  | `--environment-id <id>` | Environment ID (default: 0 for production) | - | No |
45
70
  | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
46
71
 
72
+ ### `monitors add-target`
73
+
74
+ Monitor a URL, port, TLS certificate or DNS record outside Temps
75
+
76
+ **Options:**
77
+
78
+ | Flag | Description | Default | Required |
79
+ |------|-------------|---------|----------|
80
+ | `--project-id <id>` | Project ID | - | Yes |
81
+ | `--kind <kind>` | http, tcp, tls or dns | - | Yes |
82
+ | `--target <target>` | URL (http), host:port (tcp, tls) or host name (dns) | - | Yes |
83
+ | `-n, --name <name>` | Monitor name | - | Yes |
84
+ | `-i, --interval <seconds>` | Check interval in seconds (default 60, at least 30) | - | No |
85
+ | `--keyword-absent` | Fail when --keyword is present instead of missing | - | No |
86
+ | `--from-nodes` | Also check from online worker nodes; down only when most locations agree | - | No |
87
+ | `--method <method>` | HTTP method (default GET) | - | No |
88
+ | `--expect-status <codes>` | Codes or classes counted as up, e.g. 200,204 or 2xx (default 2xx or 3xx) | - | No |
89
+ | `--keyword <text>` | Text the response body must contain (first 256 KiB; never stored) | - | No |
90
+ | `--degraded-after-ms <ms>` | Slower than this is degraded (http, tcp) | - | No |
91
+ | `--warn-days <days>` | Degraded when the certificate expires within this many days (tls, default 14) | - | No |
92
+ | `--record <type>` | DNS record type: A, AAAA, CNAME, MX, TXT, NS (default A) | - | No |
93
+ | `--expect <values>` | Comma-separated DNS values; any match is up (default: any answer) | - | No |
94
+ | `--header-file <path>` | File of "Name: value" request headers; stored encrypted, never shown | - | No |
95
+ | `--body-file <path>` | File with the request body; stored encrypted | - | No |
96
+ | `--json` | Output in JSON format | - | No |
97
+
98
+ ### `monitors update-target`
99
+
100
+ Change a monitor of a target outside Temps; omitted flags keep their value
101
+
102
+ **Options:**
103
+
104
+ | Flag | Description | Default | Required |
105
+ |------|-------------|---------|----------|
106
+ | `--project-id <id>` | Project ID | - | Yes |
107
+ | `--monitor-id <id>` | Monitor ID | - | Yes |
108
+ | `--kind <kind>` | Change the check kind (pass the check flags for it) | - | No |
109
+ | `--target <target>` | New target | - | No |
110
+ | `-n, --name <name>` | New name | - | No |
111
+ | `-i, --interval <seconds>` | Check interval in seconds | - | No |
112
+ | `--keyword-absent` | Fail when --keyword is present instead of missing | - | No |
113
+ | `--pause` | Stop checking | - | No |
114
+ | `--resume` | Start checking again | - | No |
115
+ | `--from-nodes` | Also check from online worker nodes | - | No |
116
+ | `--no-from-nodes` | Check from this server only | - | No |
117
+ | `--method <method>` | HTTP method (default GET) | - | No |
118
+ | `--expect-status <codes>` | Codes or classes counted as up, e.g. 200,204 or 2xx (default 2xx or 3xx) | - | No |
119
+ | `--keyword <text>` | Text the response body must contain (first 256 KiB; never stored) | - | No |
120
+ | `--degraded-after-ms <ms>` | Slower than this is degraded (http, tcp) | - | No |
121
+ | `--warn-days <days>` | Degraded when the certificate expires within this many days (tls, default 14) | - | No |
122
+ | `--record <type>` | DNS record type: A, AAAA, CNAME, MX, TXT, NS (default A) | - | No |
123
+ | `--expect <values>` | Comma-separated DNS values; any match is up (default: any answer) | - | No |
124
+ | `--header-file <path>` | File of "Name: value" request headers; stored encrypted, never shown | - | No |
125
+ | `--body-file <path>` | File with the request body; stored encrypted | - | No |
126
+ | `--json` | Output in JSON format | - | No |
127
+
128
+ ### `monitors locations`
129
+
130
+ List where monitors checked from worker nodes are checked from
131
+
132
+ **Options:**
133
+
134
+ | Flag | Description | Default | Required |
135
+ |------|-------------|---------|----------|
136
+ | `--project-id <id>` | Project ID | - | Yes |
137
+ | `--json` | Output in JSON format | - | No |
138
+
47
139
  ### `monitors show`
48
140
 
49
141
  Show monitor details and current status
@@ -90,3 +182,367 @@ Get monitor uptime history
90
182
  | `--id <id>` | Monitor ID | - | Yes |
91
183
  | `--json` | Output in JSON format | - | No |
92
184
  | `--days <days>` | Number of days to show | `7` | No |
185
+
186
+ ### `monitors get-health`
187
+
188
+ Get monitor-based health summaries for multiple projects in a single query
189
+
190
+ **Options:**
191
+
192
+ | Flag | Description | Default | Required |
193
+ |------|-------------|---------|----------|
194
+ | `--project-ids <value>` | Comma-separated list of project IDs [required] | - | No |
195
+ | `--environment-id <n>` | Select one environment within the authorized projects; defaults to production | - | No |
196
+ | `--json` | Output in JSON format | - | No |
197
+
198
+ ### `monitors update`
199
+
200
+ Update a monitor's name, check interval or check path
201
+
202
+ **Usage:** `monitors update <monitor-id> [options]`
203
+
204
+ **Options:**
205
+
206
+ | Flag | Description | Default | Required |
207
+ |------|-------------|---------|----------|
208
+ | `--check-interval-seconds <n>` | How often to probe, in seconds. **Clamped, not rejected**, exactly like on create: values below 30 are... | - | No |
209
+ | `--check-path <value>` | Path probed on the monitored environment; must start with '/' | - | No |
210
+ | `--name <value>` | Display name; 1 to 255 characters after trimming | - | No |
211
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
212
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
213
+ | `--json` | Output in JSON format | - | No |
214
+
215
+ ### `monitors get-bucketed-status`
216
+
217
+ Get bucketed status data for a monitor using TimescaleDB
218
+
219
+ **Usage:** `monitors get-bucketed-status <monitor-id> [options]`
220
+
221
+ **Options:**
222
+
223
+ | Flag | Description | Default | Required |
224
+ |------|-------------|---------|----------|
225
+ | `--interval <value>` | Bucket interval: '5min', 'hourly', or 'daily' (default: hourly) | - | No |
226
+ | `--start-time <value>` | Start time (ISO 8601) (default: 24 hours ago) | - | No |
227
+ | `--end-time <value>` | End time (ISO 8601) (default: now) | - | No |
228
+ | `--json` | Output in JSON format | - | No |
229
+
230
+ ### `monitors crons`
231
+
232
+ Crons commands
233
+
234
+ **Subcommands:**
235
+
236
+ - `list` - List cron monitors
237
+ - `create` - Create cron monitor
238
+ - `delete` - Delete cron monitor
239
+ - `get` - Get cron monitor
240
+ - `update` - Update cron monitor
241
+ - `list-runs` - List cron monitor runs
242
+
243
+ #### `monitors crons list`
244
+
245
+ List cron monitors
246
+
247
+ **Options:**
248
+
249
+ | Flag | Description | Default | Required |
250
+ |------|-------------|---------|----------|
251
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
252
+ | `--page <n>` | Query parameter page | - | No |
253
+ | `--page-size <n>` | Query parameter page_size | - | No |
254
+ | `--json` | Output in JSON format | - | No |
255
+
256
+ #### `monitors crons create`
257
+
258
+ Create cron monitor
259
+
260
+ **Options:**
261
+
262
+ | Flag | Description | Default | Required |
263
+ |------|-------------|---------|----------|
264
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
265
+ | `--config <json>` | Body field config (JSON) [required] | - | No |
266
+ | `--environment-id <n>` | Body field environment_id | - | No |
267
+ | `--slug <value>` | Body field slug [required] | - | No |
268
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
269
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
270
+ | `--json` | Output in JSON format | - | No |
271
+
272
+ #### `monitors crons delete`
273
+
274
+ Delete cron monitor
275
+
276
+ **Usage:** `monitors crons delete <monitor-id> [options]`
277
+
278
+ **Options:**
279
+
280
+ | Flag | Description | Default | Required |
281
+ |------|-------------|---------|----------|
282
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
283
+ | `-y, --yes` | Do not ask for confirmation | - | No |
284
+ | `--json` | Output in JSON format | - | No |
285
+
286
+ #### `monitors crons get`
287
+
288
+ Get cron monitor
289
+
290
+ **Usage:** `monitors crons get <monitor-id> [options]`
291
+
292
+ **Options:**
293
+
294
+ | Flag | Description | Default | Required |
295
+ |------|-------------|---------|----------|
296
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
297
+ | `--json` | Output in JSON format | - | No |
298
+
299
+ #### `monitors crons update`
300
+
301
+ Update cron monitor
302
+
303
+ **Usage:** `monitors crons update <monitor-id> [options]`
304
+
305
+ **Options:**
306
+
307
+ | Flag | Description | Default | Required |
308
+ |------|-------------|---------|----------|
309
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
310
+ | `--config <json>` | Body field config (JSON) | - | No |
311
+ | `--enabled` | Body field enabled | - | No |
312
+ | `--no-enabled` | Set enabled to false | - | No |
313
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
314
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
315
+ | `--json` | Output in JSON format | - | No |
316
+
317
+ #### `monitors crons list-runs`
318
+
319
+ List cron monitor runs
320
+
321
+ **Usage:** `monitors crons list-runs <monitor-id> [options]`
322
+
323
+ **Options:**
324
+
325
+ | Flag | Description | Default | Required |
326
+ |------|-------------|---------|----------|
327
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
328
+ | `--page <n>` | Query parameter page | - | No |
329
+ | `--page-size <n>` | Query parameter page_size | - | No |
330
+ | `--json` | Output in JSON format | - | No |
331
+
332
+ ### `monitors http-checks`
333
+
334
+ Http checks commands
335
+
336
+ **Subcommands:**
337
+
338
+ - `detect-env-credential` - Detect env credential
339
+ - `list-variable-history` - List variable history
340
+ - `list` - List http checks
341
+ - `create` - Create http check
342
+ - `get-capabilities` - Get http checks capabilities
343
+ - `list-presets` - List http check presets
344
+ - `get` - Show one http check
345
+ - `delete` - Delete http check
346
+ - `set-enabled` - Set http check enabled
347
+ - `update` - Update http check
348
+ - `run` - Run http check
349
+ - `detect-secret-credential` - Detect secret credential
350
+ - `list-secret-history` - List secret history
351
+
352
+ #### `monitors http-checks detect-env-credential`
353
+
354
+ Detect env credential
355
+
356
+ **Usage:** `monitors http-checks detect-env-credential <env-var-id> [options]`
357
+
358
+ **Options:**
359
+
360
+ | Flag | Description | Default | Required |
361
+ |------|-------------|---------|----------|
362
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
363
+ | `--json` | Output in JSON format | - | No |
364
+
365
+ #### `monitors http-checks list-variable-history`
366
+
367
+ List variable history
368
+
369
+ **Usage:** `monitors http-checks list-variable-history <env-var-id> [options]`
370
+
371
+ **Options:**
372
+
373
+ | Flag | Description | Default | Required |
374
+ |------|-------------|---------|----------|
375
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
376
+ | `--page <n>` | Query parameter page | - | No |
377
+ | `--page-size <n>` | Query parameter page_size | - | No |
378
+ | `--json` | Output in JSON format | - | No |
379
+
380
+ #### `monitors http-checks list`
381
+
382
+ List http checks
383
+
384
+ **Options:**
385
+
386
+ | Flag | Description | Default | Required |
387
+ |------|-------------|---------|----------|
388
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
389
+ | `--page <n>` | Query parameter page | - | No |
390
+ | `--page-size <n>` | Query parameter page_size | - | No |
391
+ | `--json` | Output in JSON format | - | No |
392
+
393
+ #### `monitors http-checks create`
394
+
395
+ Create http check
396
+
397
+ **Options:**
398
+
399
+ | Flag | Description | Default | Required |
400
+ |------|-------------|---------|----------|
401
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
402
+ | `--credential-stdin` | Body field credential (read from stdin) | - | No |
403
+ | `--credential-file <path>` | Body field credential (read from a file) | - | No |
404
+ | `--enabled` | Body field enabled | - | No |
405
+ | `--no-enabled` | Set enabled to false | - | No |
406
+ | `--env-var-id <n>` | Body field env_var_id | - | No |
407
+ | `--interval-seconds <n>` | Body field interval_seconds | - | No |
408
+ | `--kind <value>` | 'http' (default) calls an endpoint; 'local' reads expiring items (certificates, SSH certificates, OpenPGP... (one of: http, local) | - | No |
409
+ | `--local <json>` | Body field local (JSON) | - | No |
410
+ | `--name <value>` | Body field name [required] | - | No |
411
+ | `--secret-id <n>` | Project secret to check | - | No |
412
+ | `--spec <json>` | This is a declarative HTTP recipe, never executable code (JSON) | - | No |
413
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
414
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
415
+ | `--json` | Output in JSON format | - | No |
416
+
417
+ #### `monitors http-checks get-capabilities`
418
+
419
+ Get http checks capabilities
420
+
421
+ **Options:**
422
+
423
+ | Flag | Description | Default | Required |
424
+ |------|-------------|---------|----------|
425
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
426
+ | `--json` | Output in JSON format | - | No |
427
+
428
+ #### `monitors http-checks list-presets`
429
+
430
+ List http check presets
431
+
432
+ **Options:**
433
+
434
+ | Flag | Description | Default | Required |
435
+ |------|-------------|---------|----------|
436
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
437
+ | `--json` | Output in JSON format | - | No |
438
+
439
+ #### `monitors http-checks get`
440
+
441
+ Show one http check
442
+
443
+ **Usage:** `monitors http-checks get <check-id> [options]`
444
+
445
+ **Options:**
446
+
447
+ | Flag | Description | Default | Required |
448
+ |------|-------------|---------|----------|
449
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
450
+ | `--json` | Output in JSON format | - | No |
451
+
452
+ #### `monitors http-checks delete`
453
+
454
+ Delete http check
455
+
456
+ **Usage:** `monitors http-checks delete <check-id> [options]`
457
+
458
+ **Options:**
459
+
460
+ | Flag | Description | Default | Required |
461
+ |------|-------------|---------|----------|
462
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
463
+ | `-y, --yes` | Do not ask for confirmation | - | No |
464
+ | `--json` | Output in JSON format | - | No |
465
+
466
+ #### `monitors http-checks set-enabled`
467
+
468
+ Set http check enabled
469
+
470
+ **Usage:** `monitors http-checks set-enabled <check-id> [options]`
471
+
472
+ **Options:**
473
+
474
+ | Flag | Description | Default | Required |
475
+ |------|-------------|---------|----------|
476
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
477
+ | `--enabled` | Body field enabled [required] | - | No |
478
+ | `--no-enabled` | Set enabled to false | - | No |
479
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
480
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
481
+ | `--json` | Output in JSON format | - | No |
482
+
483
+ #### `monitors http-checks update`
484
+
485
+ Update http check
486
+
487
+ **Usage:** `monitors http-checks update <check-id> [options]`
488
+
489
+ **Options:**
490
+
491
+ | Flag | Description | Default | Required |
492
+ |------|-------------|---------|----------|
493
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
494
+ | `--credential-stdin` | Body field credential (read from stdin) | - | No |
495
+ | `--credential-file <path>` | Body field credential (read from a file) | - | No |
496
+ | `--enabled` | Body field enabled | - | No |
497
+ | `--no-enabled` | Set enabled to false | - | No |
498
+ | `--env-var-id <n>` | Body field env_var_id | - | No |
499
+ | `--interval-seconds <n>` | Body field interval_seconds | - | No |
500
+ | `--kind <value>` | 'http' (default) calls an endpoint; 'local' reads expiring items (certificates, SSH certificates, OpenPGP... (one of: http, local) | - | No |
501
+ | `--local <json>` | Body field local (JSON) | - | No |
502
+ | `--name <value>` | Body field name [required] | - | No |
503
+ | `--secret-id <n>` | Project secret to check | - | No |
504
+ | `--spec <json>` | This is a declarative HTTP recipe, never executable code (JSON) | - | No |
505
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
506
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
507
+ | `--json` | Output in JSON format | - | No |
508
+
509
+ #### `monitors http-checks run`
510
+
511
+ Run http check
512
+
513
+ **Usage:** `monitors http-checks run <check-id> [options]`
514
+
515
+ **Options:**
516
+
517
+ | Flag | Description | Default | Required |
518
+ |------|-------------|---------|----------|
519
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
520
+ | `--json` | Output in JSON format | - | No |
521
+
522
+ #### `monitors http-checks detect-secret-credential`
523
+
524
+ Detect secret credential
525
+
526
+ **Usage:** `monitors http-checks detect-secret-credential <secret-id> [options]`
527
+
528
+ **Options:**
529
+
530
+ | Flag | Description | Default | Required |
531
+ |------|-------------|---------|----------|
532
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
533
+ | `--json` | Output in JSON format | - | No |
534
+
535
+ #### `monitors http-checks list-secret-history`
536
+
537
+ List secret history
538
+
539
+ **Usage:** `monitors http-checks list-secret-history <secret-id> [options]`
540
+
541
+ **Options:**
542
+
543
+ | Flag | Description | Default | Required |
544
+ |------|-------------|---------|----------|
545
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
546
+ | `--page <n>` | Query parameter page | - | No |
547
+ | `--page-size <n>` | Query parameter page_size | - | No |
548
+ | `--json` | Output in JSON format | - | No |
@@ -0,0 +1,147 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `network-policy` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `network-policy` (alias: `netpol`)
8
+
9
+ Manage network policy for workloads: rules, egress/ingress profiles and the effective policy
10
+
11
+ **Subcommands:**
12
+
13
+ - `rules` - Manage network policy rules
14
+ - `effective` - Show the policy in force for a workload: profile, rules, inbound links and where it is enforced. <kind> is one of deployment, sandbox, service, function, job; <id> is the environment id for a deployment
15
+ - `profile` - Manage a workload's egress and ingress profile
16
+ - `list-node-modes` - List node modes
17
+ - `set-node-mode` - Set node mode
18
+
19
+ ### `network-policy rules`
20
+
21
+ Manage network policy rules
22
+
23
+ **Subcommands:**
24
+
25
+ - `list` (`ls`) - List network policy rules
26
+ - `show` - Show one network policy rule
27
+ - `create` (`add`) - Create a network policy rule
28
+ - `rm` (`remove`) - Delete a network policy rule (link rules are removed by unlinking instead)
29
+
30
+ #### `network-policy rules list` (alias: `ls`)
31
+
32
+ List network policy rules
33
+
34
+ **Options:**
35
+
36
+ | Flag | Description | Default | Required |
37
+ |------|-------------|---------|----------|
38
+ | `--subject-kind <kind>` | Only rules for this kind (deployment, sandbox, service, function, job) | - | No |
39
+ | `--subject-id <id>` | Only rules for this subject (environment id for deployments) | - | No |
40
+ | `--origin <origin>` | Only rules of this origin (link, operator, system) | - | No |
41
+ | `--page <n>` | Page number (default 1) | - | No |
42
+ | `--page-size <n>` | Rules per page (default 20, max 100) | - | No |
43
+ | `--json` | Output in JSON format | - | No |
44
+
45
+ #### `network-policy rules show`
46
+
47
+ Show one network policy rule
48
+
49
+ **Usage:** `network-policy rules show <ruleId> [options]`
50
+
51
+ **Options:**
52
+
53
+ | Flag | Description | Default | Required |
54
+ |------|-------------|---------|----------|
55
+ | `--json` | Output in JSON format | - | No |
56
+
57
+ #### `network-policy rules create` (alias: `add`)
58
+
59
+ Create a network policy rule
60
+
61
+ **Options:**
62
+
63
+ | Flag | Description | Default | Required |
64
+ |------|-------------|---------|----------|
65
+ | `--subject-kind <kind>` | Workload kind (deployment, sandbox, service, function, job) | - | Yes |
66
+ | `--subject-id <id>` | Environment id for a deployment; the row id for other kinds | - | Yes |
67
+ | `--direction <direction>` | Traffic direction (egress, ingress) | - | Yes |
68
+ | `--peer-kind <kind>` | Peer type: service (by id), workload (<kind>/<id>) or cidr. host rules are refused until a node runs the shared egress proxy | - | Yes |
69
+ | `--peer <ref>` | Peer reference: a service id, <kind>/<id>, or a CIDR | - | Yes |
70
+ | `--action <action>` | What to do with matching traffic (allow, deny) | - | Yes |
71
+ | `--protocol <protocol>` | tcp, udp, any (default tcp) | - | No |
72
+ | `--port <port>` | Port, or the start of a range. Omit for every port | - | No |
73
+ | `--port-end <port>` | End of the port range (needs --port) | - | No |
74
+ | `--description <text>` | Why this rule exists | - | No |
75
+ | `--json` | Output the created rule in JSON format | - | No |
76
+
77
+ #### `network-policy rules rm` (alias: `remove`)
78
+
79
+ Delete a network policy rule (link rules are removed by unlinking instead)
80
+
81
+ **Usage:** `network-policy rules rm <ruleId> [options]`
82
+
83
+ **Options:**
84
+
85
+ | Flag | Description | Default | Required |
86
+ |------|-------------|---------|----------|
87
+ | `-f, --force` | Skip confirmation | - | No |
88
+ | `-y, --yes` | Skip confirmation (alias for --force) | - | No |
89
+
90
+ ### `network-policy effective`
91
+
92
+ Show the policy in force for a workload: profile, rules, inbound links and where it is enforced. <kind> is one of deployment, sandbox, service, function, job; <id> is the environment id for a deployment
93
+
94
+ **Usage:** `network-policy effective <kind> <id> [options]`
95
+
96
+ **Options:**
97
+
98
+ | Flag | Description | Default | Required |
99
+ |------|-------------|---------|----------|
100
+ | `--json` | Output in JSON format | - | No |
101
+
102
+ ### `network-policy profile`
103
+
104
+ Manage a workload's egress and ingress profile
105
+
106
+ **Subcommands:**
107
+
108
+ - `set` - Set a workload's profile. Each direction is open, restricted, none; a direction left out is reset to the kind's default
109
+
110
+ #### `network-policy profile set`
111
+
112
+ Set a workload's profile. Each direction is open, restricted, none; a direction left out is reset to the kind's default
113
+
114
+ **Usage:** `network-policy profile set <kind> <id> [options]`
115
+
116
+ **Options:**
117
+
118
+ | Flag | Description | Default | Required |
119
+ |------|-------------|---------|----------|
120
+ | `--egress <profile>` | Outbound profile (open, restricted, none). Omit for the kind's default | - | No |
121
+ | `--ingress <profile>` | Inbound profile (open, restricted, none). Omit for the kind's default | - | No |
122
+ | `--json` | Output in JSON format | - | No |
123
+
124
+ ### `network-policy list-node-modes`
125
+
126
+ List node modes
127
+
128
+ **Options:**
129
+
130
+ | Flag | Description | Default | Required |
131
+ |------|-------------|---------|----------|
132
+ | `--json` | Output in JSON format | - | No |
133
+
134
+ ### `network-policy set-node-mode`
135
+
136
+ Set node mode
137
+
138
+ **Usage:** `network-policy set-node-mode <node-id> [options]`
139
+
140
+ **Options:**
141
+
142
+ | Flag | Description | Default | Required |
143
+ |------|-------------|---------|----------|
144
+ | `--mode <value>` | Body field mode [required] | - | No |
145
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
146
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
147
+ | `--json` | Output in JSON format | - | No |