dsh-data-lifecycle: Static Check for Data Retention Periods and Expiration Cleanup Paths
@deepwhale-cn/dsh-data-lifecycle is a DSH security plugin maintained by feely0208. It performs static scanning on projects according to five rules: whether a retention period is stated, whether the period exceeds 3 years, whether there is a write with no corresponding purge, etc., and flags the relevant file line numbers together with the legal basis for each rule. It does not delete data, and does not replace the minimum log retention check (dsh-cn-log-retention) or data classification. Installation: `dsh plugin --profile web add @deepwhale-cn/dsh-data-lifecycle`; common usage: `dsh-data-lifecycle`, `--demo`, `--list-rules`, `--html`. MIT 0.1.0, Node >= 18.
Read More