一键导入
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 页面并帮你完成安装。
基于 SOC 职业分类
Validates ASIM parser filtering parameters by running filter tests against a Log Analytics workspace. Pure PowerShell using az CLI for authentication — no Python or Azure SDK packages required. Use this skill after creating or modifying an ASIM parser to verify that its filtering parameters work correctly.
Reviews pull requests for ASIM parser changes and summarizes suggestions. This is not to be called by asim-parser-creator-orchestrator or when creating ASIM parsers in general. This is strictly for reviewing pull requests after necessary workflows have ran.
Run the Solutions Analyzer scripts: mapper, documentation generator, ASIM browser. Use when: running solution analyzer, generating CSVs, generating docs, refreshing caches, force-refresh, invalidating caches, generating ASIM browser, running mapper, running collect_table_info, running collect_asim_fields.
MANDATORY guidelines for ANY edit to ANY file under Tools/Solutions Analyzer/ — including the mapper (map_solutions_connectors_tables.py), doc generator (generate_connector_docs.py), interactive docs (generate_interactive_docs.py), ASIM browser, collect_table_info, collect_asim_fields, upload_to_kusto, compare_runs, solution_analyzer_overrides.csv, filter_field_resolution.yaml, or any other script/config in that folder. Use when: editing/modifying/refactoring/fixing/renaming/tweaking ANY logic in those files, even one-line fixes such as renaming a classification, escaping a character, adjusting a regex, adding an override row, suppressing a false positive, or changing a constant. Covers: keeping script-docs in sync, README Version History changelog rules (required for feature/behavior changes; optional for small bug fixes), CSV output sync with upload_to_kusto.py, static/interactive index synchronization, and markdown/HTML entity page synchronization.
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.
| 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 | ["az-cli-command-runner","asim-parser-user-prompter","asim-parser-create-parser","asim-parser-validator","asim-parser-create-parameter-parser","asim-parser-filter-validator","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.Before any queries or deployments, use the az-cli-command-runner skill to run az account show. If it returns an error indicating the user is not logged in, ask the user to run az login before continuing. This prevents authentication failures later in the workflow.
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 3, verify that you have collected: the source documentation link, the source table name, the Log Analytics workspace ID, and the target ASIM schema.
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.
Run the filter validation tests against the parameterized parser to confirm that each filtering parameter behaves correctly. Use the asim-parser-filter-validator skill, passing the parameterized parser file (vim<Schema><Vendor><Product>.kql), the schema name, and the workspace ID.
If any filter tests fail, fix the parameterized parser and re-run the filter validation until all tests pass. Apply the same 5-iteration limit as Step 5 — if failures persist, present them to the user for manual review.
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 |