跳转到内容

asp-module-creator

asp-module-creator 用于创建 ASP 自定义告警处理模块,适合根据 SIEM rule 样本和项目约定生成 custom/modules 模块。

调用方式

text
/asp-module-creator

该 skill 会读取本地项目约定,并可通过 asp dev stream ... --output json 获取开发流样本。

常见调用样例

text
/asp-module-creator 根据这条 SIEM rule 和 raw_alert 样本生成模块
text
/asp-module-creator 读取 custom-module-events 最近 3 条消息并推断字段映射
text
/asp-module-creator 检查新模块是否正确生成 Case、Alert 和 Artifact 字段

对应 CLI 命令:

powershell
asp dev stream head custom-module-events -n 3 --output json
asp dev stream read custom-module-events 0-1 --output json