dsh-data-classify: Check for data classification labels and asset inventory in the repository
The DSH plugin dsh-data-classify (by feely0208, @deepwhale-cn/dsh-data-classify) targets the classification and grading system required by Article 21 of the Data Security Law. Within the repository, it checks whether sensitive fields lack grade annotations, whether traces of a data asset inventory and grading policy documentation exist, and heuristically identifies medium-to-high risk items such as those labeled entirely as public-level. The article describes the installation command, the --demo, --list-rules, and --html usages, the scope and boundaries of the checks, and the division of responsibilities with dsh-pipia; the plugin does not set classification levels for organizations, runs with the current permissions of the dsh process, and its source code and the MIT license must be reviewed before use.
Read More