06执行标准 · 可核验的动作Execution Standard · Verifiable Actions

安全维护服务规范与周报样例Security maintenance specification and sample weekly report

规范规定日常动作、执行频次与判定标准,作为服务执行与验收核验的依据;文中「应」为必须执行,「宜」为推荐执行。周报样例说明这些动作如何被记录和交付。

The specification defines routine actions, frequency and acceptance criteria as the basis for delivery and acceptance verification; "shall" denotes mandatory and "should" recommended. The sample weekly report shows how these actions are recorded and reported.

Q1

哪些在服务范围内,哪些不在?

What is in scope and what is not?

纳入范围In scope不纳入范围Out of scope
7×24 自动监控与告警,工作日人工巡检7×24 automated monitoring and alerting, weekday manual inspection源码级渗透测试、代码审计与业务逻辑测试Source-level penetration testing, code audit and business-logic testing
每周安全扫描、修复与复测Weekly security scanning, remediation and retesting业务功能开发与内容运营Business feature development and content operations
发布管控与自动回滚Release control and automatic rollback支付、短信、邮件等第三方服务的内部安全Internal security of third-party services such as payment, SMS and email
数据备份、恢复演练Data backup and recovery drills贵方办公网、终端及账号安全Your office network, endpoints and account security
安全事件响应与报告Security incident response and reporting等保测评、备案等法定合规事项MLPS assessment, ICP filing and other statutory compliance items

适用范围为服务方承接的网站系统:容器化应用、数据库、对象存储与 CDN、域名与证书、代码仓库与发布流水线。由贵方自行运维或由第三方提供的组件不在范围内。

The specification covers the website systems delivered by the service provider: containerised applications, databases, object storage and CDN, domains and certificates, code repositories and release pipelines. Components that you operate yourselves, or that are supplied by third parties, are out of scope.

具体服务范围、响应时限与责任划分,以双方签署的服务协议为准。

The specific scope, response times and allocation of responsibilities are governed by the signed service agreement.

依据:《网站安全维护服务规范》1.1 及表 1Source: Service specification, section 1.1 and Table 1

Q2

一周内的固定动作有哪些?

Which actions are performed on a fixed weekly cycle?

类别Category主要内容Main content频次Frequency交付物Deliverable
基础设施监控Infrastructure monitoring主机资源、容器状态、磁盘与进程Host resources, container status, disk and processes7×24,1 分钟7×24, 1 minute告警记录、月度资源报告Alert log, monthly resource report
可用性监测Availability monitoring首页及关键页面的状态码与响应时间Status codes and response times of the home page and key pages60 秒/次Every 60 seconds可用性统计Availability statistics
内容完整性Content integrity页面关键词与正文摘要比对Comparison of page keywords and body summary against baseline5 分钟/次Every 5 minutes篡改告警与处置记录Tamper alerts and handling log
安全扫描Security scanning恶意文件、暴露面、配置基线Malicious files, exposed surface, configuration baseline每周 1 次Once a week周安全扫描报告Weekly security scan report
漏洞修复Vulnerability remediation按等级排期修复并复测Remediation scheduled by severity, then retested按等级By severity修复与复测记录Remediation and retest record
数据备份Data backup数据库全量、静态资源版本留存Full database backup, static asset versioning每日Daily备份校验记录Backup verification log
发布管理Release management构建、测试、生产发布与回滚Build, test, production release and rollback按需On demand发布单、回滚记录Release ticket, rollback record
应急响应Incident response事件处置、取证与复盘Handling, evidence collection and review按需On demand事件报告Incident report

临时任务与事件处置不占用例行工作时段,按应急响应一节执行。

Ad hoc tasks and incident handling do not consume the routine work window and follow the incident response section.

依据:《网站安全维护服务规范》2 及表 2Source: Service specification, section 2 and Table 2

Q3

监控采集什么,告警阈值是多少?

What is monitored, and what are the alert thresholds?

Bezel 采集主机与容器指标,粒度 1 分钟,原始数据保留 90 天,聚合数据保留 12 个月。采集内容包括 CPU、内存、磁盘使用率与 inode、系统负载与网络出入流量;容器运行状态、重启次数、镜像版本、关键进程与端口存活;以及应用健康检查接口 /healthz 的返回码与耗时。

Bezel collects host and container metrics at one-minute granularity, retaining raw data for 90 days and aggregated data for 12 months. Collected items include CPU, memory, disk usage and inodes, system load and network traffic; container state, restart count, image version, key processes and port liveness; and the return code and latency of the /healthz health endpoint.

指标Metric阈值Threshold级别Level
CPU 使用率CPU usage连续 5 分钟 > 80%Above 80% for 5 consecutive minutes警告Warning
内存使用率Memory usage连续 5 分钟 > 85%Above 85% for 5 consecutive minutes警告Warning
磁盘使用率Disk usage> 80% / > 90%Above 80% / above 90%警告 / 严重Warning / critical
容器重启Container restarts10 分钟内 ≥ 2 次2 or more within 10 minutes严重Critical
健康检查Health check连续 3 次失败3 consecutive failures严重Critical

依据:《网站安全维护服务规范》3.1 及表 3Source: Service specification, section 3.1 and Table 3

Q4

可用性与内容完整性如何监测?

How are availability and content integrity monitored?

可用性监测基于 UptimeKuma,覆盖首页、栏目页、详情页、后台入口与表单接口,60 秒一次,超时 10 秒,连续 2 次失败触发告警。监测同时校验状态码、响应时间与页面最小长度,避免仅凭 200 状态码判断可用。

Availability monitoring uses UptimeKuma and covers the home page, section pages, detail pages, the admin entry and the form endpoint, every 60 seconds with a 10-second timeout and an alert after two consecutive failures. Checks cover status code, response time and minimum page length, so a 200 status alone does not count as available.

内容完整性为每个页面配置 3—5 个稳定关键词(公司名称、备案号、版权信息、固定栏目名)与正文摘要,5 分钟抓取一次。出现以下任一情况判定为异常:关键词缺失或顺序变化;正文摘要与基线不一致;页面新增非白名单外链、iframe 或脚本;出现 eval、base64_decode、异常跳转等特征。

Content integrity configures 3–5 stable keywords per page (company name, filing number, copyright information, fixed section names) plus a body summary, fetched every 5 minutes. Any of the following counts as an anomaly: missing keywords or changed order; body summary differing from baseline; new off-whitelist external links, iframes or scripts; eval, base64_decode or abnormal redirect characteristics.

贵方正常发布引起的变更,由服务方在 1 个工作日内核对并更新基线;未核对的变更按篡改处理。新增页面同步纳入监测范围。

Changes caused by your normal publishing are verified by the provider and reflected in the baseline within one business day; unverified changes are treated as tampering. New pages are added to monitoring.

依据:《网站安全维护服务规范》3.2Source: Service specification, section 3.2

Q5

告警如何分级、多久响应?

How are alerts classified and how fast must they be answered?

告警按等级推送至企业微信或钉钉群、短信与邮件,值班人员 15 分钟内确认;误报确认后关闭并记录。

Alerts are pushed by severity to WeCom or DingTalk groups, SMS and email; the on-call engineer acknowledges within 15 minutes; false positives are closed and recorded after confirmation.

等级Level判定Criteria响应要求Response
P1P1站点不可访问、页面被篡改、发现后门、数据泄露或损坏Site unreachable, pages defaced, backdoor found, data leaked or corrupted15 分钟确认,30 分钟介入,7×24Acknowledge in 15 minutes, engage in 30 minutes, 7×24
P2P2核心功能异常、证书异常、资源水位超阈值、持续攻击流量Core function failure, certificate anomaly, resource threshold breach, sustained attack traffic30 分钟确认,2 小时内介入Acknowledge in 30 minutes, engage within 2 hours
P3P3非核心功能异常、低危漏洞、配置优化Non-core function failure, low-risk vulnerability, configuration improvement1 个工作日内响应Respond within one business day

依据:《网站安全维护服务规范》3.3 及表 4Source: Service specification, section 3.3 and Table 4

Q6

发布如何管控,什么情况下自动回滚?

How are releases controlled, and when does an automatic rollback occur?

代码仓库是唯一更新入口,禁止 FTP/SFTP 直传,禁止在服务器上直接修改文件。流程为:提交至 Gitea → CI 构建镜像并扫描依赖漏洞 → 部署测试环境 → 自动化冒烟(首页、栏目页、表单、登录)→ 贵方或项目负责人确认 → 生产滚动发布 → 线上验证。

The code repository is the only update channel; direct FTP/SFTP uploads and direct edits on the server are prohibited. The flow: commit to Gitea → CI builds the image and scans dependencies → deploy to test → automated smoke tests (home, section pages, form, login) → your sign-off or that of the project lead → rolling production release → post-release verification.

  • main 分支受保护,合并需评审;生产发布仅由 main 的 tag 触发;生产环境只允许不可变标签,禁止 latest。
  • 流水线保留每次构建的镜像摘要与制品,可追溯到任意历史版本;发布记录保存 12 个月。
  • 发布窗口为工作日 10:00—17:00;紧急安全修复可例外执行,事后 1 个工作日内补记录。
  • The main branch is protected and merges require review; production releases are triggered only by a tag on main; only immutable tags are allowed in production, never latest.
  • The pipeline retains the image digest and artefacts of every build, traceable to any historical version; release records are kept for 12 months.
  • The release window is 10:00–17:00 on business days; urgent security fixes may run outside it, with records completed within one business day.

发布后出现以下任一情况,流水线自动回滚至上一稳定版本:容器启动 60 秒内健康检查连续 3 次失败;发布后 5 分钟内 5xx 响应比例超过 5%;容器在 10 分钟内异常重启 2 次以上。

The pipeline automatically rolls back to the previous stable version on any of: 3 consecutive health-check failures within 60 seconds of container start; 5xx responses above 5% within 5 minutes of release; more than 2 abnormal container restarts within 10 minutes.

回滚动作包括切回上一镜像、恢复流量、发送通知,过程不超过 2 分钟。数据库变更采用向后兼容的增量脚本,回滚不依赖数据库还原;破坏性变更须单独审批,并在执行前完成备份。

Rollback switches to the previous image, restores traffic and sends notifications within 2 minutes. Database changes use backward-compatible incremental scripts so rollback does not depend on a database restore; destructive changes require separate approval and a completed backup beforehand.

依据:《网站安全维护服务规范》4.1—4.4Source: Service specification, sections 4.1–4.4

Q7

安全扫描查什么,漏洞多久修复?

What does the security scan cover and how quickly are vulnerabilities fixed?

每周执行一次全量扫描,在业务低峰进行,不做破坏性测试。范围包括三类:恶意文件与后门(上传、缓存、附件目录中的脚本文件,隐藏文件与畸形扩展名,eval、assert 与外部输入组合的高危代码,近 7 天变动的文件);内容与暴露面(页面关键词、外链、iframe、暗链与跳转特征,开放端口、后台入口、目录列举、敏感文件如 .git、.env、备份包、SQL 文件);组件、配置与日志(CMS 与依赖版本、TLS 配置、安全响应头、文件权限与属主,异常登录、批量 POST、上传接口调用与管理员操作记录)。

A full scan runs weekly at off-peak hours without destructive testing. It covers three groups: malicious files and backdoors (scripts in upload, cache and attachment directories, hidden files and malformed extensions, high-risk code combining eval or assert with external input, files changed in the last 7 days); content and exposed surface (page keywords, external links, iframes, hidden links and redirect patterns, open ports, admin entries, directory listing, sensitive files such as .git, .env, backup archives and SQL files); and components, configuration and logs (CMS and dependency versions, TLS configuration, security headers, file permissions and ownership, abnormal logins, bulk POSTs, upload endpoint calls and administrator actions).

等级Severity判定标准Criteria修复时限Remediation deadline
严重Critical可远程执行代码、存在后门、数据泄露或篡改Remote code execution, backdoor, data leak or tampering立即阻断,4 小时内控制,24 小时内清除Block immediately, contain within 4 hours, remove within 24 hours
高High越权访问、注入、任意文件读写、上传可执行Unauthorised access, injection, arbitrary file read/write, upload of executable content3 个工作日3 business days
中Medium信息泄露、配置缺陷、弱口令风险Information disclosure, configuration defect, weak password risk10 个工作日10 business days
低Low加固建议、版本号暴露、非敏感信息Hardening advice, version disclosure, non-sensitive information30 个工作日内或随版本迭代Within 30 business days or with the next release

修复顺序按可利用性与影响面排序。因业务依赖无法按期修复的,采取补偿措施(WAF 规则、访问限制、功能下线)并书面记录。修复后 2 个工作日内复测并出具结论;连续两周未处理的项目升级至贵方负责人。

Remediation is ordered by exploitability and impact. Where business dependencies prevent on-time fixing, compensating controls (WAF rules, access restrictions, feature disablement) are applied and documented. Retesting and a conclusion follow within 2 business days of the fix; items unresolved for two consecutive weeks escalate to your owner.

依据:《网站安全维护服务规范》7.1—7.3 及表 5Source: Service specification, sections 7.1–7.3 and Table 5

Q8

备份与恢复如何执行?

How are backup and recovery performed?

  • 数据库每日 02:00 全量备份,本地保留 30 天,每周日归档至异地对象存储并保留 6 个月。
  • 静态资源开启版本控制,每日同步至备份 Bucket 并保留 30 天;代码与镜像长期留存,可重新部署任意历史版本。
  • 备份文件加密存放,与生产使用不同账号、不同区域,访问需审批并记录。
  • 每日校验备份完整性(大小、可解压、表数量),失败 30 分钟内告警并重跑;每季度 1 次恢复演练,在隔离环境还原最近备份并核对数据与页面。
  • A full database backup runs daily at 02:00, retained locally for 30 days, with weekly Sunday archiving to off-site object storage retained for 6 months.
  • Static assets are version-controlled, synchronised daily to a backup bucket and retained for 30 days; code and images are retained long-term so any historical version can be redeployed.
  • Backup files are stored encrypted under a different account and region from production, with approved and logged access.
  • Backup integrity (size, extractability, table count) is verified daily; failures alert and rerun within 30 minutes. A recovery drill runs quarterly, restoring the latest backup in an isolated environment and checking data and pages.

目标:RPO ≤ 24 小时,RTO ≤ 4 小时(单站点、单数据库规模)。

Targets: RPO ≤ 24 hours, RTO ≤ 4 hours for a single site and single database.

依据:《网站安全维护服务规范》6 数据备份与恢复Source: Service specification, section 6

Q9

发生安全事件时如何处理与报告?

How are security incidents handled and reported?

等级Level情形Situation
P1P1站点不可用超过 5 分钟;页面被篡改、挂马;发现后门;数据泄露或损坏;域名或证书被劫持Site unavailable for more than 5 minutes; pages defaced or injected; backdoor found; data leaked or corrupted; domain or certificate hijacked
P2P2核心功能不可用(表单、登录、搜索);资源即将耗尽;持续攻击流量影响访问Core functions unavailable (form, login, search); resources nearly exhausted; sustained attack traffic affecting access
P3P3单页面异常、非核心功能故障、低危安全问题Single-page anomaly, non-core function failure, low-risk security issue

处置流程:发现 → 15 分钟内确认并通报 → 止损(下线页面、封禁地址、关闭入口、切换上一版本)→ 取证(保留日志、样本与时间线)→ 清除与修复 → 复测 → 恢复业务 → 24 小时内提交初步报告,5 个工作日内提交完整报告。

Flow: detection → acknowledge and notify within 15 minutes → containment (take pages offline, block addresses, close entry points, switch to the previous version) → evidence collection (logs, samples, timeline) → removal and remediation → retest → restore service → preliminary report within 24 hours, full report within 5 business days.

  • 先止损,后溯源;生产环境不做边分析边改动。
  • 涉及数据泄露的,按法律法规与贵方要求履行告知义务,对外口径由贵方确定。
  • 报告包含时间线、影响范围、根本原因、处置动作、证据摘要、遗留风险与改进项;改进项明确责任人与完成时间,并在下一次周报中复核。
  • Contain first, investigate second; no analysis-driven changes on production.
  • Where data leakage is involved, notification obligations are met under law and your requirements; external messaging is decided by you.
  • Reports include timeline, impact, root cause, actions taken, evidence summary, residual risk and improvements; improvements carry an owner and due date and are reviewed in the next weekly report.

依据:《网站安全维护服务规范》9.1—9.3 及表 6Source: Service specification, sections 9.1–9.3 and Table 6

Q10

服务级别与维护窗口如何约定?

What service levels and maintenance windows apply?

  • 月度可用性目标 ≥ 99.9%,计划内维护时间不计入。
  • 告警确认与介入时限按 3.3 执行,漏洞修复时限按 7.2 执行;监控数据与扫描记录保留不少于 12 个月。
  • 计划内维护提前 3 个工作日通知贵方,单次不超过 2 小时,安排在 22:00 至次日 02:00;紧急安全维护可缩短至提前 4 小时通知。
  • 以下情形不计入可用性考核,服务方仍按约定响应:不可抗力;云服务商、CDN、域名注册商等第三方故障;贵方或其第三方对系统、配置、账号的自行变更;贵方未按约定提供权限、确认或配合;依据法律法规或监管要求采取的措施。
  • Monthly availability target ≥ 99.9%, excluding planned maintenance.
  • Alert acknowledgement and engagement follow section 3.3, remediation deadlines follow section 7.2; monitoring data and scan records are retained for at least 12 months.
  • Planned maintenance is notified to you 3 business days in advance, lasts no more than 2 hours and is scheduled between 22:00 and 02:00 the next day; urgent security maintenance may be notified 4 hours in advance.
  • The following do not count against availability, though the provider still responds as agreed: force majeure; failures of third parties such as cloud providers, CDN or domain registrars; changes that you or your third parties make to systems, configuration or accounts; your failure to provide access, confirmation or cooperation as agreed; measures taken under laws, regulations or regulatory requirements.

服务范围、频次与响应时限的调整以书面变更单为准,变更单作为本规范的补充文件。

Changes to scope, frequency and response times are made by written change note, which supplements the specification.

依据:《网站安全维护服务规范》12.1—12.4Source: Service specification, sections 12.1–12.4

Q11

双方职责如何划分?

How are responsibilities divided?

表中「负责」指承担执行与结果,「配合」指提供必要条件,「确认」指书面或邮件确认。

"Responsible" means owning execution and outcome, "support" means providing the necessary conditions, and "confirm" means written or email confirmation.

事项Item服务方Provider贵方You
监控与告警处置Monitoring and alert handling负责Responsible知会Informed
安全扫描与修复Security scanning and remediation负责Responsible配合提供业务变更信息Support with business change information
生产发布Production release执行Execute确认发布窗口与内容Confirm window and content
内容更新与审核Content update and review不涉及Not involved负责Responsible
账号与权限审批Account and permission approval配合Support负责Responsible
备份执行与校验Backup execution and verification负责Responsible提供数据范围Provide data scope
应急决策与对外通报Incident decisions and external communication技术支持Technical support负责Responsible

依据:《网站安全维护服务规范》11 及表 8Source: Service specification, section 11 and Table 8

Q12

安全周报样例包含哪些内容?

What does the sample weekly report contain?

样例报告编号 WSR-20261020,周期为 2026-10-14 00:00 至 2026-10-20 24:00(北京时间),贵方信息与站点信息已脱敏。核心指标为:站点可用率 100.00%、11 类检查项、0 项风险、0 起安全事件。

The sample is report WSR-20261020, covering 2026-10-14 00:00 to 2026-10-20 24:00 Beijing time, with your details and the site details redacted. Headline figures: 100.00% availability, 11 check categories, 0 risk items, 0 security incidents.

监测点Monitor检查次数Checks失败Failures可用率Availability平均响应Avg. response
首页Home10,08010,08000100%100%312 ms312 ms
产品中心Products10,08010,08000100%100%286 ms286 ms
新闻栏目News10,08010,08000100%100%271 ms271 ms
内容详情页Content detail10,08010,08000100%100%298 ms298 ms
关于我们About us10,08010,08000100%100%265 ms265 ms
搜索接口Search endpoint10,08010,08000100%100%446 ms446 ms
表单接口Form endpoint10,08010,08000100%100%521 ms521 ms
后台登录页Admin login10,08010,08000100%100%221 ms221 ms

8 个监测点每 60 秒执行一次,本周期共 80,640 次检查,失败 0 次。主机资源处于低位:CPU 峰值 18%(均值 12%),内存使用 38%,磁盘使用 41%,容器本周期无重启,镜像版本与发布记录一致。内容完整性对 8 个页面各配置 4 个关键词与正文摘要,5 分钟抓取一次,本周期共 16,128 次比对。

Eight monitors ran every 60 seconds, 80,640 checks in total with no failures. Host resources were low: CPU peak 18% (average 12%), memory 38%, disk 41%, no container restarts, image versions matching release records. Content integrity used 4 keywords and a body summary per page across 8 pages at 5-minute intervals, 16,128 comparisons in total.

检查项Check检查范围Scope结果Result
文件完整性File integrity1,907 个文件 / 基线一致1,907 files / baseline match差异 00 differences
后门与危险函数Backdoors and dangerous functions全站 PHP 文件与近 7 天变动文件All PHP files plus files changed in the last 7 days0 处0 found
上传目录Upload directories5 个上传与缓存目录5 upload and cache directories0 个可执行文件0 executable files
外链与远程加载External links and remote loads首页及 40 个栏目页Home page and 40 section pages均在白名单内All within whitelist
开放端口与服务Open ports and services3 台主机3 hosts仅 80/443 对外Only 80/443 exposed
账号与登录记录Accounts and login records后台、数据库、对象存储Admin, database, object storage无新增,无异常No additions, no anomalies
安全响应头与 TLSSecurity headers and TLS主站与静态域Main site and static domain5 项齐全,仅 TLS 1.2+All 5 present, TLS 1.2+ only
危险配置Dangerous configuration应用与 PHP 运行环境Application and PHP runtime错误提示关闭Error display off
备份与恢复Backup and recovery数据库、静态资源Database, static assets每日成功,恢复通过Daily success, recovery passed

周报同时记录本周生产发布(v2.4.1 产品页样式调整、v2.4.2 新闻栏目标签修复,均成功无回滚)、静态资源与 CDN 指标(WAF 拦截 1,284 次,缓存命中率 96.4%,回源带宽峰值 12.8 Mbps,静态域 4xx 比例 0.3%)、备份执行情况(数据库每日全量 7 次,单次 214 MB,恢复抽查耗时 6 分 05 秒、数据一致),并给出结论与下周计划。

The report also records production releases that week (v2.4.1 product page styling, v2.4.2 news tag fix, both successful without rollback), static asset and CDN metrics (1,284 WAF blocks, 96.4% cache hit rate, 12.8 Mbps peak origin bandwidth, 0.3% 4xx on the static domain), backup execution (seven daily full database backups at 214 MB each; recovery spot-check in 6 minutes 05 seconds with consistent data), and states the conclusion and next week's plan.

报告说明:扫描为周期性自动检测与人工复核,不替代渗透测试、代码审计与业务逻辑测试;样例数据按真实检查记录改写,用于说明周报的结构、字段与判定口径。

The report notes that scanning is periodic automated detection with manual review and does not replace penetration testing, code audit or business-logic testing; sample data is adapted from real inspection records to illustrate structure, fields and acceptance criteria.

依据:《网站安全周报_样例_20261020》1—7 节及表 1—5、表 A-1Source: Sample weekly report, sections 1–7, Tables 1–5 and Table A-1