@sentry/cli
Advanced tools
+10
-7
@@ -1,7 +0,10 @@ | ||
| sentry-cli-Linux-aarch64=30f95cf10ff96bdbbfdc1a25a7b65ee0a7f906f2c380c0cdde185d14d5535246 | ||
| sentry-cli-Linux-armv7=ae2c0ecee950055b388817bdb6dd543730c36d6def8794252c00314c3f0a7e18 | ||
| sentry-cli-Linux-i686=4a36158a3140a26e1e8fbbb72f80a836df3f49ebcb5787e05b360e0f9ee01b3c | ||
| sentry-cli-Linux-x86_64=645e64af49e68a285b66d7ddf440d06b76f8a5603797060f61c0c487ac7e2a89 | ||
| sentry-cli-Windows-aarch64.exe=ae190527ff55ed70c028d033408f446fa99c87b9fabe0ea7b1a336851940b77a | ||
| sentry-cli-Windows-i686.exe=024a72a8ff6e076cd500c17086a7a146dfb59e9469936eb16b8a1ba31cf7394a | ||
| sentry-cli-Windows-x86_64.exe=e26c363d45c572c6ae133a913657f995d171f7179aa221371da81966b0d5d2ef | ||
| sentry-cli-Darwin-arm64=3f5065e7177188f9c193c66ca788eb956ef95a864845876552c51f5aa577ed30 | ||
| sentry-cli-Darwin-universal=5a1c1121b45c48504d2ae58af11c743c5663ea8979db3258961838a16cf90c08 | ||
| sentry-cli-Darwin-x86_64=87149438e1c4becdb54a8302832cacc9429638eadefd09d370b4806bec20a078 | ||
| sentry-cli-Linux-aarch64=672cb986b0c5d84ef724f39b3aa189be802bceb8bc7dc8c5776a0ca90fcf41bd | ||
| sentry-cli-Linux-armv7=e8df469ae35f6d8cd788fe2967c5420633bb09348ad09953d5176615cf1bead0 | ||
| sentry-cli-Linux-i686=1b05efec7bc2ebf4dca8f3e6ededa8ffedf8ee2dd49e23d434a20885bc9a50cf | ||
| sentry-cli-Linux-x86_64=a4932b4315b192b3d037678a16eb2a5a8731609f671fc4008e643b85c3c74cb6 | ||
| sentry-cli-Windows-aarch64.exe=4e18e8d293366096d26573e31d03544ea16d9310f12450db1618ba55acfef8c4 | ||
| sentry-cli-Windows-i686.exe=e7314b4b95b969378a46be45b087dfe8cc5c017aceb43a5bbcab3d5e7d6730ea | ||
| sentry-cli-Windows-x86_64.exe=6183f8ef1d4823290ba95656654714a3c5c216914229b3914acd99a8b4be812d |
+10
-10
| { | ||
| "name": "@sentry/cli", | ||
| "version": "2.58.3", | ||
| "version": "2.58.4", | ||
| "description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/", | ||
@@ -35,13 +35,13 @@ "repository": "git://github.com/getsentry/sentry-cli.git", | ||
| "optionalDependencies": { | ||
| "@sentry/cli-darwin": "2.58.3", | ||
| "@sentry/cli-linux-arm": "2.58.3", | ||
| "@sentry/cli-linux-arm64": "2.58.3", | ||
| "@sentry/cli-linux-i686": "2.58.3", | ||
| "@sentry/cli-linux-x64": "2.58.3", | ||
| "@sentry/cli-win32-i686": "2.58.3", | ||
| "@sentry/cli-win32-x64": "2.58.3", | ||
| "@sentry/cli-win32-arm64": "2.58.3" | ||
| "@sentry/cli-darwin": "2.58.4", | ||
| "@sentry/cli-linux-arm": "2.58.4", | ||
| "@sentry/cli-linux-arm64": "2.58.4", | ||
| "@sentry/cli-linux-i686": "2.58.4", | ||
| "@sentry/cli-linux-x64": "2.58.4", | ||
| "@sentry/cli-win32-i686": "2.58.4", | ||
| "@sentry/cli-win32-x64": "2.58.4", | ||
| "@sentry/cli-win32-arm64": "2.58.4" | ||
| }, | ||
| "scripts": { | ||
| "postinstall": "npm run install-cli", | ||
| "postinstall": "node ./scripts/install.js", | ||
| "build": "tsc", | ||
@@ -48,0 +48,0 @@ "install-cli": "node ./scripts/install.js", |
+5
-117
@@ -11,124 +11,12 @@ <p align="center"> | ||
| # Official Sentry Command Line Interface | ||
| # Sentry CLI | ||
| [](https://github.com/getsentry/sentry-cli/actions?query=workflow%3ACI) | ||
| [](https://github.com/getsentry/sentry-cli/releases/latest) | ||
| [](https://www.npmjs.com/package/@sentry/cli) | ||
| [](https://github.com/getsentry/sentry-cli/blob/master/LICENSE) | ||
| This is the repository for Sentry CLI, the official command line interface for Sentry. | ||
| This is a Sentry command line client for some generic tasks. Right now this is | ||
| primarily used to upload debug symbols to Sentry if you are not using the | ||
| Fastlane tools. | ||
| Sentry CLI can be used for many tasks, including uploading debug symbols and source maps to Sentry, managing releases, and viewing Sentry data such as issues and logs. | ||
| * Downloads can be found under | ||
| [Releases](https://github.com/getsentry/sentry-cli/releases/) | ||
| * Documentation can be found [here](https://docs.sentry.io/hosted/learn/cli/) | ||
| ## Installation and Usage | ||
| ## Installation | ||
| Please refer to [Sentry CLI's documentation page](https://docs.sentry.io/cli/). | ||
| If you are on macOS or Linux, you can use the automated downloader which will fetch the latest release version for you and install it: | ||
| curl -sL https://sentry.io/get-cli/ | bash | ||
| We do, however, encourage you to pin the specific version of the CLI, so your builds are always reproducible. | ||
| To do that, you can use the exact same method, with an additional version specifier: | ||
| curl -sL https://sentry.io/get-cli/ | SENTRY_CLI_VERSION=2.33.1 bash | ||
| This will automatically download the correct version of `sentry-cli` for your operating system and install it. If necessary, it will prompt for your admin password for `sudo`. For a different installation location or for systems without `sudo` (like Windows), you can `export INSTALL_DIR=/custom/installation/path` before running this command. | ||
| If you are using `sentry-cli` on Windows environments, [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist) is required. | ||
| To verify it’s installed correctly you can bring up the help: | ||
| sentry-cli --help | ||
| ### pip | ||
| _New in 2.14.3_: `sentry-cli` can also be installed using `pip`: | ||
| ```bash | ||
| pip install sentry-cli | ||
| ``` | ||
| ### Node | ||
| Additionally, you can also install this binary via npm: | ||
| npm install @sentry/cli | ||
| When installing globally, make sure to have set | ||
| [correct permissions on the global node_modules directory](https://docs.npmjs.com/getting-started/fixing-npm-permissions). | ||
| If this is not possible in your environment or still produces an EACCESS error, | ||
| install as root: | ||
| sudo npm install -g @sentry/cli --unsafe-perm | ||
| By default, this package will download sentry-cli from the CDN managed by [Fastly](https://www.fastly.com/). | ||
| To use a custom CDN, set the npm config property `sentrycli_cdnurl`. The downloader will append | ||
| `"/<version>/sentry-cli-<dist>"`. | ||
| ```sh | ||
| npm install @sentry/cli --sentrycli_cdnurl=https://mymirror.local/path | ||
| ``` | ||
| Or add property into your `.npmrc` file (https://www.npmjs.org/doc/files/npmrc.html) | ||
| ```rc | ||
| sentrycli_cdnurl=https://mymirror.local/path | ||
| ``` | ||
| There are a few environment variables that you can provide to control the npm installation: | ||
| ``` | ||
| SENTRYCLI_CDNURL=<url> # Use alternative cdn url for downloading binary | ||
| SENTRYCLI_USE_LOCAL=1 # Use local instance of sentry-cli binary (looked up via $PATH environment) | ||
| SENTRYCLI_SKIP_DOWNLOAD=1 # Skip downloading binary entirely | ||
| SENTRYCLI_NO_PROGRESS_BAR=1 # Do not print the progress bar when downloading binary (default for non-TTY environments like CI) | ||
| SENTRYCLI_LOG_STREAM=<stdout|stderr> # Changes where to redirect install script output | ||
| ``` | ||
| When using `sentry-cli` via JavaScript API or any 3rd party plugin that is consuming said API, | ||
| you can also use `SENTRY_BINARY_PATH=<path>` alongside `SENTRYCLI_SKIP_DOWNLOAD=1` to completely | ||
| control what binaries are downloaded and used throughout the whole process. | ||
| If you're installing the CLI with NPM from behind a proxy, the install script will | ||
| use either NPM's configured HTTPS proxy server or the value from your `HTTPS_PROXY` | ||
| environment variable. | ||
| ### Homebrew | ||
| A homebrew recipe is provided in the `getsentry/tools` tap: | ||
| brew install getsentry/tools/sentry-cli | ||
| ### Docker | ||
| As of version _1.25.0_, there is an official Docker image that comes with | ||
| `sentry-cli` preinstalled. If you prefer a specific version, specify it as tag. | ||
| The latest development version is published under the `edge` tag. In production, | ||
| we recommend you to use the `latest` tag. To use it, run: | ||
| ```sh | ||
| docker pull getsentry/sentry-cli | ||
| docker run --rm -v $(pwd):/work getsentry/sentry-cli --help | ||
| ``` | ||
| Starting version _`2.8.0`_, in case you see `"error: config value 'safe.directory' was not found;"` message, | ||
| you also need to correctly set UID and GID of mounted volumes like so: | ||
| ```sh | ||
| docker run --rm -u "$(id -u):$(id -g)" -v $(pwd):/work getsentry/sentry-cli --help | ||
| ``` | ||
| This is required due to security issue in older `git` implementations. See [here](https://github.blog/2022-04-12-git-security-vulnerability-announced/) for more details. | ||
| ## Update | ||
| To update sentry-cli to the latest version run: | ||
| ```sh | ||
| sentry-cli update | ||
| ``` | ||
| ## Compiling | ||
@@ -135,0 +23,0 @@ |
Install scripts
Supply chain riskInstall scripts are run when the package is installed or built. Malicious packages often use scripts that run automatically to execute payloads or fetch additional code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 13 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed or built. Malicious packages often use scripts that run automatically to execute payloads or fetch additional code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 13 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
85125
-4.94%40
-73.68%