Skip to content

v1.2.1

Choose a tag to compare

@sooua sooua released this 03 Nov 15:10
· 4 commits to main since this release

Before you upgrade

  • 1.2.0 installs can update from Settings › Online update. 1.1.x installs still
    have to re-run the installer.
  • The first start builds a new index on the ticket table online, without locking
    it, and adds one column. On large ticket tables the index takes longer to
    build; in our test it took about 3 seconds for 3 million tickets.
  • Expect about 25 seconds of downtime. This includes restarting PostgreSQL and
    Redis, which happens when the bundle brings newer images of them.
  • Going back to 1.2.0: rst-update.sh --rollback refuses because 1.2.1 has run
    database migrations. These migrations only add an index and an empty column,
    and 1.2.0 runs on them unchanged. To go back without restoring a backup, set
    APP_IMAGE_TAG=1.2.0 in .env and run docker compose up -d app. Before you
    do, clear the topic ID on every Telegram channel that uses a fixed topic.
    Otherwise all event notifications to that channel fail on 1.2.0 with
    "Telegram 渠道 chatId 无效" (invalid chat ID), and its ticket notices go to the
    group's General topic. GET /api/open/tickets does not exist in 1.2.0, so
    SIEM pulls stop until you upgrade again.

New

  • Open API GET /api/open/tickets lets a SIEM pull ticket changes since its last
    poll, for example to close Splunk ES notables when their tickets are resolved.
    It needs an API key with the new tickets:sync scope, which you select
    separately. Keys with only tickets:read get 403, and so does the old webhook
    secret. Tickets carry their closure code but not the closure note. Public
    comments by service desk staff are signed "Service desk". See
    docs/alert-ingestion.md §10 for polling.
  • GET /api/open/tickets/:id also returns closureCode and resolvedAt.
  • Telegram channels can post into one existing topic of the group: set the topic
    ID on the channel. Every ticket gets one message in that topic, and its updates
    reply to it. On-call messages from the channel go to the same topic.

Changes

  • A public reply now updates the ticket's last-updated time: replies from the
    service portal, the requester's email replies, and public comments added by
    automation. So does a new Splunk notable that is merged into an open ticket.
    Lists sorted by last update and the ticket board (most recently updated first)
    reorder accordingly. Internal notes do not change it.

Security

  • Updated several dependencies to fix published security advisories.

Download and install

File Description
SignalDesk-1.2.1.tar.gz Offline bundle (app image and deployment files; Community Edition without a license, Enterprise Edition once one is imported)
SignalDesk-1.2.1.tar.gz.sha256 SHA-256 checksum
install.sh One-line installer
curl -fsSL https://github.com/reallysec/signaldesk/releases/download/v1.2.1/install.sh | sudo bash -s -- --version 1.2.1
中文说明

升级须知

  • 1.2.0 可在 设置 › 在线更新 中直接更新。1.1.x 仍须重跑安装脚本升级。
  • 首次启动会在线为工单表建一个新索引(不锁表),并加一列。工单表很大时建索引会多花一些时间,
    实测 300 万张工单约 3 秒。
  • 预计停机约 25 秒,其中包括 PostgreSQL 与 Redis 的重启(交付包带了它们更新的镜像时会重启)。
  • 回到 1.2.0:1.2.1 执行过数据库迁移,rst-update.sh --rollback 会拒绝。这两份迁移只加了一个索引和一个空列,
    1.2.0 照常能跑,不必还原备份:把 .env 的 APP_IMAGE_TAG 改成 1.2.0 后执行 docker compose up -d app。
    回退前先把所有「指定话题」的 Telegram 渠道的话题 ID 清空,否则在 1.2.0 上这些渠道的事件通知会全部失败,
    提示「Telegram 渠道 chatId 无效」,工单通报也会发到群的 General。1.2.0 没有 GET /api/open/tickets,
    回退期间 SIEM 回拉会中断,重新升级后恢复。

新功能

  • 开放 API GET /api/open/tickets:SIEM 按上次轮询之后的变化回拉工单,例如工单解决后关闭对应的 Splunk ES notable。
    调用的 API Key 须单独勾选新作用域 tickets:sync;只有 tickets:read 的 Key 返回 403,旧的 Webhook 接入凭据同样不能用。
    返回结案码,不返回结案说明;服务台成员的对外评论统一署名「服务台」。轮询方法见 docs/alert-ingestion.md 第 10 节。
  • GET /api/open/tickets/:id 新增返回 closureCode 与 resolvedAt。
  • Telegram 渠道可指定群里一个已有话题:在渠道上填话题 ID,每张工单在该话题里发一条消息,后续进展回复在它下面。
    该渠道的值班消息也发进这个话题。

行为变化

  • 工单收到对外回复时会刷新更新时间:服务门户的回复、报单人的邮件回信、自动化写入的对外评论。
    新的 Splunk notable 并入未结案工单时也会刷新。按更新时间排序的列表与工单看板(最近更新的在前)会随之变化。内部备注不刷新。

安全

  • 更新了几个依赖,修复已公开的安全公告。

下载与安装

文件 说明
SignalDesk-1.2.1.tar.gz 离线一体包(应用镜像 + 部署文件;不导入许可为社区版,导入许可为企业版)
SignalDesk-1.2.1.tar.gz.sha256 SHA-256 校验文件
install.sh 一行安装脚本
curl -fsSL https://github.com/reallysec/signaldesk/releases/download/v1.2.1/install.sh | sudo bash -s -- --version 1.2.1