security-compliance
Use this Skill for CMP policy-derived Security compliance state and violations.
Use the resource Skill when the request starts from a resource and asks for
its security posture or associated violations.
Workflow
- Call
smartcmp_get_security_overviewfor the overall Security posture. - Call
smartcmp_list_security_violationsfor collection browsing. Keep real violation IDs in metadata and resolve “第 N 条” through the latest list result. Collection rows expose Analyze only. - Phase 1: call
smartcmp_analyze_security_violation. Re-read and display the latest violation status, resource, policy, evidence, manual guidance, and the fact that Mark Fixed will not modify the resource. Stop and wait for explicit confirmation; never mark it FIXED in this turn. - Phase 2: only in the next confirmed turn, call
smartcmp_mark_security_violation_fixedfor the exact freshly analyzedACTIVEDobject. This is a status write, not resource remediation.
Evidence and safety rules
- Treat CMP violation and policy facts as confirmed evidence. Label model interpretation as inference and unavailable enrichment as missing evidence.
- Accept only
SECURITYandSECURITY.*violation categories. - Never infer native remediation from
remedie,executeParameters, or null task fields. Provide manual guidance and post-change validation only. - Do not equate
FIXEDwith a repaired resource. A later policy evaluation may recreate the violation. - Continue analysis when policy or resource enrichment is unavailable, while reporting the missing evidence explicitly.
Read references/WORKFLOW.md before handling a status change or when pagination and evidence coverage affect the conclusion.