微软警告数千名云服务客户:数据库或被暴露
我们可以使用官方 sentry-cli 工具操作 Sentry API,从而来为你的项目管理一些数据。它主要用于管理 iOS、Android 的调试信息文件,以及其他平台的版本(release)和源代码映射(source maps)管理。 安装 Docker 镜像 默认情况下,该命令在 /work 目录中运行。挂载相关的你的项目文件夹并在那里构建输出以允许 sentry-cli 扫描资源: # 拉取镜像 docker pull getsentry/sentry-cli # 执行命令 docker run --rm -v $(pwd):/work getsentry/sentry-cli --help # sentry-cli 1.68.0 # Command line utility for Sentry. # This tool helps you manage remote resources on a Sentry server like # sourcemaps, debug symbols or releases. Use `--help` on the subcommands # to learn more about them. # USAGE: # sentry-cli # OPTIONS: # --api-key <API_KEY> # The given Sentry API key. # --auth-token <AUTH_TOKEN> # Use the given Sentry auth token. # -h, --help # Print this help message. # --log-level <LOG_LEVEL> # Set the log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the Sentry server. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SUBCOMMANDS: # bash-hook Prints out a bash script that does error handling. # difutil Locate or analyze debug information files. # help Prints this message or the help of the given subcommand(s) # info Print information about the Sentry server. # issues Manage issues in Sentry. # login Authenticate with the Sentry server. # projects Manage projects on Sentry. # react-native Upload build artifacts for react-native projects. # releases Manage releases on Sentry. # repos Manage repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging information files. # upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件 sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。 .sentryclirc [auth] token=your-auth-token [defaults] org=sentry project=react-sentry-demo url=https://x.xxx.com 进入容器内 创建一个新版本: docker run --rm -it -v $(pwd):/work getsentry/sentry-cli /bin/sh sentry-cli releases new 1.0.0 Refs https://docs.sentry.io/product/cli/
- 最近发表
- 随机阅读
-
- Claude客户端更新了,支持截图发给 Claude、快捷键语音交流
- 云计算核心技术Docker教程:Docker 守护进程dockerd socket选项
- 让Transformer的推理速度提高4.5倍,这个trick还能给你省十几万
- 标签: 洗碗机
- 标签: 徕芬 刘璇 智能戒指 Apple Watch
- 标签: 麦迪克 自动轮智行底盘 靳立强 新能源智能网联汽车
- 最耐用的3款苹果手机,果粉表示找不到换手机的理由!
- 发生在UPS电源使用中的几种常见报警
- 标签: 摩根士丹利 股票交易 财富管理 投行业务
- 标签: 奇瑞商用车 江某 职场骚扰 职场霸凌
- 怎样最好地利用数据实现多样性、公平性和包容性
- 美团发布 LongCat-Video 视频生成模型,开实现时序一致性与物理运动合理性
- Reddit 测试新功能:用户可在应用内阅读文章并查看评论
- 消息称约90%苹果私有云算力被闲置
- 人工智能主播(AI主播):只能突破你想象
- 国际权威大奖GCAs揭晓 秦淮数据包揽数据中心类两项大奖
- 云计算开发:Python内置函数-memoryview()函数详解
- 15岁的Twitter渴望蜕变 艰难商业化之路能否迎来曙光?|海外周选
- 云原生初体验:在K8s上部署Springboot应用
- 腾讯成立云智服科技公司,经营范围含数字内容制作服务等
- 搜索
-
- 友情链接
-