aspera-cli 4.29.1 → 4.30.0
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +4 -4
- data/CHANGELOG.md +119 -0
- data/CONTRIBUTING.md +8 -1
- data/README.md +2 -0
- data/TODO.md +4 -5
- data/bin/asession +2 -2
- data/docs/README.md +616 -86
- data/docs/test-mcp-with-ai.md +4 -0
- data/lib/aspera/agent/base.rb +62 -6
- data/lib/aspera/agent/factory.rb +127 -20
- data/lib/aspera/ascp/data_repository.rb +71 -0
- data/lib/aspera/ascp/installation.rb +16 -11
- data/lib/aspera/ascp/log_analyzer/lines.rb +4 -4
- data/lib/aspera/ascp/log_analyzer/log_file.rb +5 -3
- data/lib/aspera/ascp/log_analyzer/records.rb +11 -6
- data/lib/aspera/ascp/log_analyzer.rb +43 -18
- data/lib/aspera/ascp/log_locations.rb +2 -2
- data/lib/aspera/assert.rb +8 -0
- data/lib/aspera/bundle_registry.rb +528 -0
- data/lib/aspera/cli/argument.rb +110 -0
- data/lib/aspera/cli/bool_value.rb +41 -0
- data/lib/aspera/cli/bootstrapper.rb +31 -24
- data/lib/aspera/cli/command/mount.rb +53 -0
- data/lib/aspera/cli/command/registry.rb +434 -0
- data/lib/aspera/cli/command.rb +95 -0
- data/lib/aspera/cli/command_line.rb +91 -91
- data/lib/aspera/cli/complete.rb +22 -0
- data/lib/aspera/cli/completion_actions.rb +28 -26
- data/lib/aspera/cli/context.rb +29 -6
- data/lib/aspera/cli/error.rb +39 -0
- data/lib/aspera/cli/extended_value.rb +25 -4
- data/lib/aspera/cli/formatter.rb +8 -8
- data/lib/aspera/cli/hints.rb +17 -52
- data/lib/aspera/cli/http.rb +17 -12
- data/lib/aspera/cli/mailer.rb +7 -24
- data/lib/aspera/cli/mcp/tool.rb +10 -2
- data/lib/aspera/cli/option/declarator.rb +80 -0
- data/lib/aspera/cli/option/registry.rb +74 -0
- data/lib/aspera/cli/option/source.rb +38 -0
- data/lib/aspera/cli/option/type.rb +37 -0
- data/lib/aspera/cli/option/value.rb +376 -0
- data/lib/aspera/cli/option.rb +78 -0
- data/lib/aspera/cli/options.schema.yaml +28 -783
- data/lib/aspera/cli/parser.rb +73 -41
- data/lib/aspera/cli/plugins/base.rb +122 -42
- data/lib/aspera/cli/plugins/basic_auth.rb +13 -2
- data/lib/aspera/cli/plugins/config.rb +101 -167
- data/lib/aspera/cli/plugins/factory.rb +139 -43
- data/lib/aspera/cli/plugins/mcp.rb +61 -54
- data/lib/aspera/cli/plugins/oauth.rb +19 -6
- data/lib/aspera/cli/poll.rb +14 -20
- data/lib/aspera/cli/preset_actions.rb +11 -3
- data/lib/aspera/cli/preset_manager.rb +16 -6
- data/lib/aspera/cli/result.rb +2 -2
- data/lib/aspera/cli/runner.rb +71 -99
- data/lib/aspera/cli/secret_finder.rb +1 -1
- data/lib/aspera/cli/security.rb +102 -4
- data/lib/aspera/{preview/terminal.rb → cli/terminal_image.rb} +93 -94
- data/lib/aspera/cli/vault_manager.rb +3 -3
- data/lib/aspera/cli/version.rb +1 -1
- data/lib/aspera/cli/wizard.rb +9 -3
- data/lib/aspera/coverage.rb +1 -2
- data/lib/aspera/line_logger.rb +35 -6
- data/lib/aspera/log.rb +3 -2
- data/lib/aspera/oauth/client/base.rb +19 -1
- data/lib/aspera/oauth/client/factory.rb +1 -7
- data/lib/aspera/plugin.schema.yaml +178 -0
- data/lib/aspera/plugins/alee/api.rb +25 -0
- data/lib/aspera/{cli/plugins/alee.rb → plugins/alee/commands.rb} +10 -8
- data/lib/aspera/plugins/alee/plugin.yaml +3 -0
- data/lib/aspera/plugins/aoc/admin_resources.rb +148 -0
- data/lib/aspera/plugins/aoc/api.rb +783 -0
- data/lib/aspera/{cli/plugins/aoc.rb → plugins/aoc/commands.rb} +404 -330
- data/lib/aspera/plugins/aoc/graphql.rb +45 -0
- data/lib/aspera/plugins/aoc/plugin.yaml +31 -0
- data/lib/aspera/{schema → plugins/aoc/schemas}/IBM Aspera on Cloud API-0.2.6-enhanced.yaml +15042 -7076
- data/lib/aspera/plugins/aoc/schemas/options.yaml +47 -0
- data/lib/aspera/plugins/ats/api.rb +51 -0
- data/lib/aspera/{cli/plugins/ats.rb → plugins/ats/commands.rb} +33 -33
- data/lib/aspera/plugins/ats/plugin.yaml +6 -0
- data/lib/aspera/plugins/connect/agent.rb +199 -0
- data/lib/aspera/plugins/connect/plugin.yaml +11 -0
- data/lib/aspera/plugins/connect/schemas/agent_options.yaml +6 -0
- data/lib/aspera/{cli/plugins/console.rb → plugins/console/commands.rb} +41 -33
- data/lib/aspera/plugins/console/plugin.yaml +8 -0
- data/lib/aspera/plugins/cos/api.rb +114 -0
- data/lib/aspera/{cli/plugins/cos.rb → plugins/cos/commands.rb} +19 -16
- data/lib/aspera/plugins/cos/plugin.yaml +9 -0
- data/lib/aspera/plugins/cos/schemas/options.yaml +30 -0
- data/lib/aspera/plugins/desktop/agent.rb +165 -0
- data/lib/aspera/plugins/desktop/plugin.yaml +11 -0
- data/lib/aspera/plugins/desktop/schemas/agent_options.yaml +6 -0
- data/lib/aspera/plugins/direct/agent.rb +518 -0
- data/lib/aspera/plugins/direct/plugin.yaml +11 -0
- data/lib/aspera/plugins/direct/schemas/agent_options.yaml +86 -0
- data/lib/aspera/plugins/faspex4/gateway_options.rb +18 -0
- data/lib/aspera/plugins/faspex4/gw_servlet.rb +122 -0
- data/lib/aspera/plugins/faspex4/plugin.yaml +7 -0
- data/lib/aspera/plugins/faspex4/schemas/options.yaml +57 -0
- data/lib/aspera/plugins/faspex5/api.rb +269 -0
- data/lib/aspera/{cli/plugins/faspex5.rb → plugins/faspex5/commands.rb} +152 -114
- data/lib/aspera/plugins/faspex5/faspex4_post_proc_servlet.rb +241 -0
- data/lib/aspera/plugins/faspex5/plugin.yaml +14 -0
- data/lib/aspera/{schema → plugins/faspex5/schemas}/IBM Aspera Faspex API-5.0-enhanced.yaml +279 -76
- data/lib/aspera/plugins/faspex5/schemas/options.yaml +87 -0
- data/lib/aspera/{cli/plugins/faspio.rb → plugins/faspio/commands.rb} +11 -7
- data/lib/aspera/plugins/faspio/plugin.yaml +8 -0
- data/lib/aspera/{schema → plugins/faspio/schemas}/IBM Aspera faspio Gateway API-1.0.0-enhanced.yaml +4 -2
- data/lib/aspera/plugins/httpgw/agent.rb +126 -0
- data/lib/aspera/plugins/httpgw/api.rb +411 -0
- data/lib/aspera/{cli/plugins/httpgw.rb → plugins/httpgw/commands.rb} +9 -9
- data/lib/aspera/plugins/httpgw/plugin.yaml +12 -0
- data/lib/aspera/plugins/httpgw/schemas/agent_options.yaml +24 -0
- data/lib/aspera/plugins/node/agent.rb +184 -0
- data/lib/aspera/plugins/node/api.rb +699 -0
- data/lib/aspera/{cli/plugins/node.rb → plugins/node/commands.rb} +166 -141
- data/lib/aspera/plugins/node/emulator.rb +774 -0
- data/lib/aspera/plugins/node/plugin.yaml +20 -0
- data/lib/aspera/plugins/node/schemas/agent_options.yaml +20 -0
- data/lib/aspera/plugins/node/schemas/options.yaml +190 -0
- data/lib/aspera/{cli/plugins/orchestrator.rb → plugins/orchestrator/commands.rb} +139 -110
- data/lib/aspera/plugins/orchestrator/plugin.yaml +34 -0
- data/lib/aspera/{schema → plugins/orchestrator/schemas}/IBM Aspera Orchestrator API-v1-enhanced.yaml +486 -16
- data/lib/aspera/plugins/orchestrator/schemas/options.yaml +143 -0
- data/lib/aspera/plugins/orchestrator/workflow_checker.rb +692 -0
- data/lib/aspera/{cli/plugins/preview.rb → plugins/preview/commands.rb} +53 -51
- data/lib/aspera/plugins/preview/file_types.rb +121 -0
- data/lib/aspera/plugins/preview/generator.rb +350 -0
- data/lib/aspera/plugins/preview/plugin.yaml +12 -0
- data/lib/aspera/{preview/options.schema.yaml → plugins/preview/schemas/options.yaml} +1 -1
- data/lib/aspera/plugins/preview/utils.rb +213 -0
- data/lib/aspera/plugins/server/ascmd.rb +374 -0
- data/lib/aspera/{cli/plugins/server.rb → plugins/server/commands.rb} +48 -32
- data/lib/aspera/plugins/server/plugin.yaml +9 -0
- data/lib/aspera/plugins/server/schemas/options.yaml +30 -0
- data/lib/aspera/{cli/plugins/shares.rb → plugins/shares/commands.rb} +29 -21
- data/lib/aspera/plugins/shares/plugin.yaml +10 -0
- data/lib/aspera/plugins/shares/shares_web.rb +97 -0
- data/lib/aspera/plugins/transferd/agent.rb +258 -0
- data/lib/aspera/plugins/transferd/api.rb +180 -0
- data/lib/aspera/plugins/transferd/client.rb +67 -0
- data/lib/aspera/{cli/plugins/transferd.rb → plugins/transferd/commands.rb} +43 -42
- data/lib/aspera/plugins/transferd/config_commands.rb +38 -0
- data/lib/aspera/plugins/transferd/plugin.yaml +27 -0
- data/lib/aspera/plugins/transferd/product.rb +146 -0
- data/lib/aspera/plugins/transferd/schemas/agent_options.yaml +31 -0
- data/lib/aspera/plugins/transferd/schemas/options.yaml +80 -0
- data/lib/aspera/plugins/transferd/service.rb +617 -0
- data/lib/aspera/plugins/xfer/ascp_actions.rb +131 -0
- data/lib/aspera/plugins/xfer/ascp_logs_actions.rb +198 -0
- data/lib/aspera/plugins/xfer/async_transfer_store.rb +131 -0
- data/lib/aspera/plugins/xfer/config_commands.rb +119 -0
- data/lib/aspera/plugins/xfer/helper.rb +19 -0
- data/lib/aspera/plugins/xfer/plugin.yaml +42 -0
- data/lib/aspera/plugins/xfer/schemas/agent_extension.schema.yaml +26 -0
- data/lib/aspera/plugins/xfer/schemas/options.yaml +125 -0
- data/lib/aspera/plugins/xfer/sync_actions.rb +253 -0
- data/lib/aspera/plugins/xfer/transfer_actions.rb +176 -0
- data/lib/aspera/plugins/xfer/transfer_agent.rb +505 -0
- data/lib/aspera/products/cli_v3.rb +34 -0
- data/lib/aspera/products/connect.rb +1 -1
- data/lib/aspera/products/drive.rb +29 -0
- data/lib/aspera/products/hsts.rb +34 -0
- data/lib/aspera/products/transferd.rb +25 -3
- data/lib/aspera/products.rb +54 -0
- data/lib/aspera/prompt.rb +184 -0
- data/lib/aspera/proxy_auto_config.rb +3 -3
- data/lib/aspera/rest/aspera_errors.rb +4 -38
- data/lib/aspera/rest/error_analyzer.rb +6 -2
- data/lib/aspera/rest/list.rb +4 -5
- data/lib/aspera/schema/reader.rb +15 -0
- data/lib/aspera/schema/registry.rb +239 -45
- data/lib/aspera/schema/validator.rb +63 -17
- data/lib/aspera/sealed_hash.rb +4 -0
- data/lib/aspera/secret/hider.rb +159 -24
- data/lib/aspera/secret/reference.rb +8 -0
- data/lib/aspera/secret/resolver.rb +8 -4
- data/lib/aspera/secret/store/base.rb +10 -9
- data/lib/aspera/secret/store/encrypted_hash.rb +6 -6
- data/lib/aspera/secret/store/hashicorp_vault.rb +3 -3
- data/lib/aspera/secret/store/keeper.rb +2 -2
- data/lib/aspera/secret/store/macos_security.rb +2 -3
- data/lib/aspera/secret/store/one_password_api.rb +2 -2
- data/lib/aspera/secret/store/one_password_cli.rb +3 -3
- data/lib/aspera/secret/store/secret_service.rb +2 -2
- data/lib/aspera/ssl.rb +3 -3
- data/lib/aspera/standard_input.rb +20 -0
- data/lib/aspera/{schema → sync}/async_tables.yaml +1 -1
- data/lib/aspera/sync/database.rb +7 -0
- data/lib/aspera/sync/log_parser.rb +138 -0
- data/lib/aspera/sync/operations.rb +59 -34
- data/lib/aspera/transfer/command_line_builder.rb +248 -0
- data/lib/aspera/transfer/command_line_converter.rb +37 -0
- data/lib/aspera/transfer/faux_file.rb +2 -2
- data/lib/aspera/transfer/parameters.rb +9 -10
- data/lib/aspera/transfer/spec.rb +28 -1
- data/lib/aspera/transfer/spec.schema.yaml +30 -5
- data/lib/aspera/units/decimal.rb +1 -1
- data/lib/aspera/units/timestamp.rb +84 -0
- data/lib/aspera/uri_reader.rb +2 -2
- data/lib/aspera/web_auth/paste.rb +2 -2
- data/lib/aspera/web_server_simple.rb +10 -4
- data.tar.gz.sig +0 -0
- metadata +137 -80
- metadata.gz.sig +0 -0
- data/lib/aspera/agent/connect.rb +0 -188
- data/lib/aspera/agent/desktop.rb +0 -154
- data/lib/aspera/agent/direct.rb +0 -496
- data/lib/aspera/agent/httpgw.rb +0 -100
- data/lib/aspera/agent/node.rb +0 -166
- data/lib/aspera/agent/transferd.rb +0 -341
- data/lib/aspera/api/alee.rb +0 -19
- data/lib/aspera/api/aoc.rb +0 -776
- data/lib/aspera/api/ats.rb +0 -49
- data/lib/aspera/api/cos_node.rb +0 -107
- data/lib/aspera/api/faspex.rb +0 -258
- data/lib/aspera/api/httpgw.rb +0 -409
- data/lib/aspera/api/node.rb +0 -684
- data/lib/aspera/ascmd.rb +0 -248
- data/lib/aspera/cli/ascp_actions.rb +0 -113
- data/lib/aspera/cli/ascp_logs_actions.rb +0 -188
- data/lib/aspera/cli/async_transfer_store.rb +0 -129
- data/lib/aspera/cli/command_registry.rb +0 -371
- data/lib/aspera/cli/command_spec.rb +0 -273
- data/lib/aspera/cli/option_declarator.rb +0 -74
- data/lib/aspera/cli/option_registry.rb +0 -72
- data/lib/aspera/cli/option_types.rb +0 -120
- data/lib/aspera/cli/option_value.rb +0 -345
- data/lib/aspera/cli/prompt.rb +0 -186
- data/lib/aspera/cli/sync_actions.rb +0 -181
- data/lib/aspera/cli/transfer_actions.rb +0 -98
- data/lib/aspera/cli/transfer_agent.rb +0 -348
- data/lib/aspera/command_line_builder.rb +0 -244
- data/lib/aspera/command_line_converter.rb +0 -35
- data/lib/aspera/data_repository.rb +0 -69
- data/lib/aspera/faspex_gw.rb +0 -172
- data/lib/aspera/faspex_postproc.rb +0 -237
- data/lib/aspera/graphql.rb +0 -41
- data/lib/aspera/node_emulator.rb +0 -758
- data/lib/aspera/oauth/client/shares_web.rb +0 -94
- data/lib/aspera/orchestrator_workflow_checker.rb +0 -688
- data/lib/aspera/preview/file_types.rb +0 -119
- data/lib/aspera/preview/generator.rb +0 -345
- data/lib/aspera/preview/utils.rb +0 -211
- data/lib/aspera/products/other.rb +0 -92
- data/lib/aspera/products/transferd_service.rb +0 -610
- /data/lib/aspera/{data → ascp/data}/1 +0 -0
- /data/lib/aspera/{data → ascp/data}/2 +0 -0
- /data/lib/aspera/{data → ascp/data}/3 +0 -0
- /data/lib/aspera/{data → ascp/data}/4 +0 -0
- /data/lib/aspera/{data → ascp/data}/5 +0 -0
- /data/lib/aspera/{data → ascp/data}/6 +0 -0
- /data/lib/aspera/{api → plugins/aoc}/queries/bss_subscription_account.graphql +0 -0
- /data/lib/aspera/{api → plugins/aoc}/queries/bss_subscription_usage.graphql +0 -0
- /data/lib/aspera/{schema → plugins/aoc/schemas}/IBM Aspera on Cloud Automation API-1.0.5-enhanced.yaml +0 -0
- /data/lib/aspera/{schema → plugins/console/schemas}/IBM Aspera Console-enhanced.yaml +0 -0
- /data/lib/aspera/{schema → plugins/node/schemas}/IBM Aspera Node API-4.4.6.yaml +0 -0
- /data/lib/aspera/{preview → plugins/preview}/image_error.png +0 -0
- /data/lib/aspera/{preview → plugins/preview}/video_error.png +0 -0
- /data/lib/aspera/{schema → plugins/shares/schemas}/IBM_Aspera_Shares.yaml +0 -0
- /data/lib/{transferd_pb.rb → aspera/plugins/transferd/grpc/transferd_pb.rb} +0 -0
- /data/lib/{transferd_services_pb.rb → aspera/plugins/transferd/grpc/transferd_services_pb.rb} +0 -0
- /data/lib/aspera/{schema → plugins/transferd/schemas}/transferd-config.schema.json +0 -0
|
@@ -11,6 +11,7 @@ components:
|
|
|
11
11
|
schemas:
|
|
12
12
|
LogOptions:
|
|
13
13
|
type: object
|
|
14
|
+
additionalProperties: false
|
|
14
15
|
description: Logging options.
|
|
15
16
|
properties:
|
|
16
17
|
level:
|
|
@@ -103,7 +104,7 @@ components:
|
|
|
103
104
|
|
|
104
105
|
- `medium`: `@file:` reads only files in `allowed_paths`, `@ruby:`, `@uri:`, `@env:` and `@zlib:` are refused, files are written only in `writable_paths`.
|
|
105
106
|
|
|
106
|
-
- `high`: `@ruby:`, `@file:`, `@uri:`, `@env:` and `@zlib:` are refused, files are written only in `writable_paths`.
|
|
107
|
+
- `high`: `@ruby:`, `@file:`, `@uri:`, `@env:` and `@zlib:` are refused, a transfer agent that runs on the local host (e.g. `direct`, the default) is refused, files are written only in `writable_paths`.
|
|
107
108
|
|
|
108
109
|
Features that execute code, load plugins, or write a file chosen by the client (e.g. `--out.file`) are available only at level `low`.
|
|
109
110
|
enum:
|
|
@@ -134,6 +135,8 @@ components:
|
|
|
134
135
|
folder:
|
|
135
136
|
type: string
|
|
136
137
|
x-cli-complete: folder
|
|
138
|
+
# The client chooses where temporary files are written: refused at levels medium and high (as option `temp_folder`)
|
|
139
|
+
x-security: low
|
|
137
140
|
description: >-
|
|
138
141
|
Folder for temporary files, e.g. certificate for WSS transfers, logs of `transferd`.
|
|
139
142
|
|
|
@@ -167,6 +170,7 @@ components:
|
|
|
167
170
|
default: 5d
|
|
168
171
|
McpServerOptions:
|
|
169
172
|
type: object
|
|
173
|
+
additionalProperties: false
|
|
170
174
|
description: MCP server configuration for the `mcp server` command.
|
|
171
175
|
properties:
|
|
172
176
|
transport:
|
|
@@ -274,197 +278,9 @@ components:
|
|
|
274
278
|
type: boolean
|
|
275
279
|
description: Validate MCP tool call arguments.
|
|
276
280
|
default: true
|
|
277
|
-
DirectAgentOptions:
|
|
278
|
-
type: object
|
|
279
|
-
description: Parameters for the `ascp` transfer agent.
|
|
280
|
-
properties:
|
|
281
|
-
wss:
|
|
282
|
-
type: boolean
|
|
283
|
-
description: Enable Web Socket Session when available.
|
|
284
|
-
default: true
|
|
285
|
-
quiet:
|
|
286
|
-
type: boolean
|
|
287
|
-
description: >-
|
|
288
|
-
Suppress the `ascp` progress bar display.
|
|
289
|
-
|
|
290
|
-
If `false`, the progress bar of option `progress_bar` is not displayed, unless that option is set.
|
|
291
|
-
default: true
|
|
292
|
-
file_list:
|
|
293
|
-
type: boolean
|
|
294
|
-
description: >-
|
|
295
|
-
If `true`, source paths are written to a temp file passed to `ascp` via `--file-list` or `--file-pair-list`.
|
|
296
|
-
|
|
297
|
-
If `false`, source paths are placed directly on the `ascp` command line.
|
|
298
|
-
default: true
|
|
299
|
-
trusted_certs:
|
|
300
|
-
type: array
|
|
301
|
-
description: List of trusted certificate repositories.
|
|
302
|
-
items:
|
|
303
|
-
type: string
|
|
304
|
-
client_ssh_key:
|
|
305
|
-
type: string
|
|
306
|
-
description: SSH key type to use for token-based transfers.
|
|
307
|
-
enum:
|
|
308
|
-
- rsa
|
|
309
|
-
- dsa_rsa
|
|
310
|
-
- per_client
|
|
311
|
-
default: rsa
|
|
312
|
-
ascp_args:
|
|
313
|
-
type: array
|
|
314
|
-
description: List of native `ascp` command-line arguments.
|
|
315
|
-
items:
|
|
316
|
-
type: string
|
|
317
|
-
default: []
|
|
318
|
-
spawn_timeout_sec:
|
|
319
|
-
type: number
|
|
320
|
-
description: Multi session - Maximum time (in seconds) to verify that `ascp` is running.
|
|
321
|
-
default: 2
|
|
322
|
-
spawn_delay_sec:
|
|
323
|
-
type: number
|
|
324
|
-
description: Multi session - Delay (in seconds) between starting each `ascp` session.
|
|
325
|
-
default: 2
|
|
326
|
-
multi_incr_udp:
|
|
327
|
-
type: boolean
|
|
328
|
-
description: >-
|
|
329
|
-
Multi session - Increment UDP port for each session.
|
|
330
|
-
|
|
331
|
-
If `true`, each session uses a different UDP port starting at `fasp_port` (default: 33001).
|
|
332
|
-
|
|
333
|
-
If `false`, all sessions use the same `fasp_port` (or `ascp` default).
|
|
334
|
-
|
|
335
|
-
Default: `true` on Windows, `false` on other platforms.
|
|
336
|
-
resume:
|
|
337
|
-
type: object
|
|
338
|
-
description: Configuration for automatic transfer resume on interruption.
|
|
339
|
-
properties:
|
|
340
|
-
iter_max:
|
|
341
|
-
type: integer
|
|
342
|
-
description: Maximum number of retry attempts on error.
|
|
343
|
-
default: 7
|
|
344
|
-
sleep_initial:
|
|
345
|
-
type: integer
|
|
346
|
-
description: Initial sleep duration (in seconds) before first retry.
|
|
347
|
-
default: 2
|
|
348
|
-
sleep_factor:
|
|
349
|
-
type: integer
|
|
350
|
-
description: Multiplier applied to sleep duration between consecutive retry attempts.
|
|
351
|
-
default: 2
|
|
352
|
-
sleep_max:
|
|
353
|
-
type: integer
|
|
354
|
-
description: Maximum sleep duration (in seconds) between retry attempts.
|
|
355
|
-
default: 60
|
|
356
|
-
monitor:
|
|
357
|
-
type: boolean
|
|
358
|
-
description: Enable use of the `ascp` management port for transfer monitoring.
|
|
359
|
-
default: true
|
|
360
|
-
NodeAgentOptions:
|
|
361
|
-
type: object
|
|
362
|
-
description: Parameters for the Node API transfer agent.
|
|
363
|
-
required:
|
|
364
|
-
- url
|
|
365
|
-
- username
|
|
366
|
-
- password
|
|
367
|
-
properties:
|
|
368
|
-
url:
|
|
369
|
-
type: string
|
|
370
|
-
description: URL of the Node API.
|
|
371
|
-
username:
|
|
372
|
-
type: string
|
|
373
|
-
description: Node API user or access key.
|
|
374
|
-
password:
|
|
375
|
-
type: string
|
|
376
|
-
description: Password, secret, or bearer token.
|
|
377
|
-
root_id:
|
|
378
|
-
type: string
|
|
379
|
-
description: Root file ID. Mandatory only when `password` is a bearer token.
|
|
380
|
-
HttpgwAgentOptions:
|
|
381
|
-
type: object
|
|
382
|
-
description: Parameters for the HTTP Gateway transfer agent.
|
|
383
|
-
required:
|
|
384
|
-
- url
|
|
385
|
-
properties:
|
|
386
|
-
url:
|
|
387
|
-
type: string
|
|
388
|
-
description: URL of the HTTP Gateway.
|
|
389
|
-
upload_chunk_size:
|
|
390
|
-
type: integer
|
|
391
|
-
description: Size in bytes of each upload chunk.
|
|
392
|
-
default: 64000
|
|
393
|
-
api_version:
|
|
394
|
-
type: string
|
|
395
|
-
description: Force use of a specific API version.
|
|
396
|
-
enum:
|
|
397
|
-
- v1
|
|
398
|
-
- v2
|
|
399
|
-
default: v2
|
|
400
|
-
synchronous:
|
|
401
|
-
type: boolean
|
|
402
|
-
description: Wait for acknowledgment after each message.
|
|
403
|
-
default: false
|
|
404
|
-
DesktopAgentOptions:
|
|
405
|
-
type: object
|
|
406
|
-
description: >-
|
|
407
|
-
Parameters for the IBM Aspera Desktop Client transfer agent.
|
|
408
|
-
The Desktop Client must be running locally. No additional options are required.
|
|
409
|
-
properties: {}
|
|
410
|
-
ConnectAgentOptions:
|
|
411
|
-
type: object
|
|
412
|
-
description: >-
|
|
413
|
-
Parameters for the IBM Aspera Connect Client transfer agent.
|
|
414
|
-
The Connect Client must be running locally. No additional options are required.
|
|
415
|
-
properties: {}
|
|
416
|
-
TransferdAgentOptions:
|
|
417
|
-
type: object
|
|
418
|
-
description: Parameters for the Transfer Daemon transfer agent.
|
|
419
|
-
properties:
|
|
420
|
-
url:
|
|
421
|
-
type: string
|
|
422
|
-
description: >-
|
|
423
|
-
Address and port listened by the daemon (e.g. `:55002`).
|
|
424
|
-
If port is `0`, the daemon listens on a random available port.
|
|
425
|
-
If no address is given, `127.0.0.1` is used.
|
|
426
|
-
default: ":0"
|
|
427
|
-
start:
|
|
428
|
-
type: boolean
|
|
429
|
-
description: Start a new daemon instance.
|
|
430
|
-
default: true
|
|
431
|
-
stop:
|
|
432
|
-
type: boolean
|
|
433
|
-
description: Stop the daemon when `ascli` exits.
|
|
434
|
-
default: true
|
|
435
|
-
api_key:
|
|
436
|
-
type: string
|
|
437
|
-
description: >-
|
|
438
|
-
API key of an existing daemon (`start` is `false`) that has `authentication` enabled in its configuration.
|
|
439
|
-
It is sent in the metadata `api_key` of each call.
|
|
440
|
-
ca_file:
|
|
441
|
-
type: string
|
|
442
|
-
description: >-
|
|
443
|
-
Path to the certificate authority file (PEM) that signed the certificate of an existing daemon (`start` is `false`)
|
|
444
|
-
that has `tls` enabled in its configuration. A self-signed certificate is its own authority.
|
|
445
|
-
TransferAgentOptions:
|
|
446
|
-
description: >-
|
|
447
|
-
Transfer agent selector and agent-specific parameters.
|
|
448
|
-
Set `agent` to select the agent type (default: `direct`).
|
|
449
|
-
Remaining keys are passed to the selected agent.
|
|
450
|
-
oneOf:
|
|
451
|
-
- $ref: "#/components/schemas/DirectAgentOptions"
|
|
452
|
-
- $ref: "#/components/schemas/NodeAgentOptions"
|
|
453
|
-
- $ref: "#/components/schemas/HttpgwAgentOptions"
|
|
454
|
-
- $ref: "#/components/schemas/TransferdAgentOptions"
|
|
455
|
-
- $ref: "#/components/schemas/DesktopAgentOptions"
|
|
456
|
-
- $ref: "#/components/schemas/ConnectAgentOptions"
|
|
457
|
-
discriminator:
|
|
458
|
-
propertyName: agent
|
|
459
|
-
mapping:
|
|
460
|
-
direct: "#/components/schemas/DirectAgentOptions"
|
|
461
|
-
node: "#/components/schemas/NodeAgentOptions"
|
|
462
|
-
httpgw: "#/components/schemas/HttpgwAgentOptions"
|
|
463
|
-
transferd: "#/components/schemas/TransferdAgentOptions"
|
|
464
|
-
desktop: "#/components/schemas/DesktopAgentOptions"
|
|
465
|
-
connect: "#/components/schemas/ConnectAgentOptions"
|
|
466
281
|
SmtpOptions:
|
|
467
282
|
type: object
|
|
283
|
+
additionalProperties: false
|
|
468
284
|
description: SMTP email server configuration.
|
|
469
285
|
required:
|
|
470
286
|
- server
|
|
@@ -492,7 +308,7 @@ components:
|
|
|
492
308
|
- 587
|
|
493
309
|
domain:
|
|
494
310
|
type: string
|
|
495
|
-
description: Email domain of the user. Defaults to the domain part of `
|
|
311
|
+
description: Email domain of the user. Defaults to the domain part of `from_email`.
|
|
496
312
|
examples:
|
|
497
313
|
- gmail.com
|
|
498
314
|
username:
|
|
@@ -517,73 +333,6 @@ components:
|
|
|
517
333
|
description: Display name of the sender. Defaults to the local-part of `from_email`.
|
|
518
334
|
examples:
|
|
519
335
|
- John Wayne
|
|
520
|
-
ServiceOptions:
|
|
521
|
-
type: object
|
|
522
|
-
description: >-
|
|
523
|
-
Installation parameters of the transfer daemon (`transferd`) as a system service.
|
|
524
|
-
The content of the daemon configuration file is described by its own schema.
|
|
525
|
-
additionalProperties: false
|
|
526
|
-
properties:
|
|
527
|
-
name:
|
|
528
|
-
type: string
|
|
529
|
-
description: >-
|
|
530
|
-
Name of the service.
|
|
531
|
-
The unit file is `<name>.service`.
|
|
532
|
-
default: aspera-transferd
|
|
533
|
-
minLength: 1
|
|
534
|
-
user:
|
|
535
|
-
type: string
|
|
536
|
-
description: >-
|
|
537
|
-
Account that runs the daemon.
|
|
538
|
-
It must exist, it is not created.
|
|
539
|
-
default: asperadaemon
|
|
540
|
-
minLength: 1
|
|
541
|
-
group:
|
|
542
|
-
type: string
|
|
543
|
-
description: Group that runs the daemon. Defaults to the primary group of `user`.
|
|
544
|
-
minLength: 1
|
|
545
|
-
unit_dir:
|
|
546
|
-
type: string
|
|
547
|
-
description: Folder where the unit file is created.
|
|
548
|
-
default: /etc/systemd/system
|
|
549
|
-
minLength: 1
|
|
550
|
-
after:
|
|
551
|
-
type: array
|
|
552
|
-
description: Units that shall be started before the daemon (`After=` in the unit).
|
|
553
|
-
items:
|
|
554
|
-
type: string
|
|
555
|
-
default:
|
|
556
|
-
- network.target
|
|
557
|
-
environment:
|
|
558
|
-
type: object
|
|
559
|
-
description: >-
|
|
560
|
-
Environment variables set in the unit.
|
|
561
|
-
None is set unless given here.
|
|
562
|
-
`TRANSFERD_ADDRESS`, `TRANSFERD_PORT`, `TRANSFERD_MGMT_PORT` and `TRANSFERD_MGMT_ADDRESS` override the configuration file.
|
|
563
|
-
additionalProperties:
|
|
564
|
-
type: string
|
|
565
|
-
version:
|
|
566
|
-
type: string
|
|
567
|
-
description: >-
|
|
568
|
-
Version of the SDK to install, used by `install` when the SDK folder is named `current` (versions side by side).
|
|
569
|
-
Defaults to the SDK version of this tool.
|
|
570
|
-
pattern: '^\d+(\.\d+)*$'
|
|
571
|
-
purge:
|
|
572
|
-
type: boolean
|
|
573
|
-
description: Used by `uninstall`. Also remove the configuration file and the log folder.
|
|
574
|
-
default: false
|
|
575
|
-
TransferdServiceConfig:
|
|
576
|
-
type: object
|
|
577
|
-
description: >-
|
|
578
|
-
Configuration of the transfer daemon (`transferd`) as a system service.
|
|
579
|
-
additionalProperties: false
|
|
580
|
-
properties:
|
|
581
|
-
service:
|
|
582
|
-
$ref: "#/components/schemas/ServiceOptions"
|
|
583
|
-
config:
|
|
584
|
-
type: object
|
|
585
|
-
description: >-
|
|
586
|
-
Content of `transferd.json`, validated against the transfer daemon configuration schema.
|
|
587
336
|
HttpOptions:
|
|
588
337
|
type: object
|
|
589
338
|
description: >-
|
|
@@ -637,6 +386,19 @@ components:
|
|
|
637
386
|
description: List of OpenSSL option flags to set on the HTTP session (e.g. `IGNORE_UNEXPECTED_EOF`). (SSL)
|
|
638
387
|
items:
|
|
639
388
|
type: string
|
|
389
|
+
# OpenSSL flags can weaken the validation of the server certificate (man-in-the-middle): available at level low only
|
|
390
|
+
x-security: low
|
|
391
|
+
ca_file:
|
|
392
|
+
type: string
|
|
393
|
+
x-cli-complete: file
|
|
394
|
+
description: File with the CA certificates that verify the certificate of the server (HTTPS). (SSL)
|
|
395
|
+
# The client chooses which certificate authority the server trusts (man-in-the-middle): available at level low only
|
|
396
|
+
x-security: low
|
|
397
|
+
verify_mode:
|
|
398
|
+
type: string
|
|
399
|
+
description: OpenSSL verify mode of the server certificate, e.g. `none` to disable validation. (SSL)
|
|
400
|
+
# Disabling the validation of the server certificate (man-in-the-middle): available at level low only
|
|
401
|
+
x-security: low
|
|
640
402
|
user_agent:
|
|
641
403
|
type: string
|
|
642
404
|
description: Value sent in the `User-Agent` HTTP request header. (Rest)
|
|
@@ -745,6 +507,7 @@ components:
|
|
|
745
507
|
- "<TOKEN>"
|
|
746
508
|
approle:
|
|
747
509
|
type: object
|
|
510
|
+
additionalProperties: false
|
|
748
511
|
description: >-
|
|
749
512
|
AppRole authentication: the token is obtained by login, renewed, and obtained again when refused.
|
|
750
513
|
properties:
|
|
@@ -888,6 +651,7 @@ components:
|
|
|
888
651
|
For the default store, defaults to the value of `vault_password`.
|
|
889
652
|
VaultSecret:
|
|
890
653
|
type: object
|
|
654
|
+
additionalProperties: false
|
|
891
655
|
description: Secret entry in the vault
|
|
892
656
|
required:
|
|
893
657
|
- label
|
|
@@ -961,6 +725,7 @@ components:
|
|
|
961
725
|
- $ref: "#/components/schemas/VaultStore"
|
|
962
726
|
ImageOptions:
|
|
963
727
|
type: object
|
|
728
|
+
additionalProperties: false
|
|
964
729
|
description: Options for displaying images and thumbnails in the terminal.
|
|
965
730
|
properties:
|
|
966
731
|
reserve:
|
|
@@ -980,411 +745,6 @@ components:
|
|
|
980
745
|
type: number
|
|
981
746
|
description: Terminal font aspect ratio (height divided by width).
|
|
982
747
|
default: 2.3
|
|
983
|
-
AscpLogsOptions:
|
|
984
|
-
type: object
|
|
985
|
-
description: Analysis of `ascp` log files (`config ascp logs`).
|
|
986
|
-
additionalProperties: false
|
|
987
|
-
properties:
|
|
988
|
-
period:
|
|
989
|
-
type: integer
|
|
990
|
-
description: Snapshot period, in minutes.
|
|
991
|
-
default: 1
|
|
992
|
-
zero_bytes:
|
|
993
|
-
type: boolean
|
|
994
|
-
description: Include sessions without transferred bytes.
|
|
995
|
-
default: false
|
|
996
|
-
mtu:
|
|
997
|
-
type: integer
|
|
998
|
-
description: MTU, when not found in logs.
|
|
999
|
-
resolve:
|
|
1000
|
-
type: boolean
|
|
1001
|
-
description: Resolve peer addresses to host names.
|
|
1002
|
-
default: false
|
|
1003
|
-
timezone:
|
|
1004
|
-
type: string
|
|
1005
|
-
description: Time zone of the log lines (`UTC` or `+HH:MM`), to read a log from another time zone. Default is the local time zone.
|
|
1006
|
-
health_minutes:
|
|
1007
|
-
type: integer
|
|
1008
|
-
description: Window in minutes to report transfer errors and low efficiency.
|
|
1009
|
-
default: 60
|
|
1010
|
-
remote_max_size:
|
|
1011
|
-
type: integer
|
|
1012
|
-
description: Maximum total size in bytes of the log files read from a server (`server logs`).
|
|
1013
|
-
default: 536870912
|
|
1014
|
-
thresholds:
|
|
1015
|
-
type: object
|
|
1016
|
-
description: Diagnostic thresholds.
|
|
1017
|
-
additionalProperties: false
|
|
1018
|
-
properties:
|
|
1019
|
-
efficiency:
|
|
1020
|
-
type: number
|
|
1021
|
-
description: Minimum efficiency percentage below which a warning is emitted.
|
|
1022
|
-
default: 90.0
|
|
1023
|
-
control_loss_percent:
|
|
1024
|
-
type: number
|
|
1025
|
-
description: Minimum percentage of lost control messages to trigger a warning.
|
|
1026
|
-
default: 5.0
|
|
1027
|
-
control_loss_sent:
|
|
1028
|
-
type: integer
|
|
1029
|
-
description: Minimum number of control messages sent before checking control loss.
|
|
1030
|
-
default: 10
|
|
1031
|
-
retry_window:
|
|
1032
|
-
type: integer
|
|
1033
|
-
description: Maximum interval in seconds between sessions to link a retry.
|
|
1034
|
-
default: 3600
|
|
1035
|
-
last_error_window:
|
|
1036
|
-
type: integer
|
|
1037
|
-
description: Window in seconds before exit to attribute the last logged error.
|
|
1038
|
-
default: 60
|
|
1039
|
-
rate_decline_ratio:
|
|
1040
|
-
type: number
|
|
1041
|
-
description: Ratio of second half rate to first half rate below which rate decline is diagnosed.
|
|
1042
|
-
default: 0.7
|
|
1043
|
-
rate_decline_min_samples:
|
|
1044
|
-
type: integer
|
|
1045
|
-
description: Minimum number of samples to evaluate rate decline.
|
|
1046
|
-
default: 10
|
|
1047
|
-
rate_decline_delay:
|
|
1048
|
-
type: integer
|
|
1049
|
-
description: Delay in seconds after session start before evaluating rate decline samples.
|
|
1050
|
-
default: 20
|
|
1051
|
-
rate_decline_end_fraction:
|
|
1052
|
-
type: number
|
|
1053
|
-
description: Fraction of samples to discard from the end of a session when evaluating rate decline.
|
|
1054
|
-
default: 0.1
|
|
1055
|
-
license_expiry_days:
|
|
1056
|
-
type: integer
|
|
1057
|
-
description: Number of days before the expiry of the license of ascp (or less, if already expired) at which a warning is emitted.
|
|
1058
|
-
default: 30
|
|
1059
|
-
small_files_min_count:
|
|
1060
|
-
type: integer
|
|
1061
|
-
description: Minimum number of transferred files to check for the small-files diagnostic.
|
|
1062
|
-
default: 100
|
|
1063
|
-
small_files_max_mean:
|
|
1064
|
-
type: integer
|
|
1065
|
-
description: Maximum mean file size in bytes below which the small-files diagnostic is emitted.
|
|
1066
|
-
default: 1000000
|
|
1067
|
-
small_mtu_max:
|
|
1068
|
-
type: integer
|
|
1069
|
-
description: Path MTU in bytes below which the small-MTU diagnostic is emitted (ascp measures 1492, 1006, 508 or 296).
|
|
1070
|
-
default: 1400
|
|
1071
|
-
PackageFolderOptions:
|
|
1072
|
-
type: object
|
|
1073
|
-
title: Package download folder organization
|
|
1074
|
-
description: >-
|
|
1075
|
-
Controls how downloaded packages are organized into subfolders under `to_folder`.
|
|
1076
|
-
If not specified or empty, packages are downloaded directly into `to_folder`.
|
|
1077
|
-
properties:
|
|
1078
|
-
fld:
|
|
1079
|
-
type: array
|
|
1080
|
-
description: >-
|
|
1081
|
-
List of package fields (up to 2) used to build the subfolder name.
|
|
1082
|
-
Field values are joined with `.`.
|
|
1083
|
-
items:
|
|
1084
|
-
type: string
|
|
1085
|
-
maxItems: 2
|
|
1086
|
-
examples:
|
|
1087
|
-
- - name
|
|
1088
|
-
- id
|
|
1089
|
-
seq:
|
|
1090
|
-
type: boolean
|
|
1091
|
-
description: >-
|
|
1092
|
-
If `true`, appends an incrementing number to the folder name when a conflict occurs.
|
|
1093
|
-
default: false
|
|
1094
|
-
opt:
|
|
1095
|
-
type: boolean
|
|
1096
|
-
description: >-
|
|
1097
|
-
If `false` (default), all fields in `fld` are always used.
|
|
1098
|
-
If `true`, the first field is used unless the folder already exists.
|
|
1099
|
-
default: false
|
|
1100
|
-
inf:
|
|
1101
|
-
type: boolean
|
|
1102
|
-
description: >-
|
|
1103
|
-
If `true`, creates a `<ID>.info.json` sidecar file inside the folder
|
|
1104
|
-
containing package metadata.
|
|
1105
|
-
default: false
|
|
1106
|
-
NodeBearerTokenOptions:
|
|
1107
|
-
type: object
|
|
1108
|
-
description: >-
|
|
1109
|
-
JWT payload used to generate an Aspera Node bearer token (`node bearer_token`).
|
|
1110
|
-
`user_id` is the only mandatory field.
|
|
1111
|
-
The CLI strips the `_validity` and `_scope` convenience keys before signing;
|
|
1112
|
-
remaining fields are embedded verbatim in the token.
|
|
1113
|
-
required:
|
|
1114
|
-
- user_id
|
|
1115
|
-
properties:
|
|
1116
|
-
user_id:
|
|
1117
|
-
type: string
|
|
1118
|
-
description: Identifier of the user for whom the token is generated.
|
|
1119
|
-
examples:
|
|
1120
|
-
- jdoe # cspell:disable-line
|
|
1121
|
-
_validity:
|
|
1122
|
-
type: integer
|
|
1123
|
-
description: Token lifetime in seconds (convenience key, removed before signing).
|
|
1124
|
-
default: 86400
|
|
1125
|
-
_scope:
|
|
1126
|
-
type: string
|
|
1127
|
-
description: >-
|
|
1128
|
-
Scope shorthand used to build the `scope` field (convenience key, removed before signing).
|
|
1129
|
-
Maps to `node.<access_key>:<scope>`.
|
|
1130
|
-
enum: [user, admin]
|
|
1131
|
-
default: user
|
|
1132
|
-
scope:
|
|
1133
|
-
type: string
|
|
1134
|
-
description: >-
|
|
1135
|
-
Full scope string. Computed automatically from `_scope` when absent.
|
|
1136
|
-
Example: `node::ik-00000000-0000-0000-0000-000000000000:user`.
|
|
1137
|
-
auth_type:
|
|
1138
|
-
type: string
|
|
1139
|
-
description: Authentication type embedded in the token.
|
|
1140
|
-
default: access_key
|
|
1141
|
-
expires_at:
|
|
1142
|
-
type: string
|
|
1143
|
-
description: >-
|
|
1144
|
-
Token expiry timestamp in ISO 8601 format (`YYYY-MM-DDTHH:MM:SSZ`).
|
|
1145
|
-
Computed automatically from `_validity` when absent.
|
|
1146
|
-
examples:
|
|
1147
|
-
- "2030-01-01T00:00:00Z"
|
|
1148
|
-
NodeEmulatorOptions:
|
|
1149
|
-
type: object
|
|
1150
|
-
description: >-
|
|
1151
|
-
Configuration for the embedded Node API emulator (`node emulator`), for testing without HSTS.
|
|
1152
|
-
The emulator starts a local web server that answers a subset of the Node API:
|
|
1153
|
-
`/info`, `/ops/transfers` (list, start), `/ops/transfers/{id}` (show, modify, cancel) and `/files/browse`.
|
|
1154
|
-
Transfers are executed by the Transfer Daemon (`transferd`), started by the emulator.
|
|
1155
|
-
Clients authenticate with HTTP Basic when `username` and `password` are set.
|
|
1156
|
-
additionalProperties: false
|
|
1157
|
-
properties:
|
|
1158
|
-
url:
|
|
1159
|
-
type: string
|
|
1160
|
-
description: >-
|
|
1161
|
-
Address and port the emulator listens on.
|
|
1162
|
-
Use `https://` with `cert`/`key` for TLS.
|
|
1163
|
-
default: http://localhost:8080
|
|
1164
|
-
cert:
|
|
1165
|
-
type: string
|
|
1166
|
-
x-cli-complete: file
|
|
1167
|
-
description: >-
|
|
1168
|
-
Path to the TLS certificate file.
|
|
1169
|
-
Accepted formats: PEM (`.pem`) or PKCS12 (`.p12` / `.pfx`).
|
|
1170
|
-
examples:
|
|
1171
|
-
- /path/to/cert.pem
|
|
1172
|
-
key:
|
|
1173
|
-
type: string
|
|
1174
|
-
x-cli-complete: file
|
|
1175
|
-
description: >-
|
|
1176
|
-
Path to the PEM private key file, or the PKCS12 passphrase when `cert` is a `.p12`/`.pfx` file.
|
|
1177
|
-
examples:
|
|
1178
|
-
- /path/to/key.pem
|
|
1179
|
-
chain:
|
|
1180
|
-
type: string
|
|
1181
|
-
x-cli-complete: file
|
|
1182
|
-
description: Path to the PEM certificate chain file (appended as extra chain certificates).
|
|
1183
|
-
examples:
|
|
1184
|
-
- /path/to/chain.pem
|
|
1185
|
-
docroot:
|
|
1186
|
-
type: string
|
|
1187
|
-
x-cli-complete: folder
|
|
1188
|
-
description: >-
|
|
1189
|
-
Local folder of the node files.
|
|
1190
|
-
Paths of `/files/browse` and local paths of transfers (sources of `send`, destination of `receive`) are relative to it, and confined in it.
|
|
1191
|
-
Defaults to the current working directory.
|
|
1192
|
-
examples:
|
|
1193
|
-
- /data/aspera
|
|
1194
|
-
retention_sec:
|
|
1195
|
-
type: integer
|
|
1196
|
-
minimum: 1
|
|
1197
|
-
description: Time in seconds a transfer stays in the list of transfers after it ended (completed, failed or canceled, and no more retried).
|
|
1198
|
-
default: 86400
|
|
1199
|
-
username:
|
|
1200
|
-
type: string
|
|
1201
|
-
description: >-
|
|
1202
|
-
Username expected from clients in HTTP Basic authentication.
|
|
1203
|
-
Set together with `password`.
|
|
1204
|
-
When not set, requests are accepted without authentication.
|
|
1205
|
-
Mandatory when `url` is not a loopback address (`localhost`, `127.0.0.0/8`, `::1`).
|
|
1206
|
-
examples:
|
|
1207
|
-
- node_user
|
|
1208
|
-
password:
|
|
1209
|
-
type: string
|
|
1210
|
-
description: >-
|
|
1211
|
-
Password expected from clients in HTTP Basic authentication, for the above `username`.
|
|
1212
|
-
Generate it with `openssl rand -hex 32`: a weak password is refused (see `password_min_bits`).
|
|
1213
|
-
examples:
|
|
1214
|
-
- "<PASSWORD>"
|
|
1215
|
-
password_min_bits:
|
|
1216
|
-
type: integer
|
|
1217
|
-
minimum: 0
|
|
1218
|
-
default: 80
|
|
1219
|
-
description: >-
|
|
1220
|
-
Minimum estimated strength of `password`, in bits (log2 of the number of guesses to find it).
|
|
1221
|
-
The strength is estimated with gem `zxcvbn` if installed, else with a built-in estimate
|
|
1222
|
-
that detects repeats, sequences, keyboard rows, words and years.
|
|
1223
|
-
`0` disables the check.
|
|
1224
|
-
A random password of 32 bytes (`openssl rand -hex 32`) is far above the default.
|
|
1225
|
-
NodeTelemetryOptions:
|
|
1226
|
-
type: object
|
|
1227
|
-
description: >-
|
|
1228
|
-
Configuration for the telemetry reporter (`node telemetry`).
|
|
1229
|
-
The command periodically queries `ops/transfers?active_only=true` and sends
|
|
1230
|
-
an OpenTelemetry gauge metric to an Instana backend.
|
|
1231
|
-
required:
|
|
1232
|
-
- url
|
|
1233
|
-
- key
|
|
1234
|
-
properties:
|
|
1235
|
-
url:
|
|
1236
|
-
type: string
|
|
1237
|
-
description: Base URL of the Instana backend (without `/v1`).
|
|
1238
|
-
examples:
|
|
1239
|
-
- https://my-instana.example.com
|
|
1240
|
-
key:
|
|
1241
|
-
type: string
|
|
1242
|
-
description: Instana API key sent in the `x-instana-key` header.
|
|
1243
|
-
examples:
|
|
1244
|
-
- my-instana-api-key
|
|
1245
|
-
interval:
|
|
1246
|
-
type: number
|
|
1247
|
-
description: >-
|
|
1248
|
-
Polling interval in seconds. Use `0` for a single-shot run (no loop).
|
|
1249
|
-
default: 10
|
|
1250
|
-
hostname:
|
|
1251
|
-
type: string
|
|
1252
|
-
description: >-
|
|
1253
|
-
Value sent in the `x-instana-host` header.
|
|
1254
|
-
Defaults to the local machine's hostname.
|
|
1255
|
-
examples:
|
|
1256
|
-
- hsts-prod-01
|
|
1257
|
-
OrchestratorWorkflowStart:
|
|
1258
|
-
type: object
|
|
1259
|
-
description: >-
|
|
1260
|
-
Execution of the work order created by `orchestrator workflows start`.
|
|
1261
|
-
By default, the call is asynchronous and returns the work order information.
|
|
1262
|
-
A synchronous call returns the value of the output variable, if specified.
|
|
1263
|
-
additionalProperties: false
|
|
1264
|
-
properties:
|
|
1265
|
-
synchronous:
|
|
1266
|
-
type: boolean
|
|
1267
|
-
description: Wait for completion of the work order.
|
|
1268
|
-
default: false
|
|
1269
|
-
step:
|
|
1270
|
-
type: string
|
|
1271
|
-
description: >-
|
|
1272
|
-
Name of the work step providing the result.
|
|
1273
|
-
Requires `variable`, and implies `synchronous`.
|
|
1274
|
-
examples:
|
|
1275
|
-
- ResultStep
|
|
1276
|
-
variable:
|
|
1277
|
-
type: string
|
|
1278
|
-
description: >-
|
|
1279
|
-
Name of the output variable of `step` returned as result.
|
|
1280
|
-
Requires `step`, and implies `synchronous`.
|
|
1281
|
-
examples:
|
|
1282
|
-
- Complete_status_message
|
|
1283
|
-
OrchestratorInitiateParameters:
|
|
1284
|
-
type: object
|
|
1285
|
-
description: >-
|
|
1286
|
-
Input parameters for the workflow (key-value pairs).
|
|
1287
|
-
Valid keys are defined by the workflow's input specification.
|
|
1288
|
-
Use `orchestrator workflows inputs WORKFLOW_ID` to discover required parameters.
|
|
1289
|
-
additionalProperties: true
|
|
1290
|
-
OrchestratorWorkflowExport:
|
|
1291
|
-
type: object
|
|
1292
|
-
description: Options of `orchestrator workflows export`.
|
|
1293
|
-
additionalProperties: false
|
|
1294
|
-
properties:
|
|
1295
|
-
dependencies:
|
|
1296
|
-
type: boolean
|
|
1297
|
-
description: >-
|
|
1298
|
-
Export the sub-workflows and remote nodes used by the workflow in a package (`.wkf`),
|
|
1299
|
-
saved in the folder given by option `to_folder` (default: current folder), instead of displaying the workflow.
|
|
1300
|
-
default: false
|
|
1301
|
-
OrchestratorWorkflowImport:
|
|
1302
|
-
type: object
|
|
1303
|
-
description: Options of `orchestrator workflows import`.
|
|
1304
|
-
additionalProperties: false
|
|
1305
|
-
properties:
|
|
1306
|
-
folder_id:
|
|
1307
|
-
type: integer
|
|
1308
|
-
description: >-
|
|
1309
|
-
Folder of the new workflow (default: the default folder).
|
|
1310
|
-
The `folder_id` of existing workflows is in `orchestrator workflows list`.
|
|
1311
|
-
publish:
|
|
1312
|
-
type: boolean
|
|
1313
|
-
description: >-
|
|
1314
|
-
Publish the workflow after import.
|
|
1315
|
-
If not set, the server option `publish_api_imported_workflow` decides.
|
|
1316
|
-
link_to_subworkflows:
|
|
1317
|
-
type: boolean
|
|
1318
|
-
description: Link to existing sub-workflows instead of importing those of the package (`.wkf`).
|
|
1319
|
-
default: false
|
|
1320
|
-
OrchestratorImportWithConstraints:
|
|
1321
|
-
type: object
|
|
1322
|
-
description: >-
|
|
1323
|
-
Import of a workflow file present on the Orchestrator host, as a new workflow or as a new revision of an existing workflow.
|
|
1324
|
-
`orchestrator workflows import` stores each uploaded file in `<run_dir>/workflows/import/`.
|
|
1325
|
-
Conflicts with existing global templates, sub-workflows and remote nodes are resolved by name.
|
|
1326
|
-
Use `orchestrator workflows find_constraints` to list the conflicts, and `orchestrator workflows check_import` to check the file beforehand.
|
|
1327
|
-
additionalProperties: false
|
|
1328
|
-
required:
|
|
1329
|
-
- filename
|
|
1330
|
-
properties:
|
|
1331
|
-
filename:
|
|
1332
|
-
type: string
|
|
1333
|
-
description: Path of the workflow file (`.yml` or `.wkf`) on the Orchestrator host.
|
|
1334
|
-
examples:
|
|
1335
|
-
- /opt/aspera/orchestrator/var/run/orchestrator/workflows/import/my_workflow.yml
|
|
1336
|
-
add_as_revision:
|
|
1337
|
-
type: [integer, 'null']
|
|
1338
|
-
description: >-
|
|
1339
|
-
ID of an existing workflow: the file is imported as a new revision of this workflow (to be published).
|
|
1340
|
-
If not set, or `null`, a new workflow is created.
|
|
1341
|
-
examples:
|
|
1342
|
-
- 123
|
|
1343
|
-
subwf_constraints:
|
|
1344
|
-
type: object
|
|
1345
|
-
description: 'Resolution for each sub-workflow, by name: `Map to the Existing Sub-Workflow`, `Create a new Sub-Workflow with a unique name`, or `Add a new revision to the existing Sub-Workflow`.'
|
|
1346
|
-
additionalProperties:
|
|
1347
|
-
type: string
|
|
1348
|
-
enum:
|
|
1349
|
-
- Map to the Existing Sub-Workflow
|
|
1350
|
-
- Create a new Sub-Workflow with a unique name
|
|
1351
|
-
- Add a new revision to the existing Sub-Workflow
|
|
1352
|
-
action_template_constraints:
|
|
1353
|
-
type: object
|
|
1354
|
-
description: 'Resolution for each global action template, by name: `Map to the existing Global Template`, `Create a new Global Template with a different name`, or `Override the existing Global Template with this new template`.'
|
|
1355
|
-
additionalProperties:
|
|
1356
|
-
type: string
|
|
1357
|
-
enum:
|
|
1358
|
-
- Map to the existing Global Template
|
|
1359
|
-
- Create a new Global Template with a different name
|
|
1360
|
-
- Override the existing Global Template with this new template
|
|
1361
|
-
remote_node_constraints:
|
|
1362
|
-
type: object
|
|
1363
|
-
description: 'Resolution for each remote node, by name: `Map to the existing Remote Node`, `Create a new Remote Node with a different name`, or `Override the Existing Remote Node with this importing node`.'
|
|
1364
|
-
additionalProperties:
|
|
1365
|
-
type: string
|
|
1366
|
-
enum:
|
|
1367
|
-
- Map to the existing Remote Node
|
|
1368
|
-
- Create a new Remote Node with a different name
|
|
1369
|
-
- Override the Existing Remote Node with this importing node
|
|
1370
|
-
auto_enable_missing_plugins:
|
|
1371
|
-
type: boolean
|
|
1372
|
-
description: Enable the plugins used by the workflow that are not enabled.
|
|
1373
|
-
default: false
|
|
1374
|
-
OrchestratorReloadPluginSet:
|
|
1375
|
-
type: object
|
|
1376
|
-
description: Set of plugins to reload.
|
|
1377
|
-
required:
|
|
1378
|
-
- plugin_names
|
|
1379
|
-
properties:
|
|
1380
|
-
plugin_names:
|
|
1381
|
-
type: array
|
|
1382
|
-
description: List of plugin names to reload.
|
|
1383
|
-
items:
|
|
1384
|
-
type: string
|
|
1385
|
-
examples:
|
|
1386
|
-
- - soap_requests
|
|
1387
|
-
- frameio_operations # cspell:disable-line
|
|
1388
748
|
DetectOptions:
|
|
1389
749
|
type: object
|
|
1390
750
|
description: Application to detect (`config detect`).
|
|
@@ -1444,6 +804,8 @@ components:
|
|
|
1444
804
|
description: 'Set the preset as default configuration for the plugin (default: yes).'
|
|
1445
805
|
TableOptions:
|
|
1446
806
|
type: object
|
|
807
|
+
# Open: the other keys are the style of the table, given to the gem `terminal-table` (format `table`) or to the Ruby `CSV` library (format `csv`)
|
|
808
|
+
additionalProperties: true
|
|
1447
809
|
description: Terminal table rendering options.
|
|
1448
810
|
properties:
|
|
1449
811
|
pivot:
|
|
@@ -1452,6 +814,7 @@ components:
|
|
|
1452
814
|
default: false
|
|
1453
815
|
OutOptions:
|
|
1454
816
|
type: object
|
|
817
|
+
additionalProperties: false
|
|
1455
818
|
description: Output rendering options (dot-notation sub-properties).
|
|
1456
819
|
properties:
|
|
1457
820
|
format:
|
|
@@ -1576,6 +939,8 @@ components:
|
|
|
1576
939
|
default: fail
|
|
1577
940
|
WebServerOptions:
|
|
1578
941
|
type: object
|
|
942
|
+
# Open: base of the options of web servers of bundles (e.g. `faspex5 postprocessing`), which add their own keys with `allOf`, and refuse other keys
|
|
943
|
+
additionalProperties: true
|
|
1579
944
|
description: >-
|
|
1580
945
|
Address and TLS configuration for a local web server (`WebServerSimple`).
|
|
1581
946
|
Used by commands that start an embedded HTTP(S) listener (`faspex5 gateway`,
|
|
@@ -1608,123 +973,3 @@ components:
|
|
|
1608
973
|
description: Path to the PEM certificate chain file (appended as extra chain certificates).
|
|
1609
974
|
examples:
|
|
1610
975
|
- /path/to/chain.pem
|
|
1611
|
-
Faspex4GatewayOptions:
|
|
1612
|
-
description: >-
|
|
1613
|
-
Configuration for the Faspex 4 gateway emulator (`faspex5 gateway`, `aoc gateway`).
|
|
1614
|
-
The command starts a local HTTP server that accepts Faspex 4 API calls and translates them
|
|
1615
|
-
to Faspex 5 / AoC API calls.
|
|
1616
|
-
Clients authenticate with HTTP Basic, as on Faspex 4, when `username` and `password` are set.
|
|
1617
|
-
By default the server binds to loopback; use a routable address only when clients must reach
|
|
1618
|
-
the host from outside: then `username` and `password` are required.
|
|
1619
|
-
allOf:
|
|
1620
|
-
- $ref: "#/components/schemas/WebServerOptions"
|
|
1621
|
-
- type: object
|
|
1622
|
-
# List properties solely to allow them under additionalProperties: false.
|
|
1623
|
-
# Types and descriptions are already defined in WebServerOptions above.
|
|
1624
|
-
additionalProperties: false
|
|
1625
|
-
properties:
|
|
1626
|
-
url: {}
|
|
1627
|
-
cert: {}
|
|
1628
|
-
key: {}
|
|
1629
|
-
chain: {}
|
|
1630
|
-
username:
|
|
1631
|
-
type: string
|
|
1632
|
-
description: >-
|
|
1633
|
-
Username expected from clients in HTTP Basic authentication.
|
|
1634
|
-
Set together with `password`.
|
|
1635
|
-
When not set, requests are accepted without authentication.
|
|
1636
|
-
Mandatory when `url` is not a loopback address (`localhost`, `127.0.0.0/8`, `::1`).
|
|
1637
|
-
examples:
|
|
1638
|
-
- fx4_user
|
|
1639
|
-
password:
|
|
1640
|
-
type: string
|
|
1641
|
-
description: >-
|
|
1642
|
-
Password expected from clients in HTTP Basic authentication, for the above `username`.
|
|
1643
|
-
Generate it with `openssl rand -hex 32`: a weak password is refused (see `password_min_bits`).
|
|
1644
|
-
examples:
|
|
1645
|
-
- "<PASSWORD>"
|
|
1646
|
-
password_min_bits:
|
|
1647
|
-
type: integer
|
|
1648
|
-
minimum: 0
|
|
1649
|
-
default: 80
|
|
1650
|
-
description: >-
|
|
1651
|
-
Minimum estimated strength of `password`, in bits (log2 of the number of guesses to find it).
|
|
1652
|
-
The strength is estimated with gem `zxcvbn` if installed, else with a built-in estimate
|
|
1653
|
-
that detects repeats, sequences, keyboard rows, words and years.
|
|
1654
|
-
`0` disables the check.
|
|
1655
|
-
A random password of 32 bytes (`openssl rand -hex 32`) is far above the default.
|
|
1656
|
-
Faspex4PostProcOptions:
|
|
1657
|
-
description: >-
|
|
1658
|
-
Configuration for the Faspex 4-style post-processing webhook receiver (`faspex5 postprocessing`).
|
|
1659
|
-
The command starts a local HTTP(S) server that Faspex 5 calls after each package upload.
|
|
1660
|
-
It maps the URL path to a script under `script_folder` and executes it with the values of the
|
|
1661
|
-
webhook JSON body whose key starts with `faspex_` as environment variables.
|
|
1662
|
-
By default the server binds to loopback; use a routable address only when Faspex containers
|
|
1663
|
-
must reach the host: then `secret_token` or `allowed_ips` is required.
|
|
1664
|
-
allOf:
|
|
1665
|
-
- $ref: "#/components/schemas/WebServerOptions"
|
|
1666
|
-
- type: object
|
|
1667
|
-
additionalProperties: false
|
|
1668
|
-
properties:
|
|
1669
|
-
# Listed solely to allow them under additionalProperties: false (defined in WebServerOptions).
|
|
1670
|
-
url: {}
|
|
1671
|
-
cert: {}
|
|
1672
|
-
key: {}
|
|
1673
|
-
chain: {}
|
|
1674
|
-
script_folder:
|
|
1675
|
-
type: string
|
|
1676
|
-
x-cli-complete: folder
|
|
1677
|
-
description: >-
|
|
1678
|
-
Folder containing the post-processing scripts.
|
|
1679
|
-
The URL path (after the base path) is appended to this folder to locate the script to execute.
|
|
1680
|
-
default: "."
|
|
1681
|
-
examples:
|
|
1682
|
-
- /opt/faspex/scripts
|
|
1683
|
-
fail_on_error:
|
|
1684
|
-
type: boolean
|
|
1685
|
-
description: >-
|
|
1686
|
-
When `true`, return HTTP 500 if the script exits with a non-zero status code.
|
|
1687
|
-
When `false` (default), the exit code is reported in the response body but HTTP 200 is returned.
|
|
1688
|
-
default: false
|
|
1689
|
-
timeout_seconds:
|
|
1690
|
-
type: integer
|
|
1691
|
-
minimum: 1
|
|
1692
|
-
description: >-
|
|
1693
|
-
Maximum time in seconds to wait for the script to complete before killing it.
|
|
1694
|
-
default: 60
|
|
1695
|
-
secret_token:
|
|
1696
|
-
type: string
|
|
1697
|
-
minLength: 1
|
|
1698
|
-
description: >-
|
|
1699
|
-
Shared secret for webhook authentication.
|
|
1700
|
-
When set, every incoming request must include `?token=<value>` in the URL;
|
|
1701
|
-
requests without the correct token are rejected with HTTP 401.
|
|
1702
|
-
Configure the Faspex webhook URL as `http://host:port/path/script.sh?token=<value>`.
|
|
1703
|
-
This parameter or `allowed_ips` is required when `url` is not a local address.
|
|
1704
|
-
Generate it with `openssl rand -hex 32`: a weak token is refused (see `secret_token_min_bits`).
|
|
1705
|
-
secret_token_min_bits:
|
|
1706
|
-
type: integer
|
|
1707
|
-
minimum: 0
|
|
1708
|
-
default: 80
|
|
1709
|
-
description: >-
|
|
1710
|
-
Minimum estimated strength of `secret_token`, in bits (log2 of the number of guesses to find it).
|
|
1711
|
-
The strength is estimated with gem `zxcvbn` if installed, else with a built-in estimate
|
|
1712
|
-
that detects repeats, sequences, keyboard rows, words and years.
|
|
1713
|
-
`0` disables the check.
|
|
1714
|
-
A random token of 32 bytes (`openssl rand -hex 32`) is far above the default.
|
|
1715
|
-
allowed_ips:
|
|
1716
|
-
description: >-
|
|
1717
|
-
IP address or network (CIDR, e.g. `10.89.0.0/24`), or list of them, allowed to call the listener.
|
|
1718
|
-
Requests from any other source IP are rejected with HTTP 403.
|
|
1719
|
-
When not set, no IP restriction is applied.
|
|
1720
|
-
This parameter or `secret_token` is required when `url` is not a local address.
|
|
1721
|
-
oneOf:
|
|
1722
|
-
- type: string
|
|
1723
|
-
examples:
|
|
1724
|
-
- "192.168.1.10"
|
|
1725
|
-
- type: array
|
|
1726
|
-
items:
|
|
1727
|
-
type: string
|
|
1728
|
-
examples:
|
|
1729
|
-
- - "192.168.1.10"
|
|
1730
|
-
- "10.89.0.0/24"
|