@tailglow/cli 0.4.1 → 0.5.1
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.
- package/package.json +1 -1
- package/src/commands.generated.js +337 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailglow/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The Tailglow command line. Every command is generated from the Tailglow API reference, so the CLI and the documentation can never describe different APIs.",
|
|
6
6
|
"bin": {
|
|
@@ -463,6 +463,97 @@ export const CLI_COMMANDS = [
|
|
|
463
463
|
"query_params": [],
|
|
464
464
|
"body_fields": []
|
|
465
465
|
},
|
|
466
|
+
{
|
|
467
|
+
"resource": "projects",
|
|
468
|
+
"command": "usage",
|
|
469
|
+
"operation_id": "getProjectUsage",
|
|
470
|
+
"summary": "Retrieve Project Usage",
|
|
471
|
+
"description": "Retrieve how much the project stored over a time range.",
|
|
472
|
+
"method": "GET",
|
|
473
|
+
"path": "/v1/projects/:project_id/usage",
|
|
474
|
+
"alternate_paths": [],
|
|
475
|
+
"scopes": [
|
|
476
|
+
"projects:read"
|
|
477
|
+
],
|
|
478
|
+
"notes": [
|
|
479
|
+
"Readings are taken hourly and are the same measurements the project is billed on. Gigabytes are logical (uncompressed) bytes.",
|
|
480
|
+
"`interval=day` returns the last reading of each UTC day rather than an average, so a row is what the project held when the day closed. Its `sampled_at` is that reading's own hour.",
|
|
481
|
+
"Readings start when Tailglow began recording them, so a range reaching further back returns nothing for the hours before that.",
|
|
482
|
+
"`start_at` must be earlier than `end_at`, and the range cannot be longer than 400 days."
|
|
483
|
+
],
|
|
484
|
+
"path_params": [
|
|
485
|
+
{
|
|
486
|
+
"name": "project_id",
|
|
487
|
+
"type": "string",
|
|
488
|
+
"required": true,
|
|
489
|
+
"description": "Unique identifier of the project.",
|
|
490
|
+
"allowed_values": [],
|
|
491
|
+
"deprecated": null
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"query_params": [
|
|
495
|
+
{
|
|
496
|
+
"name": "start_at",
|
|
497
|
+
"type": "ISODateString",
|
|
498
|
+
"required": true,
|
|
499
|
+
"description": "Start of the range, inclusive (ISO format).",
|
|
500
|
+
"allowed_values": [],
|
|
501
|
+
"deprecated": null
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "end_at",
|
|
505
|
+
"type": "ISODateString",
|
|
506
|
+
"required": false,
|
|
507
|
+
"description": "End of the range, inclusive (ISO format, default: now). Optional.",
|
|
508
|
+
"allowed_values": [],
|
|
509
|
+
"deprecated": null
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "interval",
|
|
513
|
+
"type": "string",
|
|
514
|
+
"required": false,
|
|
515
|
+
"description": "Reading cadence returned: every hourly reading, or one reading per UTC day. Optional. Defaults to `\"hour\"`.",
|
|
516
|
+
"allowed_values": [
|
|
517
|
+
"hour",
|
|
518
|
+
"day"
|
|
519
|
+
],
|
|
520
|
+
"deprecated": null
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"body_fields": []
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"resource": "projects",
|
|
527
|
+
"command": "attention",
|
|
528
|
+
"operation_id": "getProjectAttention",
|
|
529
|
+
"summary": "Retrieve Project Attention",
|
|
530
|
+
"description": "Retrieve everything in the project that is asking for a human right now.",
|
|
531
|
+
"method": "GET",
|
|
532
|
+
"path": "/v1/projects/:project_id/attention",
|
|
533
|
+
"alternate_paths": [],
|
|
534
|
+
"scopes": [
|
|
535
|
+
"projects:read"
|
|
536
|
+
],
|
|
537
|
+
"notes": [
|
|
538
|
+
"An item appears only when Tailglow entered a state on its own. Anything a project chose, such as a paused pull, a paused drain, or a paused monitor, is never reported here.",
|
|
539
|
+
"`tier` orders the list. `losing_data` means requests are being refused right now, within the last 5 minutes: for a reason a retry cannot fix, or for capacity after at least 5 minutes of unbroken refusals. `firing` means a monitor or check the project set up is currently triggered, or a server has run under sustained heavy load. `stalled` means a pipeline stopped making progress and its data is going stale. `suspended` means Tailglow switched something off and it stays off until it is fixed. `resolved` means refusals that lost data have stopped; `ended_at` says when.",
|
|
540
|
+
"Items disappear the moment their condition clears, with one exception so a loss is not missed: refusals that stop stay as `resolved`, for up to 24 hours for a key or payload refusal and up to an hour for capacity. A refusal item's `count` covers that whole window, not only the current spell. Refusals only count as stopped once every running server that was refusing has reported since; until then the item stays `losing_data`. Readings from the project's servers are cached briefly, so a condition that just started can take up to a minute to appear.",
|
|
541
|
+
"Items cover only resources the caller's key or role can read: without a resource's read permission, its conditions are left out. Refusal and server load items need `servers:read`, and firing monitors need `alerts:read`.",
|
|
542
|
+
"Items are already ranked, most urgent first. One item covers each firing monitor, and each view's failing transforms, joins, or shape waits. The response is capped per condition so a project in a bad state returns a readable list rather than every affected resource."
|
|
543
|
+
],
|
|
544
|
+
"path_params": [
|
|
545
|
+
{
|
|
546
|
+
"name": "project_id",
|
|
547
|
+
"type": "string",
|
|
548
|
+
"required": true,
|
|
549
|
+
"description": "Unique identifier of the project.",
|
|
550
|
+
"allowed_values": [],
|
|
551
|
+
"deprecated": null
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"query_params": [],
|
|
555
|
+
"body_fields": []
|
|
556
|
+
},
|
|
466
557
|
{
|
|
467
558
|
"resource": "sources",
|
|
468
559
|
"command": "list",
|
|
@@ -3014,7 +3105,7 @@ export const CLI_COMMANDS = [
|
|
|
3014
3105
|
"name": "preview_token",
|
|
3015
3106
|
"type": "string",
|
|
3016
3107
|
"required": false,
|
|
3017
|
-
"description": "The `edit_report.preview_token` from this edit's dry run. Required to save: it pins the save to the set of schema versions the preview reported on, so a version
|
|
3108
|
+
"description": "The `edit_report.preview_token` from this edit's dry run. Required to save: it pins the save to the set of schema versions the preview reported on, so a version assigned or reassigned in between is rejected instead of silently included. Optional. Minimum length: `1`. Maximum length: `128`.",
|
|
3018
3109
|
"allowed_values": [],
|
|
3019
3110
|
"deprecated": null
|
|
3020
3111
|
}
|
|
@@ -4713,9 +4804,10 @@ export const CLI_COMMANDS = [
|
|
|
4713
4804
|
"notes": [
|
|
4714
4805
|
"The monitor starts evaluating on its schedule as soon as it is created.",
|
|
4715
4806
|
"`scope` decides how many alerts a monitor can raise at once: `any_series` fires once for the metric as a whole, `each_series` tracks every series separately.",
|
|
4807
|
+
"No-data (`absence`) conditions require `chart_value=count` and a finite `time_window_minutes`.",
|
|
4716
4808
|
"`sustained_minutes` is required when `condition_type` is `sustained`, and `threshold_value` is required when it is `threshold`.",
|
|
4717
4809
|
"`min_occurrences` and `occurrence_window_minutes` must both be set or both be null, and occurrence-based triggering cannot be combined with a sustained condition.",
|
|
4718
|
-
"`schedule_cron` must be a valid cron expression.",
|
|
4810
|
+
"`schedule_cron` must be a valid cron expression. It is evaluated in UTC, and the finest granularity is one minute.",
|
|
4719
4811
|
"A monitor cannot be created active with an `expires_at` already in the past."
|
|
4720
4812
|
],
|
|
4721
4813
|
"path_params": [
|
|
@@ -4800,9 +4892,223 @@ export const CLI_COMMANDS = [
|
|
|
4800
4892
|
},
|
|
4801
4893
|
{
|
|
4802
4894
|
"name": "time_window_minutes",
|
|
4895
|
+
"type": "integer | null",
|
|
4896
|
+
"required": false,
|
|
4897
|
+
"description": "Evaluation lookback in whole minutes (1 to 525600). Null means since the metric was created. No-data conditions require a finite window. Optional.",
|
|
4898
|
+
"allowed_values": [],
|
|
4899
|
+
"deprecated": null
|
|
4900
|
+
},
|
|
4901
|
+
{
|
|
4902
|
+
"name": "condition_type",
|
|
4903
|
+
"type": "MonitorConditionType",
|
|
4904
|
+
"required": false,
|
|
4905
|
+
"description": "threshold compares a value, sustained requires that comparison to hold, existence fires when the selected value is greater than zero, and absence fires when no observations exist in the complete evaluation window, regardless of chart gap handling. Optional. Defaults to `\"threshold\"`.",
|
|
4906
|
+
"allowed_values": [
|
|
4907
|
+
"threshold",
|
|
4908
|
+
"sustained",
|
|
4909
|
+
"existence",
|
|
4910
|
+
"absence"
|
|
4911
|
+
],
|
|
4912
|
+
"deprecated": null
|
|
4913
|
+
},
|
|
4914
|
+
{
|
|
4915
|
+
"name": "operator",
|
|
4916
|
+
"type": "MonitorOperator",
|
|
4917
|
+
"required": false,
|
|
4918
|
+
"description": "How the metric value is compared against the threshold. Optional. Defaults to `\"gt\"`.",
|
|
4919
|
+
"allowed_values": [
|
|
4920
|
+
"gt",
|
|
4921
|
+
"gte",
|
|
4922
|
+
"lt",
|
|
4923
|
+
"lte",
|
|
4924
|
+
"eq",
|
|
4925
|
+
"neq"
|
|
4926
|
+
],
|
|
4927
|
+
"deprecated": null
|
|
4928
|
+
},
|
|
4929
|
+
{
|
|
4930
|
+
"name": "threshold_value",
|
|
4803
4931
|
"type": "number | null",
|
|
4804
4932
|
"required": false,
|
|
4805
|
-
"description": "
|
|
4933
|
+
"description": "The value the metric is compared against. Optional.",
|
|
4934
|
+
"allowed_values": [],
|
|
4935
|
+
"deprecated": null
|
|
4936
|
+
},
|
|
4937
|
+
{
|
|
4938
|
+
"name": "sustained_minutes",
|
|
4939
|
+
"type": "number | null",
|
|
4940
|
+
"required": false,
|
|
4941
|
+
"description": "How long the condition must hold before the monitor fires. Optional.",
|
|
4942
|
+
"allowed_values": [],
|
|
4943
|
+
"deprecated": null
|
|
4944
|
+
},
|
|
4945
|
+
{
|
|
4946
|
+
"name": "schedule_cron",
|
|
4947
|
+
"type": "string",
|
|
4948
|
+
"required": false,
|
|
4949
|
+
"description": "Cron expression, in UTC, setting how often the monitor evaluates. Optional. Defaults to `\"* * * * *\"`. Minimum length: `1`. Maximum length: `128`.",
|
|
4950
|
+
"allowed_values": [],
|
|
4951
|
+
"deprecated": null
|
|
4952
|
+
},
|
|
4953
|
+
{
|
|
4954
|
+
"name": "alert_mode",
|
|
4955
|
+
"type": "MonitorAlertMode",
|
|
4956
|
+
"required": false,
|
|
4957
|
+
"description": "Whether an alert stays open until the condition clears, or opens and ends in one moment. Optional. Defaults to `\"spanning\"`.",
|
|
4958
|
+
"allowed_values": [
|
|
4959
|
+
"spanning",
|
|
4960
|
+
"instant"
|
|
4961
|
+
],
|
|
4962
|
+
"deprecated": null
|
|
4963
|
+
},
|
|
4964
|
+
{
|
|
4965
|
+
"name": "expires_at",
|
|
4966
|
+
"type": "ISODateString | null",
|
|
4967
|
+
"required": false,
|
|
4968
|
+
"description": "When the monitor stops evaluating. Leave null for no expiry. Optional.",
|
|
4969
|
+
"allowed_values": [],
|
|
4970
|
+
"deprecated": null
|
|
4971
|
+
},
|
|
4972
|
+
{
|
|
4973
|
+
"name": "series_filters",
|
|
4974
|
+
"type": "object | null",
|
|
4975
|
+
"required": false,
|
|
4976
|
+
"description": "Narrows which of the metric's series this monitor watches. Optional.",
|
|
4977
|
+
"allowed_values": [],
|
|
4978
|
+
"deprecated": null
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"name": "min_occurrences",
|
|
4982
|
+
"type": "integer | null",
|
|
4983
|
+
"required": false,
|
|
4984
|
+
"description": "How many times the condition must be met before the monitor fires. Optional.",
|
|
4985
|
+
"allowed_values": [],
|
|
4986
|
+
"deprecated": null
|
|
4987
|
+
},
|
|
4988
|
+
{
|
|
4989
|
+
"name": "occurrence_window_minutes",
|
|
4990
|
+
"type": "integer | null",
|
|
4991
|
+
"required": false,
|
|
4992
|
+
"description": "The window those occurrences have to fall within. Optional.",
|
|
4993
|
+
"allowed_values": [],
|
|
4994
|
+
"deprecated": null
|
|
4995
|
+
},
|
|
4996
|
+
{
|
|
4997
|
+
"name": "metric_id",
|
|
4998
|
+
"type": "string",
|
|
4999
|
+
"required": false,
|
|
5000
|
+
"description": "Metric to watch. Optional when using the /metrics/:metric/monitors route. Optional.",
|
|
5001
|
+
"allowed_values": [],
|
|
5002
|
+
"deprecated": null
|
|
5003
|
+
}
|
|
5004
|
+
]
|
|
5005
|
+
},
|
|
5006
|
+
{
|
|
5007
|
+
"resource": "monitors",
|
|
5008
|
+
"command": "preview",
|
|
5009
|
+
"operation_id": "previewMonitor",
|
|
5010
|
+
"summary": "Preview Monitor",
|
|
5011
|
+
"description": "Preview a monitor condition over its current evaluation window without saving or raising alerts.",
|
|
5012
|
+
"method": "POST",
|
|
5013
|
+
"path": "/v1/projects/:project_id/metrics/:metric_id/monitors/preview",
|
|
5014
|
+
"alternate_paths": [],
|
|
5015
|
+
"scopes": [
|
|
5016
|
+
"monitors:read"
|
|
5017
|
+
],
|
|
5018
|
+
"notes": [
|
|
5019
|
+
"Uses the same series filtering and condition evaluation as scheduled monitors. This is a condition preview, not a simulation of cron timing, sustained duration, or occurrence counting.",
|
|
5020
|
+
"An incomplete window returns ready=false with no verdicts. No-data conditions count observations across the whole window, including when the chart displays missing buckets as gaps.",
|
|
5021
|
+
"No-data (`absence`) conditions require `chart_value=count` and a finite `time_window_minutes`.",
|
|
5022
|
+
"`sustained_minutes` is required when `condition_type` is `sustained`, and `threshold_value` is required when it is `threshold`.",
|
|
5023
|
+
"`min_occurrences` and `occurrence_window_minutes` must both be set or both be null, and occurrence-based triggering cannot be combined with a sustained condition.",
|
|
5024
|
+
"`schedule_cron` must be a valid cron expression. It is evaluated in UTC, and the finest granularity is one minute.",
|
|
5025
|
+
"A monitor cannot be created active with an `expires_at` already in the past."
|
|
5026
|
+
],
|
|
5027
|
+
"path_params": [
|
|
5028
|
+
{
|
|
5029
|
+
"name": "project_id",
|
|
5030
|
+
"type": "string",
|
|
5031
|
+
"required": true,
|
|
5032
|
+
"description": "Unique identifier of the project.",
|
|
5033
|
+
"allowed_values": [],
|
|
5034
|
+
"deprecated": null
|
|
5035
|
+
},
|
|
5036
|
+
{
|
|
5037
|
+
"name": "metric_id",
|
|
5038
|
+
"type": "string",
|
|
5039
|
+
"required": true,
|
|
5040
|
+
"description": "Unique identifier of the metric.",
|
|
5041
|
+
"allowed_values": [],
|
|
5042
|
+
"deprecated": null
|
|
5043
|
+
}
|
|
5044
|
+
],
|
|
5045
|
+
"query_params": [],
|
|
5046
|
+
"body_fields": [
|
|
5047
|
+
{
|
|
5048
|
+
"name": "name",
|
|
5049
|
+
"type": "string",
|
|
5050
|
+
"required": false,
|
|
5051
|
+
"description": "Name shown for this monitor. Optional. Minimum length: `2`. Maximum length: `64`.",
|
|
5052
|
+
"allowed_values": [],
|
|
5053
|
+
"deprecated": null
|
|
5054
|
+
},
|
|
5055
|
+
{
|
|
5056
|
+
"name": "description",
|
|
5057
|
+
"type": "string | null",
|
|
5058
|
+
"required": false,
|
|
5059
|
+
"description": "What this monitor watches for. Optional.",
|
|
5060
|
+
"allowed_values": [],
|
|
5061
|
+
"deprecated": null
|
|
5062
|
+
},
|
|
5063
|
+
{
|
|
5064
|
+
"name": "status",
|
|
5065
|
+
"type": "string",
|
|
5066
|
+
"required": false,
|
|
5067
|
+
"description": "Whether the monitor starts evaluating immediately or switched off. `disabled` is not accepted: the system uses it to record that it stopped the monitor itself. Optional. Defaults to `\"active\"`.",
|
|
5068
|
+
"allowed_values": [
|
|
5069
|
+
"active",
|
|
5070
|
+
"paused"
|
|
5071
|
+
],
|
|
5072
|
+
"deprecated": null
|
|
5073
|
+
},
|
|
5074
|
+
{
|
|
5075
|
+
"name": "chart_value",
|
|
5076
|
+
"type": "MetricChartValue",
|
|
5077
|
+
"required": false,
|
|
5078
|
+
"description": "Which value of the metric is compared against the threshold. Optional. Defaults to `\"sum\"`.",
|
|
5079
|
+
"allowed_values": [
|
|
5080
|
+
"count",
|
|
5081
|
+
"average",
|
|
5082
|
+
"min",
|
|
5083
|
+
"max",
|
|
5084
|
+
"sum",
|
|
5085
|
+
"last",
|
|
5086
|
+
"cumulative_count",
|
|
5087
|
+
"cumulative_sum",
|
|
5088
|
+
"p50",
|
|
5089
|
+
"p95",
|
|
5090
|
+
"p99",
|
|
5091
|
+
"count_unique"
|
|
5092
|
+
],
|
|
5093
|
+
"deprecated": null
|
|
5094
|
+
},
|
|
5095
|
+
{
|
|
5096
|
+
"name": "scope",
|
|
5097
|
+
"type": "MonitorScope",
|
|
5098
|
+
"required": false,
|
|
5099
|
+
"description": "Whether the monitor fires once for the metric as a whole, or tracks each series separately. Optional. Defaults to `\"total\"`.",
|
|
5100
|
+
"allowed_values": [
|
|
5101
|
+
"total",
|
|
5102
|
+
"any_series",
|
|
5103
|
+
"each_series"
|
|
5104
|
+
],
|
|
5105
|
+
"deprecated": null
|
|
5106
|
+
},
|
|
5107
|
+
{
|
|
5108
|
+
"name": "time_window_minutes",
|
|
5109
|
+
"type": "integer | null",
|
|
5110
|
+
"required": false,
|
|
5111
|
+
"description": "Evaluation lookback in whole minutes (1 to 525600). Null means since the metric was created. No-data conditions require a finite window. Optional.",
|
|
4806
5112
|
"allowed_values": [],
|
|
4807
5113
|
"deprecated": null
|
|
4808
5114
|
},
|
|
@@ -4810,11 +5116,12 @@ export const CLI_COMMANDS = [
|
|
|
4810
5116
|
"name": "condition_type",
|
|
4811
5117
|
"type": "MonitorConditionType",
|
|
4812
5118
|
"required": false,
|
|
4813
|
-
"description": "
|
|
5119
|
+
"description": "threshold compares a value, sustained requires that comparison to hold, existence fires when the selected value is greater than zero, and absence fires when no observations exist in the complete evaluation window, regardless of chart gap handling. Optional. Defaults to `\"threshold\"`.",
|
|
4814
5120
|
"allowed_values": [
|
|
4815
5121
|
"threshold",
|
|
4816
5122
|
"sustained",
|
|
4817
|
-
"existence"
|
|
5123
|
+
"existence",
|
|
5124
|
+
"absence"
|
|
4818
5125
|
],
|
|
4819
5126
|
"deprecated": null
|
|
4820
5127
|
},
|
|
@@ -4927,9 +5234,10 @@ export const CLI_COMMANDS = [
|
|
|
4927
5234
|
"Changing what the monitor MEANS (its condition, scope, series filters or alert mode) ends any period currently firing, because the old alert no longer describes the new rule.",
|
|
4928
5235
|
"`metric_id` cannot be changed. Create a new monitor against the other metric instead.",
|
|
4929
5236
|
"The metric a monitor watches cannot be changed. Create a second monitor instead.",
|
|
5237
|
+
"No-data (`absence`) conditions require `chart_value=count` and a finite `time_window_minutes`.",
|
|
4930
5238
|
"`sustained_minutes` is required when `condition_type` is `sustained`, and `threshold_value` is required when it is `threshold`.",
|
|
4931
5239
|
"`min_occurrences` and `occurrence_window_minutes` must both be set or both be null, and occurrence-based triggering cannot be combined with a sustained condition.",
|
|
4932
|
-
"`schedule_cron` must be a valid cron expression.",
|
|
5240
|
+
"`schedule_cron` must be a valid cron expression. It is evaluated in UTC, and the finest granularity is one minute.",
|
|
4933
5241
|
"`status` is not editable here. Use the pause and resume operations, which is also what keeps a customer from writing the `disabled` the system uses for expiry.",
|
|
4934
5242
|
"Moving `expires_at` is rejected when that would leave an active monitor with an expiry already in the past. Editing a monitor that has already expired is allowed, including the update that extends its expiry.",
|
|
4935
5243
|
"Conditions are checked against the monitor as it will be stored, not against the fields you send, so a change that would leave the monitor in an invalid combination is rejected even when the conflicting value is one you did not send."
|
|
@@ -5013,9 +5321,9 @@ export const CLI_COMMANDS = [
|
|
|
5013
5321
|
},
|
|
5014
5322
|
{
|
|
5015
5323
|
"name": "time_window_minutes",
|
|
5016
|
-
"type": "
|
|
5324
|
+
"type": "integer | null",
|
|
5017
5325
|
"required": false,
|
|
5018
|
-
"description": "
|
|
5326
|
+
"description": "Evaluation lookback in whole minutes (1 to 525600). Null means since the metric was created. No-data conditions require a finite window. Optional.",
|
|
5019
5327
|
"allowed_values": [],
|
|
5020
5328
|
"deprecated": null
|
|
5021
5329
|
},
|
|
@@ -5023,11 +5331,12 @@ export const CLI_COMMANDS = [
|
|
|
5023
5331
|
"name": "condition_type",
|
|
5024
5332
|
"type": "MonitorConditionType",
|
|
5025
5333
|
"required": false,
|
|
5026
|
-
"description": "
|
|
5334
|
+
"description": "threshold compares a value, sustained requires that comparison to hold, existence fires when the selected value is greater than zero, and absence fires when no observations exist in the complete evaluation window, regardless of chart gap handling. Optional.",
|
|
5027
5335
|
"allowed_values": [
|
|
5028
5336
|
"threshold",
|
|
5029
5337
|
"sustained",
|
|
5030
|
-
"existence"
|
|
5338
|
+
"existence",
|
|
5339
|
+
"absence"
|
|
5031
5340
|
],
|
|
5032
5341
|
"deprecated": null
|
|
5033
5342
|
},
|
|
@@ -6531,6 +6840,7 @@ export const CLI_COMMANDS = [
|
|
|
6531
6840
|
"At least one field must be provided.",
|
|
6532
6841
|
"Only team Owners can change billing, security, or account settings. Other members can update `name` and `logo_url` only.",
|
|
6533
6842
|
"`status`, `max_servers_per_project`, and `deleted_at` are managed by Tailglow and cannot be set by team members.",
|
|
6843
|
+
"`status` requires `expected_status`, the status you loaded; the change is refused with a conflict if the team's status has changed since.",
|
|
6534
6844
|
"Changing `is_mfa_required` requires a recently verified multi-factor sign-in.",
|
|
6535
6845
|
"Moving to a plan that bills a payment method requires a valid payment method on the team.",
|
|
6536
6846
|
"`billing_email` cannot use the `@tailglow.io` domain.",
|
|
@@ -6588,6 +6898,19 @@ export const CLI_COMMANDS = [
|
|
|
6588
6898
|
],
|
|
6589
6899
|
"deprecated": null
|
|
6590
6900
|
},
|
|
6901
|
+
{
|
|
6902
|
+
"name": "expected_status",
|
|
6903
|
+
"type": "TeamStatus",
|
|
6904
|
+
"required": false,
|
|
6905
|
+
"description": "The status the team had when you loaded it. Required with `status`; the change is refused if the status has changed since. Optional.",
|
|
6906
|
+
"allowed_values": [
|
|
6907
|
+
"active",
|
|
6908
|
+
"restricted",
|
|
6909
|
+
"delinquent",
|
|
6910
|
+
"blocked"
|
|
6911
|
+
],
|
|
6912
|
+
"deprecated": null
|
|
6913
|
+
},
|
|
6591
6914
|
{
|
|
6592
6915
|
"name": "is_mfa_required",
|
|
6593
6916
|
"type": "boolean",
|
|
@@ -10156,7 +10479,8 @@ export const CLI_COMMANDS = [
|
|
|
10156
10479
|
"alternate_paths": [],
|
|
10157
10480
|
"scopes": [],
|
|
10158
10481
|
"notes": [
|
|
10159
|
-
"You can retrieve your own authentication logs without `logs:read`.
|
|
10482
|
+
"You can retrieve your own authentication logs without `logs:read`. Billing logs require `billing:read`; all other log reads require `logs:read`.",
|
|
10483
|
+
"Without `type`, the list includes every type you can read. `admin_auth` logs exist only on Tailglow's own admin team.",
|
|
10160
10484
|
"`after` and `before` are mutually exclusive."
|
|
10161
10485
|
],
|
|
10162
10486
|
"path_params": [],
|
|
@@ -10211,7 +10535,8 @@ export const CLI_COMMANDS = [
|
|
|
10211
10535
|
"allowed_values": [
|
|
10212
10536
|
"auth",
|
|
10213
10537
|
"admin_auth",
|
|
10214
|
-
"audit"
|
|
10538
|
+
"audit",
|
|
10539
|
+
"billing"
|
|
10215
10540
|
],
|
|
10216
10541
|
"deprecated": null
|
|
10217
10542
|
},
|