ServiceNow 变更请求管理
servicenow-change-management
当 Zava Learning 调查产生了需要变更管理的持久性修复时使用——在为基础设施即代码或应用代码的根本原因打开 GitHub PR 之后,提出引用该 PR 的 ServiceNow 变更请求并附上 RCA 报告。是 ServiceNow 变更请求及附件操作的唯一负责方。
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 189
- Forks
- 198
01 前言 Front Matter
- name
- servicenow-change-management
- tools
- [ "CreateServiceNowChangeRequest", "UploadServiceNowAttachment" ]
- metadata
- { "kind": "Skill", "api_version": "azuresre.ai/v2" }
- description
- Use whenever a Zava Learning investigation produces a durable fix that needs change management — after a GitHub PR is opened for an Infrastructure-as-Code or application code root cause, raise a ServiceNow Change Request referencing the PR and attach the RCA report. The single owner of ServiceNow Change Request and attachment operations.
03 SKILL.md 正文
Zava Learning — ServiceNow Change Management
Use this skill to record a durable remediation in ServiceNow once the root cause is fixed in code or
IaC. It is the single owner of ServiceNow Change Request and attachment operations, and applies
after a GitHub PR has been opened (by pr-delivery) for the durable fix.
When to use
- A connectivity/edge or application incident has been root-caused to an IaC (
infra/) or application (src/) change, and a GitHub PR has been opened with the fix. - An operator explicitly asks to open a Change Request or attach an RCA to an existing record.
Do not raise a Change Request for live mitigations alone (deleting an NSG rule, restarting/rolling back a revision) — those are tracked as PagerDuty incident notes. The Change Request tracks the durable code/IaC fix.
Steps
- Create the Change Request with
CreateServiceNowChangeRequest:short_description: one-line summary of the change (symptom + fix).description: the RCA summary including the GitHub PR URL.change_type:normal(default),standard, oremergencyfor active customer-impacting fixes.implementation_plan/riskas appropriate.- Capture the returned change
number(e.g.CHG0030042),sys_id, and the ready-to-use clickablelinkthe tool returns. Surface the CR in the Artifacts & links section as a markdown hyperlink[<number>](<link>)using that returnedlink— never the bare CHG number, which is not clickable. (Do not try to build the URL from aSERVICENOW_URLenv var — it is not available in the agent environment; the tool already returns the full clickablelink.)
- Attach the RCA with
UploadServiceNowAttachment:table_sys_id: the Change Requestsys_idfrom step 1.file_name: e.g.rca-<symptom>.md.content: the full RCA report (timeline, root cause, fix, verification).
- Reference the Change Request number back in the PagerDuty incident notes and the GitHub PR.
Notes
- Apply the
zava-redactionstandard to thedescription,implementation_plan, and the attached RCA before submitting — mask any secret, token, connection string, or learner PII as[REDACTED:<CLASS>]. The Change Request and its attachment are operator-visible records. - Credentials (
SERVICENOW_URL/USER/PASS) are injected from the agent environment (Key Vault-backed); never request or hardcode them. - If ServiceNow credentials are not configured, the tools return
success: false— report that the Change Request could not be created and continue the incident lifecycle in PagerDuty.
04 同仓库更多 Skills
Zava 事件分析报告生成
zava-reporting
用于将已完成的 Zava Learning 事件分析打包呈现给受众。首先呈现带品牌标识的线程内执行摘要(内联前后对比视觉效果的 markdown),然后生成可下载的交付物——PowerPoint 演示文稿、HTML 电子邮件和 Teams 通知,使用 Zava 企业模板。调用的 agent 可将其缩小为子集(例如仅 HTML 报告)。产出内容和工件;它不负责发送。组装 rca-analysis、evidence-before-after、recommendations-next-steps 和 pr-delivery 的输出。
Zava 治理审计报告生成
zava-audit-report
用于将已完成的 Zava Learning 每周治理审计(NSG/网络安全、RBAC/最小权限或云成本)打包成一份采用 Zava 企业风格、带品牌标识的可下载 PowerPoint 演示文稿。调用的审计 agent 传入其发现结果(带严重级别的条目列表)和简短的安全态势摘要;本技能渲染演示文稿、应用脱敏处理,并返回附件下载链接。产出工件本身;它不负责发送。
敏感信息脱敏
redaction-guard
每当要输出操作员可见的内容时使用——聊天/话题消息、PagerDuty 或 ServiceNow 记录、提交信息或拉取请求正文,或任何报告制品(HTML、PowerPoint、Teams 卡片)。确定性地屏蔽密钥、凭证、令牌、私钥、URI 中嵌入的密码以及个人身份信息(PII),确保它们不会出现在对话或任何交付物中。这是一项横切护栏,由产生输出的技能调用,而非一个操作手册步骤。
事件改进建议
recommendations-next-steps
用于为 Zava Learning 事件生成前瞻性的建议和后续步骤——包括按优先级排序的预防性、检测性和流程性行动,并附带负责人、目标日期和不采取行动的风险。其输出用于 zava-reporting 交付物。
事件根因分析
rca-analysis
用于为已解决或已缓解的 Zava Learning 事件生成根因分析叙述——包括事件时间线、触发因素与潜在根因(5-Whys)、促成因素以及如何呈现这些内容。定义 RCA 章节格式;其输出用于前后对比、建议和报告等交付物。
RBAC 最小权限审计
rbac-audit
当操作员或定时任务请求对 Zava Learning 资源组进行周期性 RBAC/最小权限审计时使用——枚举该组上实际生效的角色分配,将每个身份与实际的活动日志(Activity-Log)使用情况关联,以发现从未使用过的长期访问权限,标记权限过高、直接分配(而非通过组管理)的身份以及过期的故障排查访问权限,并推荐最小权限的修正措施。只读;生成用于报告的审计发现。