Highlights:
- Plugin bundles: a plugin of option
plugin_foldercan be a folder with a manifestplugin.yaml, which adds commands and transfer agents;config plugins listandconfig plugins showtell whether each plugin is available, and why not. A development gem is built every day frommain(GitHub pre-releasenightly). mcp serverhardened further (security levelhigh): the AI client can no longer start a transfer agent that runs on the local host, send the saved credentials to a host of its choice, disable the validation of certificates or use a proxy, start a local server, or choose the configuration file or the vault. Thetransferddaemon started byasclirequires an API key, and secrets no longer appear in logs or in the command line ofasync.- New command
sync logs(alsoserver sync logs,node sync logs): the notable events of IBM Aspera Sync logs (file conflicts, errors), to find why two folders drift. - Aspera on Cloud administration: new resources (
distribution_list,group_permission,app_collaborator,dropbox join_request...),helpshows the fields ofcreateandmodify,--query=helpthe query parameters; commands that always failed are removed. - New extended value
@date:: a date and time in UTC, ISO 8601, absolute or relative (e.g.now-2h), also accepted byconsole transfer current list. - Options with a schema are checked when set (
transfer,smtp,node_api,ssh_options,log,out...), and an error caused by a value of the user is no longer reported as a bug ofascli. - Project: test coverage 97.5%.
This version has breaking changes: read the Breaking Changes section below before upgrading. In particular: the folders of option plugin_folder replace the default folder (add DEF to keep it), @env: of a variable that is not set is an error, an unknown key in options smtp, transfer and out.img is refused when the option is set (also in a preset), server du and server md5sum return one row per path, and the security levels medium and high refuse more options and commands.
New Features
- Option
plugin_folder:--show-configlists all the folders given (it showed only the last one), andDEF(the default) is the folderpluginsof the configuration folder.--plugin-folder=@json:[]uses no plugin folder other than the one of the gem. - Development version of the gem, built every day from
main(not signed):aspera-cli-nightly.gemof the GitHub pre-releasenightly. See the manual, section "Installing the development version of the gem". - Options
node_api,ssh_options(server) andservice_credentials(cos) have a schema:helpas value shows their parameters (e.g.--node-api=help), and a value is checked when the option is set.--transfer=helpshows the parameterasynchronous, common to all agents. - Plugin bundles: a plugin of a plugin folder (option
plugin_folder) can be a folder<name>/with a manifestplugin.yaml, in addition to a single file<name>.rb. A bundle has its commands, and can add a transfer agent (value of optiontransfer, with the schema of its parameters), schemas, commands to another plugin (e.g.config), services shared with other bundles, instructions for the AI client ofmcp server(sectionmcp), and can depend on other bundles. A bundle that cannot be used (invalid manifest, missing dependency or gem) is listed with its reason, and the other plugins work. The built-in plugins and transfer agents are bundles too. See the manual, section "Writing a plugin bundle". config plugins list: shows the folder of a bundle aspath, has a columnstatus(available, or the reason why the plugin is unavailable), and lists the unavailable plugins. New commandconfig plugins show <NAME>: title, source, form, path, security level, status, commands, agents, schemas, mounts, services, extension points, dependencies and missing gems of a plugin, without loading its code.ascli <NAME>for an unavailable plugin gives the reason, and a transfer agent of an unavailable plugin givesplugin <NAME> is unavailable: <REASON>. The error of an invalid value of optiontransferalso lists the agents added by plugin bundles.- Extended value
@stdin:stream: the standard input, read by a command that reads a file (config ascp logs,sync logs), as it reads the file (e.g. gzip is detected). The argument-of these commands is short for it. It is refused by other options and arguments, and with a decoder (use@stdin:). - New command
sync logs(alsoserver sync logs,node sync logs): it reads theasync(IBM Aspera Sync) log files of the local host and reports only the notable events, so a drift between two folders is easy to find: file conflicts and errors (SYNC FILE STOPwithstatus=CONFLICTorERROR), unsupported file-system events, session start/stop/idle, andERR-level lines. With no argument it reads the log at the default location (~/Library/Logs/Aspera/async.logon macOS,syslogon Linux and Unix); a path, a folder, agzipfile, or-(standard input) can be given. The paths are checked against the security level, like@file:. - Agent
transferdwith port zero (the defaulturl): the port of the daemon started is read from the file thattransferd1.1.7 and later writes once it listens, else from its log (it was read only from the log). aoc admin group listandaoc admin group_membership list:--query=helplists the query parameters (filters,sort,q,embed[]...), andcreateshows the fields of the group or membership.- New command
aoc admin group_permission: owners and managers of groups (tab Managers of a group in the web UI), withlist,show,create,modify(only the level:ownerormanager) anddelete.--query=helplists the query parameters (group_id,entity_type,entity_id,sort,q,embed[]...), andcreateshows the fields. See the manual, section "Example: Owners and managers of a group". aoc admin kms_profileandaoc admin saml_configuration:createandmodifyshow the fields (modify <ID> help), andlist --query=helpthe query parameters.aoc user preferences modify,aoc user notifications modify, and the same commands ofaoc admin user, show the fields.- New
aoc adminresources:distribution_listanddistribution_list_membership(lists of email addresses and groups of a user or a workspace, recipients of packages),app_collaborator(allow list of the Files and Packages apps of a workspace),connect_suppressed_permission(users and groups that use the HTTP Gateway instead of IBM Aspera Connect),client_authorization(users and groups allowed to use an API client),email_template(list,show,modify, andeffective: the templates used for the organization, a workspace or a shared inbox),trend_micro_profileandwatermark_profile, andfile_deletion_policy show(nodes of a storage,--querywithnode_id).aoc admin organization modify. New commandsaoc admin integrations list(integrations and their options: providers and regions of watermarking and Trend Micro profiles) andaoc admin integrations watermark_identity <ID>(user of a watermark), andaoc user file_upload_notifications(list,create,modify,delete).createandmodifyshow the fields, andlist --query=helpthe query parameters. aoc admin dropbox join_request <ID> list|show|approve|delete: requests to submit packages to a shared inbox made with its self registration link (approval required),approveanddelete(reject) send emails;aoc admin dropbox update_self_registration_link <ID>renews the link.aoc admin network_policy initiation_rule|access_control_rule <ID> list|create|delete: the rules of a network policy, whichasclicould not create (a policyallow_followingwithout rules blocks the transfers with all nodes); thepolicy_settingof an access control rule is optional, derived from the type of the policy as in the web app.aoc admin user invite <ID>sends again the invitation of a user.aoc admin user|group shared_folders <ID>: the shared folders that a user or a group can access, on all nodes.aoc admin kms_profile nodes <ID>.aoc packages download_counts <ID>andaoc admin package download_counts <ID>: the downloads of a package by user. In these commands, optionquerycannot change a parameter given by the command (e.g.member_id), and the objects of itsembed[]are added touser.createandmodifyofaoc admin dropboxshow the self registration fields, and those ofaoc admin network_policythe corrected fields (e.g.access_control_typedisallow_following), withlist --query=helpits query parameters.- New extended value
@date:: a date and time in UTC, ISO 8601 (e.g.2026-11-27T09:00:00Z), from an absolute date (e.g.2026-11-27 10:00:00, local time unless a time zone is given), or fromnow,today,yesterday,tomorrowoptionally followed by-or+and a duration, e.g.@date:now-24h,@date:today+9h. A duration alone, e.g.24hor3600, is refused, with a hint (usenow-24h). Embedded with@extend:in a query, e.g.--query=@json:@extend:'{"q":"last_login_at:<@date:now-730d@"}', it replaces Ruby code (@ruby:, refused at security levelsmediumandhigh). See the manual, section "Dates". The help (ascli -h) describes it and durations: it described a date syntax (now,-<num>h) not accepted since version 4.24.0. console transfer current list: query parametersfromandtoalso accept the syntax of@date:, e.g.--query=@json:'{"from":"now-2h"}'. A date without time zone is in UTC, as for Console.
Issues Fixed
console transfer current listwithoutfromandto: the default period (the last 24 hours) was computed in local time, but Console reads these dates in UTC, so the period was shifted by the offset of the local time zone, e.g. at UTC-5 the transfers of the last 5 hours were not listed.- Agent
transferd: the daemon started byasclihad no authentication: during the transfer, another user of the host could call its API on the local port. It now requires an API key: the one of parameterapi_key, else a random one, sent byascliin each call. Its configuration file, in the temporary folder, is readable only by the user (it was readable by all). A daemon left running (stopisfalse) gets the key of parameterapi_key, else it has no authentication, with a warning. server ls,du,md5sum,rm,mv,cp,mkdirwith several paths: only the result of the last path was shown, e.g.server du <PATH_A> <PATH_B>showed the size of<PATH_B>, andserver ls <FILE> <FOLDER>did not list the folder. When a path failed and another one succeeded, the error wasunexpected value: 2(the other paths were processed), and when several failed, only the last one was reported. All results are now shown, and each failed path is reported with its error, after all paths are processed.servercommands executed byascmd(ls,rm...): a path with newlines was sent as several command lines, and the lines between the first and the last one were executed as commands ofascmd(e.g.as_rm), for example with a file name made for that. A newline or NUL character in a path is now refused, as is a command longer than whatascmdreads (4094 bytes, it stopped withInternal server error). An error ofascmditself (e.g. usage) showed errno4294967295instead of-1, and a date before 1970 was wrong.servercommands executed byascmd(ls,rm,mkdir...): an error returned by the server was reported asArgument, exit code2(command line error), e.g.server browse /no-such-folder. It is now reported asascmd, with the exit code of its category:4when the file or folder is not found (also a path below a file),3when the access is refused (permissions, or a path outside the docroot), else7(error of a remote API). With several paths, the code is4or3only when all paths failed for that reason. The error numbers of a Windows server, which differ, are taken into account.aocwith--auth=weband noclient_id: the global client was used, and AoC refused the login in the browser (Add the redirect URI for your API client...).asclinow stops before opening the browser, with an error that tells to setclient_idandclient_secretof an API client of the organization. The manual stated that the default ofauthisweband the one ofredirect_uriishttp://localhost:12345: the default ofauthisjwt, andredirect_urihas no default.- Errors caused by a value given by the user were reported as a bug of
ascli:Other(Aspera::AssertError): assertion failed: ..., exit code 1, with the location in the code. For example: an element that is not a string in a list option (--plugin-folder=@json:'[1]'), parameters ofsync_info, oftransfer_infoor of the transfer spec (pathswithoutsource), ofsmtp, a--querythat is a list, package ids, the configuration file. They are now reported asArgument(exit code 2), and a shared folder not found (aoc,faspex5) asIdentifier(exit code 4). Errors of parameters found by the library of the gem, and not converted by the command, were also reported asOther(e.g.Missing mandatory option: private_keyofaocwith--auth=jwt): they are now reported asArgument. A component missing on the system is reported asEnvironment: noascpor SDK installed, font ofmagick, H.264 encoder offfmpeg, tool used for previews. - Other errors that are not a bug were also reported as
Other(<class>), with the location in the code. They are now reported without location: errors of secret references and of optionvaultasVault; a secret not found, or several secrets with the same label, in all stores, asIdentifier(exit code 4), as is a lookup by name (%name:) that matches several entities; a wrong password of the vault file, and a passcode or public link refused by Faspex 5, asAuthentication(exit code 3); parameters ofsync(local_db_dir), metadata of anaocpackage (missing mandatory field: ...), the URL ofhttpgwand afaux:path (it wasTransfer, exit code 5) asArgument(exit code 2); a graphical environment required (agentsconnectanddesktop) and the requirements of the service oftransferd(Linux with systemd, root) asEnvironment; a remote command that failed asSSH; other failures of a remote service asError. - Agent
nodewith a bearer token and noroot_id: the error saidroot_id not allowed for access key, it is required. - Agent
transferd: aurlwithout port is refused, with the expected format (the daemon was started, and the connection to it failed). - Options
log,outandnode_api: an unknown key was reported as a bug (Other(Aspera::InternalError)orassertion failed). It is now refused with its path, like for the other options with a schema, e.g.object property at `/levl` is a disallowed additional property, as is a value ofnode_apithat is not a boolean. - Option
smtp: an unknown key, or a value of a wrong type, was refused only when an email was sent: it is now refused when the option is set. The manual stated that the default ofdomainis the domain part ofserver: it is the one offrom_email. - Option
transfer: an unknown parameter, or a parameter of another agent (e.g.wsswith agentnode), was refused only when the transfer started, with the Ruby errorunknown keyword: it is now refused when the option is set. Same for parameterresumeof agentdirect, and for optionimage(out.img), refused only when an image was displayed. - Manual: option
node_apihas no parameterper_page: it is a parameter of optionquery. --transfer=nodewithouturland without defaultnodeconfiguration: the messageNo default node configured. Please specify --transfer.url or --transferwas a Ruby error (NameError, reported as a bug ofascli). It is now theArgumenterror with that message.- Plugin of a single file
<name>.rbwith_in its name (e.g.my_app.rb): help andpollmessages showed the name of the class in lower case (myapp), they now show the name of the file. mcp server: the commands sent by the client ran in the default home (~/.aspera/ascli, or envASCLI_HOME) instead of the main folder of the server (optionhome). They now run in the main folder of the server; the client still cannot change it at security levelsmediumandhigh.mcp server: the commands sent by the client could choose the configuration file with optionconfig_file, and so read, create, modify or rename a file of the server, also outsidewritable_paths. The option is now refused at security levelsmediumandhigh, and the commands of the client use the configuration file of the server.mcp server: the commands sent by the client could choose the vault with optionvault(and its password withvault_password), and so create a vault file outsidewritable_paths, or make the server connect to a host of their choice (HashiCorp Vault, Keeper, ...). The options are now refused at security levelsmediumandhigh, and the commands of the client use the vault of the server, also when it is set in a preset of its configuration file.mcp server: the commands sent by the client could start a transfer with an agent that runs on the local host (direct, a localtransferddaemon,connect,desktop,httpgw), which reads and writes local files and runs local programs. At security levelhigh(the default in MCP server mode), a transfer now uses an agent that the user controls on a remote host (node, ortransferdattached to a remote daemon): an agent that runs on the local host is refused, with a message that tells to select a remote agent. In addition, the parameters that pass raw arguments toascporssh(ascp_argsof agentdirect,ssh_argsof the transfer spec) can start a local program (for example ansshProxyCommand): they are now refused at security levelsmediumandhigh(they execute code, allowed at levellowonly).mcp server: a command sent by the client could redirect the saved credentials of the server to a host it chose: by combining a preset that holds a secret with its ownurl(theurlof the command line overrode the one of the preset, but the secret stayed from the preset, and was sent to the host of the client), by referring to the secret with@preset:<NAME>.passwordor@vault:next to its ownurl, in a preset given as aHash(--preset=@json:...), or by changing the configuration: a new preset with its ownurland a copy of the secret, or anotherurlin the preset of the server; also with anotherurlfor agentnodein optiontransfer(--transfer=@preset:<NAME> --transfer.url=...), or anotherremote_hostin optionts, which received the credentials of the transfer spec of the command (e.g. the password of aserverpreset). At levelsmediumandhigh, a secret of the configuration of the server (read from a preset or from the vault, whatever the way it is referred to, or set in the environment: optionspassword,client_secret,private_key,passphrase, and these keys andapi_keyin an option with a keyurl, such astransfer) is now sent only to aurlof the configuration (or of the environment), optiontscannot change theremote_hostof the credentials of a transfer (unless that host is in the configuration, or the credentials are given with it), and the configuration is read-only: commands that change presets or the vault are refused.mcp server: the commands sent by the client could disable or redirect the validation of a server certificate, or route through a proxy, and so intercept the connections of the server and its credentials (man-in-the-middle): optionsinsecure,ignore_certificate,cert_stores,http_proxy, and the keysca_file,verify_modeandssl_optionsof optionhttp_options. They now require security levellow: refused at levelsmediumandhigh.mcp server: the commands sent by the client could start a local server that listens on the network and serves a folder of the host or accepts transfers:node emulator(simulator),aoc gateway,faspex5 gateway. These commands, likefaspex5 postprocessing, now require security levellow: they are refused, and not listed byconfig commands, at levelsmediumandhigh.mcp server: several commands read or wrote a local path chosen by the client without the security check, so at levelhighthe client could read a file, enumerate a folder (following symbolic links), write or replace a file, or run a local program on a local file:config ascp logs,config sync admin(andserver/node sync admin),preview testandshow,orchestrator workflows importandcheck_import(read);config genkeyandconfig plugins create(write);config imagewith afile:URL (read). These paths are now checked against the security level, like@file:: refused at levelhigh, and limited toallowed_paths(read) orwritable_paths(write) at levelmedium, where a missing path and one outside the allowed paths give the same error (no path-existence oracle). At levelmedium, a file or folder found in a folder given toconfig ascp logsis skipped when it is outside ofallowed_paths(symbolic link), and the database ofsync adminis checked also when its folder (local_db_dir) or the session name comes fromsync_info. The argument-(standard input) ofconfig ascp logsread the JSON-RPC stream of the MCP server (stdio): it is now refused in MCP server mode, as@stdin:; for the other commands,-was left unchecked (a file named-), it is now a path checked as any other. Thesynctransfer commands (push,pull,bidi) run the localasyncprogram and are refused at levelhigh. Raw SQL (optionsqlofsync admin) can write a file (for exampleVACUUM INTO), and optionssdk_folder(the folderascpis run from) andtemp.folder(temp_folder, where temporary files are written) let the client choose a local path: they are refused at levelsmediumandhigh.- Option
security,writable_paths(levelsmediumandhigh, e.g.mcp server): a symbolic link in a folder ofwritable_pathsto a file that does not exist was accepted as a path to write, and the file was then created where the link points, also outsidewritable_paths(e.g. a plugin in the folderplugins). Such a link is now refused, also as a parent folder of the path. config web_login: about 1 code in 64 started with-, andascli config web_login <code>then read the code as an option (Missing argument: code). A code no longer starts with-. For Shares, install the updated patchdocs/shares/zz_saml_cli_relay_state.rb, which makes the codes on the server.sync push|pull|bidiwithsync_infoinconfformat: the remote password and token were in the command line ofasync(--conf64, base64 of the configuration), visible to the other users of the host (ps), and shown in the debug log (--log-level=debug). They are now given in environment variablesASPERA_SCP_PASSandASPERA_SCP_TOKEN, hidden in logs, and the value of--conf64is hidden in logs.- Logs at levels
debug,trace1andtrace2: some secrets were in clear. Attrace1andtrace2: the tokens of an OAuth token response (access_token,refresh_token,id_token) and the credentials of the token request (client_secret,code,code_verifier, the JWTassertion, also atdebugin the URL withfaspio --auth=jwt). Atdebug: the authorization code of a browser login, in the access log of the local web server (always withconfig web_login). At all three levels: the passcode of a Faspex 5 public link, in the context of the link (base64 JSON in the URL, given in optionurlor returned asaccess_urlbyfaspex5 invitations create|list), and the code of its login. Attrace2: the values of cookies. These values are now hidden, as are the secrets in the JSON, form or URL query bodies of HTTP requests and responses. In command output, the context of a public link given in an option (e.g.urlof a preset) is hidden too;access_urlin a result is shown. The logs no longer hide values that are not secrets, e.g."token_type": "bearer",access_key,public_key. Still in clear attrace2: a secret split across two lines of the debug output ofNet::HTTP(body over 16 KiB, or chunked). sync push|pull|bidiin continuous mode ("mode":"continuous"):asclistoppedasyncabout 10 seconds after the end of the first activity, whenasynccloses its management port (it reports each activity period as a session).asclinow waits for the end ofasync(e.g. Ctrl-C, orasyncadmin --terminate).sync admin(alsoserver/node sync admin): the snap database (snap.db) was opened read-write whileasyncmay have it open during a synchronization, so a query (for example optionsql) could modify the live database (UPDATE,DELETE, orVACUUM INTOto write a file). The database is now opened read-only, so these subcommands cannot change it.sync push|pull|bidi(confformat): the parameters of optiontransfer(and the deprecatedtransfer_info) had no effect, becauseasclialways ranasyncwith thedirectagent and its defaults. They are now passed to the agent (as for a regular transfer): forasync,quiet(asyncnative progress) andspawn_timeout_sechave an effect; theascp-only parameters (ascp_args,wss,resume, ...) do not.syncstill always uses thedirectagent, so a parameter meant for another agent (for example theurlofnode) is ignored.--transfer=transferdwithout the optional gemgrpc:asclistopped with a Ruby error and a stack trace (cannot load such file -- grpc (LoadError)). It now tells to install the gem:agent transferd requires gem grpc: gem install grpc.server: in a terminal, after a failed SSH authentication, the password was asked (<USER>@<HOST>'s password:, by Net::SSH), also with--interactive=no, so a script or a recording waited for an input instead of failing. The command now fails (SSH: Authentication failed, exit code3), and the password (or the passphrase of a key) is asked only with--interactive=yes. Parameternon_interactiveof optionssh_optionsoverrides it.- Transfer spec, parameters
exclude_newer_thanandexclude_older_than: an integer, as in the examples of the manual (hot folder,"exclude_newer_than":-8), was refused (value at /exclude_newer_than is not a string). An integer or a string of an integer is now accepted, and each agent gets the type that it reads: a string for the Node API andtransferd(the Node API ignores a number,transferdrefuses it), an integer for Connect, which ignored the string, so no file was excluded. A negative (relative) time, that Connect also ignores, is refused with agentconnect. config preset get <NAME> <PARAMETER>: a value whose extended value is not a string, e.g.@none:or@json:[1,2], gave a bug ofascli(Other(ArgumentError): text result data: expecting type String...): it is now shown as byconfig echo, e.g.<null>.config preset secure <NAME>with a preset that does not exist: it displayedSecrets secured in vaultand did nothing. It now fails withno such preset, aspreset show.GLOBALis the global default preset, as for the otherpresetcommands.- Agent
transferd: the first start of the daemon failed at times, withassertion failed: Daemon started with PID <PID>, but connection failed to 127.0.0.1:55002: the daemon did not listen yet 2 seconds after its start (e.g. first execution of its executable). The connection is now retried until the daemon answers, for up to 10 seconds, else the error names the files of its logs. - Agent
transferd: aurlwithout address (e.g.:55002, as in the manual) failed in the commands of plugintransferd(info,transfers) and for the status of asynchronous jobs (Unavailable: errors resolving :55002): address127.0.0.1is used, as by the agent. config agents jobs list: the status of the jobs not ended is queried, as withstatus: it showed the saved status, e.g.runningandbytes_transferred0for a transfer completed, untilstatuswas called. When the agent gives no status, the saved one is shown, with a warning.config agents jobs status: when the agent gave no status (e.g.Unauthenticated: missing api_key, daemon not reachable),unknownand the error replaced the saved status, and the error stayed after a later successful query. The saved status is now kept and shown with the error, the error of a previous query is removed once the agent gives the status, and a job ended (completed,failed,cancelled) is not queried again. For agentsdirectandhttpgwafter a restart ofascli, the last saved status is shown with anote(it wasunknown).- OAuth (e.g.
aoc,faspex5): a token cached for an API client was used with another API client (client_id) of the same server and user, until it expired: e.g. a test of a new client used the token of the previous one. A token is now cached for each API client. After the upgrade, a new token is generated once for each user (with--auth=web, one more login in the browser), and the files of the previous tokens are removed by the cleanup of expired tokens. - Public keys were masked (
-----BEGIN PUBLIC KEY-----***-----END PUBLIC KEY-----) in results, unless optionout.secretswasyes, e.g.config pubkey, and fieldpublic_keyoffaspex5 admin oauth_clients show, of AoC users and API clients. Only private keys are masked. aoc admin usage_reportswithworkspace_idin optionquery: the parameter was sent twice, with the current workspace and with the value of the query. It is now refused, with a message, unless it is the current workspace.aoc admin group_membership modifyis removed: AoC cannot modify a group membership (delete it and create another one).aoc admin contact show|modify|deleteandaoc user contacts show|modify|deleteare removed: they always failed (404). AoC can only list and create contacts: a contact is a user, group, shared inbox or distribution list (source_type,source_id), with no identifier of its own.aoc admin short_link showis removed: it always failed (404), AoC has noGET /short_links/{id}, and the list cannot be filtered by identifier. Uselist(--queryfilters onpurposeanduser_id), orshort_link showoffilesorpackages shared_inboxes.aoc admin auth_providers updatewas not implemented. It is replaced byshowandmodify(modify <ID> helpshows the fields:name,enabled,login_text,configuration,included_domains,excluded_domains), andlist --query=helpno longer fails.helpas value of theHashargument ofaoc admin client_access_key create|modify,client_registration_token create|modifyandoperation modifyfailed with a bug ofascli(assertion failed: schema: ...). The fields are now shown, andmodifyof all admin resources shows the fields of a modification, no longer those of a creation;workspace modify <ID> helpshows the fields of a workspace.client_access_key list --query=helpshows the query parameters (it showed none).aoc admin kms_profile,saml_configuration,configuration_policy,client_registration_tokenandshort_linkwith an identifier given by a field (%name:<NAME>) failed with500 Internal Server Error: AoC fails on parameterqof these lists, used to search the value. The value is now searched in the whole list, in the field given (e.g.%name:,%short_url:).- Manual, section "Calling AoC APIs from command line": the
curlexample failed (token without admin scope, missing option-g). It now lists the group and member names, as doesaoc admin group_membership listwith--query=@json:'{"embed[]":["group","member"]}'.
Breaking Changes
- Option
plugin_folder: the folders given replace the folderpluginsof the configuration folder (they were added to it). To use both, addDEF, e.g.--plugin-folder=DEF --plugin-folder=<FOLDER>. A warning tells when that folder has plugins and is not used. - Extended value
@env:of an environment variable that is not set is an error, with the name of the variable:environment variable <NAME> is not set(exit code 2). It wasnull, without error: a typo in the name gave a misleading error later, e.g.--password=@env:<NAME>gaveEither password, key, or transfer spec token must be provided. A preset that refers to a variable not set (@env:) fails when it is used, also when the command does not need that option. server duandserver md5sum: the result is a list with one row per path, with columnpath(it was a single object, of the last path only).server df: the column of the type of file system istype(it wasis_a).- An unknown key in options
smtp,transferandimage(out.img) is refused when the option is set: a preset with such a key makes every command fail, also one that does not send an email, transfer or display an image. An unknown key is refused (it was ignored) in optionpackage_folder(aoc), in the parameters ofnode telemetry, and in the plugin set oforchestrator plugins reload_set(it was sent to Orchestrator). - Security level
high(the default in MCP server mode) now refuses a transfer agent that runs on the local host (direct, a localtransferddaemon,connect,desktop,httpgw): a transfer uses a remote agent that the user controls (node, ortransferdwith aurlto a remote daemon). The default agent isdirect(local): on the command line, a transfer at levelhighwithout an agent is refused with a message that tells to select a remote agent (levelhighis not the default on the command line). The parameters that pass raw arguments toascporssh(ascp_argsof agentdirect,ssh_argsof the transfer spec) are refused at levelsmediumandhigh: they can start a local program, so they are allowed at levellowonly. - Security levels
mediumandhigh: a secret of the configuration (read from a preset or from the vault, or set in the environment) is sent only to aurlof the configuration (or of the environment), so optionurlon the command line with another URL than the one of the preset that carries a secret (password,client_secret,private_key,passphrase), or next to a reference to such a secret (@preset:,@vault:), is refused; so is anotherurlfor the secret of agentnodeof optiontransfer, and anotherremote_hostin optiontsfor the credentials of the transfer spec of the command (remote_password,token,ssh_private_key,ssh_private_key_passphrase), unless the credentials are given intswith it. The configuration is read-only: commands that change presets or the vault are refused (available at levellowonly):config preset set,delete,unset,initialize,update,ask,secure,config wizard,config initdemo,config vault create,delete,import,password. For example, an MCP client cannot create a preset: create it before starting the server. So the presets of the configuration are the ones of the operator: an option available at levellowonly (for exampleignore_certificate) is accepted in a default preset or in a preset given by name (--preset=<NAME>), as in the environment, and refused when the client sets it (command line, or preset given as aHash); extended values in a preset are still restricted. The command line default levellowis unaffected. - Security levels
mediumandhighrefuse the options that disable or redirect the validation of a server certificate, or route through a proxy (available at levellowonly):insecure,ignore_certificate,cert_stores,http_proxy, and the keysca_file,verify_modeandssl_optionsof optionhttp_options. - Security levels
mediumandhighrefuse the commands that start a local server (they are available at levellowonly, asfaspex5 postprocessing):node emulator(simulator),aoc gateway,faspex5 gateway. - Security levels
mediumandhigh: a command that reads or writes a local path chosen by the client checks it like@file:, refused athighand limited toallowed_paths/writable_pathsatmedium(it was not checked):config ascp logs,config/server/node sync admin,preview testandshow,config genkey,config plugins create,orchestrator workflows importandcheck_import, andconfig imagewith afile:URL.orchestrator workflows importwas not restricted before (it is read like any local file, sinceasclireads it, even though it is then sent to Orchestrator). Thesynctransfer commands (push,pull,bidi) run the localasyncprogram and are refused at levelhigh. Optionsqlofsync admin, and optionssdk_folderandtemp.folder(temp_folder), are refused at levelsmediumandhigh. Library and plugin authors: a command argument that completes to a local file or folder (complete: :fileor:folder) must now declareaccess:(:read,:write, or:nonewhen it is not a local path read or written byascli), andstdin: truewhen-is the standard input (else-is a path): the action then receives anAspera::StandardInputinstead of-(readgives the content). - Ruby library use (the
asclicommand line is unchanged): classes are renamed and files moved, with no alias at the old names, e.g.Aspera::Api::NodeisAspera::Plugins::Node::Api,Cli::OptionDeclaratorisCli::Option::Declarator. See the manual, section "Ruby Module:Aspera". - Plugins of a plugin folder:
BasicAuthandOauthare modules (they were classes): subclassCli::Plugins::Baseand writeinclude Cli::Plugins::BasicAuth(orOauth).
Server Versions
Tested with Ruby 4.0.10 on osx-arm64.
| Plugin | Product | Version |
|---|---|---|
aoc
| IBM Aspera on Cloud | SaaS |
console
| IBM Aspera Console | 3.4.12 |
faspex5
| IBM Aspera Faspex | 5.0.19 |
faspio
| IBM Aspera faspio Gateway | 1.3.7 |
httpgw
| IBM Aspera HTTP Gateway | 2.3.4 |
node
| IBM Aspera High-Speed Transfer Server (Node API) | 4.4.9.3472 |
orchestrator
| IBM Aspera Orchestrator | 4.1.6.2036-00000 |
server
| IBM Aspera High-Speed Transfer Server (SSH) | 4.4.9.3472 |
shares
| IBM Aspera Shares | 1.11.5 |
Transfer Agent Versions
| Agent | Product | Version |
|---|---|---|
connect
| IBM Aspera Connect | 4.2.16 |
desktop
| IBM Aspera for Desktop | 1.1.2 |
direct
| IBM Aspera ascp | 4.4.8.2592 |
httpgw
| IBM Aspera HTTP Gateway | 2.3.4 |
node
| IBM Aspera High-Speed Transfer Server (Node API) | 4.4.9.3472 |
transferd
| IBM Aspera Transfer Daemon | 1.1.9 |