会员登录 - 用户注册 - 设为首页 - 加入收藏 - 网站地图 微软警告数千名云服务客户:数据库或被暴露!

微软警告数千名云服务客户:数据库或被暴露

时间:2026-07-30 来源: 作者:人物春秋 阅读:次

 

我们可以使用官方 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/

 

(责任编辑:职业教育)

相关内容
  • 标签: 交个朋友控股 直播间矩阵 股权激励 精细化运营
  • 标签: 昆仑万维 OpenAI Codex Claude Code AI编程
  • 2021年数据展望,第一部分:人工智能和云数据仓库的未来
  • 美团发布Meeseeks评测基准!o3-mini霸榜,DeepSeek-R1意外垫底引发热议
  • 标签: 德林控股 区块链技术 数字资产 算力投资
  • 英特尔高管解读2021年Q1财报:数据中心业务现正处于最低谷
  • Arc 继任者 Dia 正式发布 macOS:内置“AI 技能”系统,每月拥抱无限制聊天
  • 国产大模型崛起,智能体引领 AI 新时代!
推荐内容
  • Hyland 推出企业级 AI 引擎和智能代理网,助力自动化革新
  • 标签: 五一视界 51Aes 51Sim 51Earth
  • 标签: 剂泰科技 NanoForge MTS-004 AI制药
  • 未来一年商业智能的发展前景如何?
  • 认识人和鱼的AI,能识别美人鱼吗?阿里CVPR论文因果推理方法解答
  • 谷歌研究院最新发现:训练结果不准确,超大数据规模要背锅!