Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@adobe/aio-cli-plugin-api-mesh
Advanced tools
Adobe I/O CLI plugin to develop and manage API mesh sources
To install a revision from this repository:
$ aio plugins:install @adobe/aio-cli-plugin-api-mesh
To install globally from a released npm package:
$ aio plugins:install -g @adobe/aio-cli-plugin-api-mesh
To discover available aio packages:
$ aio discover -i
Install project dependencies. yarn install
aio plugins:link api-mesh
The plugin comes out of the box with configurations for stage and prod. The plugin by default connects to PROD dev console. To connect to STAGE instead:
aio config clear
aio config set cli.env stage
If you want to have custom configuration instead, please follow the steps below:
{
"baseUrl": "<base_url>",
"apiKey": "<api_key>",
"sourceRegistry: {
"path": "<path_to_the_source_registry_storage>"
}
}
aio config:set api-mesh.cliConfig <path_to_json_file>
aio api-mesh:describe
aio api-mesh:get
aio api-mesh:get PATH_OF_FILE_TO_DOWNLOAD_INTO
aio api-mesh:create PATH_OF_MESH_CONFIG_JSON_FILE
aio api-mesh:update PATH_OF_MESH_CONFIG_JSON_FILE
aio api-mesh:delete
aio api-mesh:status
All commands support -i
or --ignoreCache
flag that will force the CLI to ignore the cached Org, Project and Workspace details and prompt the user to select new options just for that action.
Create, Update and Delete support -c
or --autoConfirmAction
flag that will not prompt the user for action confirmation mostly used for testing or scaffolding where user prompt can not be handled. This flag is only to be used in certain situations.
Source registry is a collection of predefined sources (API mesh source configurations) that are created to solve specific use cases. The source can be installed for customer-specific API mesh configuration.
To submit a new source, please follow the instructions provided in the Source Registry repository.
aio api-mesh:source:install SOURCE_NAME
aio api-mesh:source:install SOURCE_NAME -v VARIABLE_NAME=VARIABLE_VALUE
aio api-mesh:source:install SOURCE_NAME -f PATH_TO_FILE_WITH_VARIABLES
aio api-mesh:source:get SOURCE_NAME
aio api-mesh:source:get SOURCE_NAME@VERSION_OF_THE_SOURCE
aio api-mesh:source:get -m
aio api-mesh:source:discover
The "source:get" command accept multiple sources per one call.
Example:
aio api-mesh:source:get -m <NAME_OF_THE_SOURCE>@<VERSION_OF_THE_SOURC><NAME_OF_THE_SECOND_SOURCE>@<VERSION_OF_THE_SOURC>
<NAME_OF_THE_THIRD_SOURCE>@<VERSION_OF_THE_SOURC>
All commands support -i
or --ignoreCache
flag that will force the CLI to ignore the cached Org, Project and Workspace details and prompt the user to select new options just for that action.
Create, Update and Delete support -c
or --autoConfirmAction
flag that will not prompt the user for action confirmation mostly used for testing or scaffolding where user prompt can not be handled. This flag is only to be used in certain situations.
FAQs
Adobe I/O CLI plugin to develop and manage API mesh sources
The npm package @adobe/aio-cli-plugin-api-mesh receives a total of 132 weekly downloads. As such, @adobe/aio-cli-plugin-api-mesh popularity was classified as not popular.
We found that @adobe/aio-cli-plugin-api-mesh demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.