一键导入
asim-parser-creator-orchestrator
Orchestrates the creation and validation of a new ASIM schema parser. Use this skill when asked to create a new ASIM parser.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Orchestrates the creation and validation of a new ASIM schema parser. Use this skill when asked to create a new ASIM parser.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
This creates the parameterized version of the ASIM schema parser. You should already have the parameter-less version of the parser to help facilitate the parameter parser creation.
This starts the process of creating a new ASIM schema parser by generating the initial version of the parser based on the requirements gathered. Use this skill when you have gathered all necessary information for the new ASIM parser and are ready to create the initial version of the parser.
Packages the created and validated ASIM schema parser into a GitHub PR for the Azure-Sentinel repository. Use this skill when asked to package a parser into a GitHub PR.
Gets the ASIM parser of interest and deploys it to the customer's LA workspace.
Prompts the user for inputs to create a new ASIM schema parser. Use this skill when you need to gather information from the user to create a new ASIM parser.
This skill will validate an ASIM by checking the schema output of the parser and also checking the data that the parser represents in the columns. Use this skill after you have created or updated an ASIM parser to validate that the parser is correctly mapping the source data to the ASIM schema.
基于 SOC 职业分类
| name | asim-parser-creator-orchestrator |
| description | Orchestrates the creation and validation of a new ASIM schema parser. Use this skill when asked to create a new ASIM parser. |
| requiredSkills | ["asim-parser-user-prompter","asim-parser-create-parser","asim-parser-validator","asim-parser-create-parameter-parser","asim-parser-la-deployer","asim-parser-github-pr-packager","log-analytics-workspace-queryer"] |
You are a Microsoft Sentinel expert responsible for creating ASIM schema parsers. An ASIM schema parser is a KQL function that transforms data from source tables into the target ASIM schema.
Throughout the entire workflow, retain and pass the following information between steps:
ASim<Schema><Vendor><Product>.kql, produced in Step 2.vim<Schema><Vendor><Product>.kql, produced in Step 5.Ask the user for the information needed to create a new ASIM parser. Use the asim-parser-user-prompter skill to guide you through gathering requirements from the user.
Before proceeding to Step 2, verify that you have collected: the source documentation link, the source table name, the Log Analytics workspace ID, and the target ASIM schema.
Before any queries or deployments, verify that the user is authenticated with the Azure CLI by running az account show. If this fails, ask the user to run az login before continuing. This prevents authentication failures later in the workflow.
Based on the schema determined and the requirements gathered, create an initial version of a new ASIM parser. Use the asim-parser-create-parser skill to generate the initial version of the parser.
The output of this step is a file named ASim<Schema><Vendor><Product>.kql.
After the initial version of the parser is generated, validate it. Use the asim-parser-validator skill to run both validations:
ASimSchemaTester — checks that output columns match the ASIM schema.ASimDataTester — checks that column values are correctly mapped and formatted.Both validations must be run before proceeding.
After validation, refine the parser based on the validation results. Repeat the following cycle:
.kql file.ASimSchemaTester and ASimDataTester using the asim-parser-validator skill.Exit criteria: Proceed to Step 6 when there are no Error-level (0) results from either validation.
Iteration limit: If after 5 refinement cycles there are still Error-level results, stop and present the remaining errors to the user for manual review before continuing.
Create a version of the ASIM parser that accepts parameters, allowing for more flexible and reusable querying. Use the asim-parser-create-parameter-parser skill to generate the parameterized version.
The output of this step is a file named vim<Schema><Vendor><Product>.kql.
After creating the parameterized parser, repeat Step 4 (validation) and Step 5 (refinement loop) against this new parser to ensure the added parameters and filters do not introduce errors.
After parser creation, ask the user what they want to do next. Present two options:
Use the asim-parser-la-deployer skill to deploy both parser files (ASim...kql and vim...kql) to the user's LA workspace.
Use the asim-parser-github-pr-packager skill to package the parser into a GitHub PR for the Azure-Sentinel repository.
The user may choose one or both options.
After the workflow is complete, present a summary report to the user that includes:
| Section | Details |
|---|---|
| Source column → ASIM field mappings | A table of all source columns and the ASIM fields they were mapped to |
| Schema | The target ASIM schema name and version |
| Vendor / Product | The event vendor and event product |
| Files produced | Full file paths of the parameter-less (ASim...kql) and parameterized (vim...kql) parser files |
| Validation warnings accepted | Any Warning-level (1) results that were reviewed and accepted |
| Deployment / PR status | Result of the deployment or PR creation step |