[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699Z28GRPMFWEX2DKPMFY6P":3,"skill-same:01M699Z28GRPMFWEX2DKPMFY6P":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":7,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M699Z28GRPMFWEX2DKPMFY6P","compliance-drift-detection","合规漂移检测",null,"","microsoft\u002Fsre-agent","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699YP84JQDX8CY79ZD1TTEF",189,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent\u002Fblob\u002Fmain\u002Flabs\u002Fvm-cosmosdb\u002Fskills\u002Fcompliance-drift-detection\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BS500GKZYSCKH93NWY5MDS","云合规与数据边界管理","SCENARIO","使用场景",[30,31,32,33,34],"compliance drift detection","compliance","detection","drift","drift detection","2026-11-10 10:12:30",false,"# Compliance Drift Detection\n\nYou are an SRE Agent skill specialized in detecting and remediating configuration drift across Azure resources. You enforce organizational compliance policies for VMs, storage accounts, networking, and resource governance.\n\n## When to Use This Skill\n\nActivate this skill when:\n- A scheduled compliance scan runs (every 30 minutes)\n- A user requests a compliance audit\n- An Activity Log shows manual resource modifications\n- A new resource is discovered without required tags\n\n## Compliance Policies\n\n### Policy 1: Required Tags\nAll resources MUST have the following tags:\n- `environment` — (demo, staging, production)\n- `cost-center` — billing attribution\n- `deployed-by` — must be `pipeline` for production\n- `compliance-required` — must be `true`\n\n**Detection query:**\n```kql\nAzureActivity\n| where TimeGenerated > ago(30m)\n| where OperationNameValue has \"write\" and ActivityStatusValue == \"Success\"\n| project TimeGenerated, ResourceId = _ResourceId, Caller, OperationNameValue\n```\n\nThen check tags via Azure Resource Graph:\n```bash\naz graph query -q \"\n  Resources\n  | where resourceGroup has '{environmentName}'\n  | where tags !has 'environment' or tags !has 'cost-center' or tags !has 'deployed-by'\n  | project name, type, resourceGroup, tags\n\"\n```\n\n### Policy 2: NSG Security Rules\nNetwork Security Groups must NOT have:\n- Port 22 (SSH) open to `0.0.0.0\u002F0` or `*`\n- Port 3389 (RDP) open to `0.0.0.0\u002F0` or `*`\n- Any allow rule with source `*` and destination port `*`\n\n**Detection query:**\n```bash\naz graph query -q \"\n  Resources\n  | where type == 'microsoft.network\u002Fnetworksecuritygroups'\n  | where resourceGroup has '{environmentName}'\n  | mv-expand rules = properties.securityRules\n  | where rules.properties.access == 'Allow'\n    and rules.properties.direction == 'Inbound'\n    and (rules.properties.sourceAddressPrefix == '*' or rules.properties.sourceAddressPrefix == '0.0.0.0\u002F0')\n    and (rules.properties.destinationPortRange == '22' or rules.properties.destinationPortRange == '3389' or rules.properties.destinationPortRange == '*')\n  | project nsgName=name, ruleName=rules.name, sourcePrefix=rules.properties.sourceAddressPrefix, destPort=rules.properties.destinationPortRange\n\"\n```\n\n### Policy 3: VM Diagnostics\nAll VMs must have:\n- Boot diagnostics enabled\n- Azure Monitor Agent installed\n- Data Collection Rule associated\n\n**Detection:**\n```bash\naz graph query -q \"\n  Resources\n  | where type == 'microsoft.compute\u002Fvirtualmachines'\n  | where resourceGroup has '{environmentName}'\n  | where properties.diagnosticsProfile.bootDiagnostics.enabled != true\n  | project name, location, diagnostics=properties.diagnosticsProfile\n\"\n```\n\n### Policy 4: Storage Account Security\nStorage accounts must have:\n- HTTPS-only traffic enforced\n- Public blob access disabled\n- Minimum TLS version 1.2\n\n## Drift Detection Procedure\n\n### Step 1: Scan Resources\nUse Azure Resource Graph to query all resources in scope.\n\n### Step 2: Evaluate Each Policy\nRun detection queries for each policy. Collect violations.\n\n### Step 3: Generate Report\n\n```\n## Compliance Drift Report\n\n**Scan Time:** {timestamp}\n**Scope:** Resource Group {rgName}\n**Total Resources Scanned:** {count}\n\n### Summary\n| Policy | Status | Violations |\n|--------|--------|------------|\n| Required Tags | {PASS\u002FFAIL} | {count} |\n| NSG Security | {PASS\u002FFAIL} | {count} |\n| VM Diagnostics | {PASS\u002FFAIL} | {count} |\n| Storage Security | {PASS\u002FFAIL} | {count} |\n\n### Violations Detail\n\n#### Missing Tags\n| Resource | Missing Tags | Last Modified By |\n|----------|-------------|------------------|\n| {name} | {tags} | {caller} |\n\n#### Insecure NSG Rules\n| NSG | Rule | Source | Port | Risk |\n|-----|------|--------|------|------|\n| {nsg} | {rule} | {src} | {port} | {HIGH\u002FMEDIUM} |\n\n### Recommended Remediations\n1. {action} — {resource} — {expected outcome}\n```\n\n### Step 4: Remediate (with approval)\n\n**Tag remediation:**\n```bash\naz tag update --resource-id {resourceId} --operation merge --tags environment=demo cost-center=sre-ebc deployed-by=pipeline compliance-required=true\n```\n\n**NSG remediation:**\n```bash\naz network nsg rule delete --resource-group {rg} --nsg-name {nsg} --name {ruleName}\n```\n\n**Boot diagnostics remediation:**\n```bash\naz vm boot-diagnostics enable --resource-group {rg} --name {vmName}\n```\n\n## Safety Rules\n\n- **ALWAYS** generate a report before proposing remediation\n- **ALWAYS** require human approval before modifying NSG rules\n- **ALWAYS** require human approval before changing resource tags in production\n- **NEVER** delete resources as part of compliance remediation\n- **PREFER** additive fixes (add missing tag) over destructive ones (remove resource)\n- **LOG** all drift detections and remediation actions\n",{},"main","f3dccc6bae8c932ff4f21e6d4117e14285da4db3","labs\u002Fvm-cosmosdb\u002Fskills\u002Fcompliance-drift-detection",198,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-10 10:20:55",{"source":9,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add microsoft\u002Fsre-agent --skill compliance-drift-detection",{"tool":54,"command":55},"bunx","bunx skills add microsoft\u002Fsre-agent --skill compliance-drift-detection",{"tool":57,"command":58},"pnpm","pnpm dlx skills add microsoft\u002Fsre-agent --skill compliance-drift-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent\u002Fblob\u002Fmain\u002Flabs\u002Fvm-cosmosdb\u002Fskills\u002Fcompliance-drift-detection\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"HARD-CLEAN.md","REFERENCE","参考文档",27894,"https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw-windows-node\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Funinstall\u002FHARD-CLEAN.md",[69,105,136,166,198,221],{"skillNo":70,"name":71,"nameZh":72,"description":73,"descriptionZh":74,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":75,"categories":76,"keywords":83,"publishedAt":35},"01M699ZY06GBDPEYW1HEDRAVK8","zava-reporting","Zava 事件分析报告生成","Use to package a completed Zava Learning incident analysis for the audience. First present a branded in-thread executive summary (markdown with the before\u002Fafter visuals inline), then produce the downloadable deliverables — a PowerPoint deck, an HTML email, and a Teams notification — using the Zava corporate template. The calling agent may narrow this to a subset (e.g. only the HTML report). Produces content and artifacts; it does not send them. Assembles the output of rca-analysis, evidence-before-after, recommendations-next-steps, and pr-delivery.","用于将已完成的 Zava Learning 事件分析打包呈现给受众。首先呈现带品牌标识的线程内执行摘要（内联前后对比视觉效果的 markdown），然后生成可下载的交付物——PowerPoint 演示文稿、HTML 电子邮件和 Teams 通知，使用 Zava 企业模板。调用的 agent 可将其缩小为子集（例如仅 HTML 报告）。产出内容和工件；它不负责发送。组装 rca-analysis、evidence-before-after、recommendations-next-steps 和 pr-delivery 的输出。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent\u002Fblob\u002Fmain\u002Flabs\u002Fzava-learning\u002Fsre-config\u002Fagent-config\u002Fskills\u002Fzava-reporting\u002FSKILL.md",[77,80],{"categoryNo":78,"categoryName":79,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":81,"categoryName":82,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],"zava reporting","reporting","rca","visuals","powerpoint","executive summary","analysis","markdown","html report","template","html","only","evidence","before-after","next","delivery","incident","recommendations","present","inline","send",{"skillNo":106,"name":107,"nameZh":108,"description":109,"descriptionZh":110,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":111,"categories":112,"keywords":117,"publishedAt":35},"01M699ZWCMAF3M8P4A8P0VXEF7","zava-audit-report","Zava 治理审计报告生成","Use to package a completed Zava Learning weekly governance audit (NSG \u002F network security, RBAC \u002F least-privilege, or cloud cost) into a single branded, downloadable PowerPoint deck in the Zava house style. The calling audit agent passes its findings (a list of rows with severity) and a short posture summary; this skill renders the deck, applies redaction, and returns the attachment download link. Produces the artifact; it does not send it.","用于将已完成的 Zava Learning 每周治理审计（NSG\u002F网络安全、RBAC\u002F最小权限或云成本）打包成一份采用 Zava 企业风格、带品牌标识的可下载 PowerPoint 演示文稿。调用的审计 agent 传入其发现结果（带严重级别的条目列表）和简短的安全态势摘要；本技能渲染演示文稿、应用脱敏处理，并返回附件下载链接。产出工件本身；它不负责发送。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent\u002Fblob\u002Fmain\u002Flabs\u002Fzava-learning\u002Fsre-config\u002Fagent-config\u002Fskills\u002Fzava-audit-report\u002FSKILL.md",[113,114],{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},{"categoryNo":115,"categoryName":116,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BT9F3Z67AB1M6CHA8X75WW","云架构师",[118,119,120,121,122,123,124,88,125,126,127,128,129,130,131,132,133,134,104,135],"zava audit report","report","audit","audit report","security","network security","rbac","network","least-privilege","severity","learning","returns","short","list","deck","artifact","weekly","single",{"skillNo":137,"name":138,"nameZh":139,"description":140,"descriptionZh":141,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":142,"categories":143,"keywords":148,"publishedAt":35},"01M699ZV3DK2HK74MMKABQBNC7","servicenow-change-management","ServiceNow 变更请求管理","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.","当 Zava Learning 调查产生了需要变更管理的持久性修复时使用——在为基础设施即代码或应用代码的根本原因打开 GitHub PR 之后，提出引用该 PR 的 ServiceNow 变更请求并附上 RCA 报告。是 ServiceNow 变更请求及附件操作的唯一负责方。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent\u002Fblob\u002Fmain\u002Flabs\u002Fzava-learning\u002Fsre-config\u002Fagent-config\u002Fskills\u002Fservicenow-change-management\u002FSKILL.md",[144,145],{"categoryNo":78,"categoryName":79,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":146,"categoryName":147,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[149,150,151,152,153,154,86,155,156,157,128,158,159,160,161,162,163,164,135,165],"change","servicenow change management","servicenow","change management","management","github","pr","code","infrastructure-as-code","fix","use","attach","github pr","as","infrastructure-as","for","root cause",{"skillNo":167,"name":168,"nameZh":169,"description":170,"descriptionZh":171,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":172,"categories":173,"keywords":178,"publishedAt":35},"01M699ZSQAYXNM5YXH35GQXG2E","redaction-guard","敏感信息脱敏","Use whenever you are about to emit operator-visible content — a chat\u002Fthread message, a PagerDuty or ServiceNow note, a commit message or pull-request body, or any report artifact (HTML, PowerPoint, Teams card). Deterministically masks secrets, credentials, tokens, private keys, URI-embedded passwords, and PII so they never appear in the thread or in any deliverable. This is a cross-cutting guardrail invoked by the output-producing skills, not a runbook step.","每当要输出操作员可见的内容时使用——聊天／话题消息、PagerDuty 或 ServiceNow 记录、提交信息或拉取请求正文，或任何报告制品（HTML、PowerPoint、Teams 卡片）。确定性地屏蔽密钥、凭证、令牌、私钥、URI 中嵌入的密码以及个人身份信息（PII），确保它们不会出现在对话或任何交付物中。这是一项横切护栏，由产生输出的技能调用，而非一个操作手册步骤。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent\u002Fblob\u002Fmain\u002Flabs\u002Fzava-learning\u002Fsre-config\u002Fagent-config\u002Fskills\u002Fredaction-guard\u002FSKILL.md",[174,175],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":176,"categoryName":177,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BRK82SYBDNZ3SG8YAH5A3D","凭证与密钥管理",[179,180,181,182,183,184,185,186,187,159,188,189,190,191,192,193,194,195,196,197],"redaction guard","guard","redaction","commit","teams","commit message","pull","runbook","pii","never","pagerduty","chat","tokens","guardrail","card","output","you","passwords","thread",{"skillNo":199,"name":200,"nameZh":201,"description":202,"descriptionZh":203,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":204,"categories":205,"keywords":208,"publishedAt":35},"01M699ZRHD3XNYX412M7613ACM","recommendations-next-steps","事件改进建议","Use to produce the forward-looking recommendations and next steps for a Zava Learning incident — prioritized preventive, detective, and process actions with owners, target dates, and the risk of inaction. Its output is used in the zava-reporting deliverables.","用于为 Zava Learning 事件生成前瞻性的建议和后续步骤——包括按优先级排序的预防性、检测性和流程性行动，并附带负责人、目标日期和不采取行动的风险。其输出用于 zava-reporting 交付物。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent\u002Fblob\u002Fmain\u002Flabs\u002Fzava-learning\u002Fsre-config\u002Fagent-config\u002Fskills\u002Frecommendations-next-steps\u002FSKILL.md",[206,207],{"categoryNo":78,"categoryName":79,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":81,"categoryName":82,"taxonomyType":27,"taxonomyTypeDesc":28},[209,98,101,210,211,10,212,213,214,215,85,216,128,217,159,100,194,218,219,164,220],"recommendations next steps","next steps","docs","learn","produce","search","actions","risk","process","with","deliverables","dates",{"skillNo":222,"name":223,"nameZh":224,"description":225,"descriptionZh":226,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":7,"sourceHtmlUrl":227,"categories":228,"keywords":231,"publishedAt":35},"01M699ZQBV3ECBCA58WSBCJE54","rca-analysis","事件根因分析","Use to produce the root-cause analysis narrative for a resolved or mitigated Zava Learning incident — the incident timeline, the trigger vs. latent root cause (5-Whys), contributing factors, and how to present them. Defines the RCA section format; its output is used in the before\u002Fafter, recommendations, and reporting deliverables.","用于为已解决或已缓解的 Zava Learning 事件生成根因分析叙述——包括事件时间线、触发因素与潜在根因（5-Whys）、促成因素以及如何呈现这些内容。定义 RCA 章节格式；其输出用于前后对比、建议和报告等交付物。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fsre-agent\u002Fblob\u002Fmain\u002Flabs\u002Fzava-learning\u002Fsre-config\u002Fagent-config\u002Fskills\u002Frca-analysis\u002FSKILL.md",[229,230],{"categoryNo":78,"categoryName":79,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":81,"categoryName":82,"taxonomyType":27,"taxonomyTypeDesc":28},[86,232,90,213,233,234,128,235,159,236,100,101,237,238,239,194,219,164,240,165],"rca analysis","contributing","how","format","root-cause","trigger","how to","narrative","section"]