一键导入
migration-helper-generate-log
Generate a raw sample log entry in the original source format that will trigger the migrated YARA-L rule.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a raw sample log entry in the original source format that will trigger the migrated YARA-L rule.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Author rule notes, parameters, dependencies, tuning, and testing sections for a YARA-L rule.
Extract unstructured legacy rules from a raw text file and structure them into valid JSON.
Take a source SIEM rule and format its content for readability, then insert it into a YARA-L rule template.
Migrate a source rule section in a YARA-L file into YARA-L 2.0, adhering to precise Google SecOps schemas.
Initialize a new YARA-L rule directory structure and YARA-L rule file from the template.
Full orchestration workflow to migrate a custom SIEM rule to YARA-L, running all sub-steps sequentially.
| name | migration_helper_generate_log |
| description | Generate a raw sample log entry in the original source format that will trigger the migrated YARA-L rule. |
Generates a RAW source log entry matching the legacy system format (e.g. Syslog, Windows XML, JSON, CSV) that will successfully trigger the YARA-L rule.
/migration_helper_generate_log <rule_name> (where <rule_name> is the name of the rule directory, i.e., rules/<rule_name>/<rule_name>.yaral).You act as a Chronicle Security Engineer specializing in YARA-L rule validation. Your task is to generate a RAW source log (not UDM JSON) that will successfully trigger a specific detection rule.
rules/<rule_name>/<rule_name>.yaral. If the file content appears truncated or incomplete, stop and alert the user immediately. Analyze the events and condition sections to understand exactly which field values and logic will trigger a match.log_type from the rule metadata or event filters (e.g., $log.metadata.log_type = "WINEVTLOG").<LOG_TYPE>.log.*<LOG_TYPE>*.log (e.g., IIS.log) to use as a structural template.rules/<rule_name>/sample_logs/<LOG_TYPE>.log."MICROSOFT_DEFENDER_CLOUD_ALERTS", save as rules/<rule_name>/sample_logs/MICROSOFT_DEFENDER_CLOUD_ALERTS.log.