DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Cn Log Retention — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
C

@deepwhale-cn/dsh-cn-log-retention

Cn Log Retention

Check whether logging is enabled, whether required events are recorded, and whether logs are retained for the legally required six months

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:feely0208/dsh-cn-log-retention#61edbb6f93e932ab5ae045fe25848009587ff9d2
READMECompatibilityVersions

Compatibility and provenance

Cn Log Retention is published as @deepwhale-cn/dsh-cn-log-retention and currently resolves to version 0.1.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/15/2026

Versions

0.1.1stable
10/15/2026
0.1.0stable
10/13/2026

Related plugins

Loading related plugins…

Latest
0.1.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/16/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in security-access.

Experimental Auto Review@deepseek-ai/dsh-experimental-auto-reviewPer-tool LLM authorization review for the DeepSeek Harness Auto permission presetCc Safety Netcc-safety-netA coding agent CLI hook - block destructive commands and secret file accessDoctor@linxin666/dsh-doctorTransactional rescue mode for DSH profiles with a supervised launcher, isolated recovery capsule, deterministic repairs, health monitoring, and a local Web recovery consolePocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).

README

@deepwhale-cn/dsh-cn-log-retention

关键词:日志留存 · 日志保留 · 审计日志 · 网络日志 · 网络安全法 · 六个月 · 留存不少于六个月 · 日志合规 Keywords: log retention · audit log retention · network log · six months retention · China cybersecurity law 日志留存合规 —— 检查日志是否开着、是否记了该记的、是否留够法定的 6 个月。

不装它会怎样

你的日志轮转配的是 maxDays: 7(日志库的常见默认值)—— 排障够用。

半年后出了事,监管问:这半年的网络日志呢?

《网络安全法》第二十一条要求留存不少于六个月。日志已经在第 8 天被轮转删掉了。

它查什么

级别内容
🔴 高留存期 < 180 天
🔴 高日志级别被关闭(off/none/silent)
🔴 高日志里打印了口令/令牌的值
🟡 中找不到任何日志方案

排障日志 ≠ 合规日志

排障:maxDays: 7        够了
合规:maxDays: >= 180   法定下限,且不能被应用进程随意删

两者通常需要分开:业务日志短留存,审计日志长留存、单独存放。

安装

dsh plugin --profile web add @deepwhale-cn/dsh-cn-log-retention
# 或纯 CLI
npx @deepwhale-cn/dsh-cn-log-retention

用法

dsh-cn-log-retention --demo          # 看检出效果
dsh-cn-log-retention --list-rules    # 列出规则和依据
dsh-cn-log-retention --html r.html   # HTML 报告

dsh-cn-log-retention 检查报告示例

dsh-cn-log-retention 演示模式输出

dsh-cn-log-retention 规则与依据

边界

  • 不做缺项判定 —— 没有轮转配置不代表日志没留 180 天(可能由部署层统一留存)。
  • 只看应用层 —— 数据库审计、网络设备、操作系统日志不在范围。
  • 不校验不可篡改性 —— 那需要看存储层设计。
  • 与其他插件分工:dsh-cn-mlps 做等保其它项。

本插件是一个工具。使用者必须遵守所在地区法律法规,对使用本项目造成的任何后果自行承担责任。


深鲸网安守护系列(共 22 个)

一个插件做一件事。安全问题是链式的 —— 配套用才完整。

国内合规 | 等保对照 · 日志留存 · 备案公示 · 用户同意 · 个人信息权利 · 未成年人保护 · 影响评估 · 数据分类分级 · 算法备案 · 数据出境

AI 与 Agent 治理 | AI 输出信任 · 外部内容信任 · MCP 安全 · Agent 权限

数据与凭据 | 敏感数据 · 密钥轮换

供应链与构建 | 开源许可 · 依赖投毒 · CI 安全

权限与应急 | 最小权限 · 告警外发 · 应急证据包

都在 DSH 插件市场(dsh-plugin.org)和 npm 上,dsh plugin --profile web add <包名> 即可安装。

License

MIT © 深鲸 DeepWhale