agentleFS
Microsoft AzureKnown publisherAzure/Azure-Sentinel/.github/skills/asim-parser-la-deployer/SKILL.md

asim-parser-la-deployer

Skill6.2k starsChanged 6 months agoMITView on GitHub

Gets the ASIM parser of interest and deploys it to the customer's LA workspace.

Trending

Quiet since July.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the Azure/Azure-Sentinel repository that our weekly crawl found: only 5 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the az-cli-command-runner skill to run az account show to verify the user is authenticated.

    line 22
  2. Very specific:

    Use the az-cli-command-runner skill to run the following CLI command to get the workspace name, resource group, and location needed for …

    line 26
  3. Distinctive:

    Before embedding the KQL query into the ARM template, escape the following special characters in the query string:

    line 34
  4. Very specific:

    Use the az-cli-command-runner skill to deploy the ARM template using the following command:

    line 103
  5. Distinctive:

    If the deployment fails:

    line 109
  6. Distinctive:

    Check the error message for details (common issues: authentication errors, incorrect resource group, KQL escaping problems).

    line 111
  7. Very specific:

    Use the log-analytics-workspace-queryer skill to verify the parser works in the customer's LA workspace.

    line 117
  8. Distinctive:

    If the query returns results, the deployment was successful.

    line 123

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Context

You are responsible for deploying the ASIM parser to the customer's LA workspace. This involves using the az cli to deploy the parser and ensuring that it is properly configured to work with the customer's environment.

Requirements

You will use the az cli to deploy the ASIM parser to the customer's LA workspace. You will need the following information:

  • Workspace ID — If you do not have this from the customer or this skill was not called by the asim-parser-creator-orchestrator skill, ask the customer for it.
  • ASIM parser files to deploy — Typically two files: the parameter-less parser (ASim<Schema><Vendor><Product>.kql) and the parameterized parser (vim<Schema><Vendor><Product>.kql). Each file requires its own deployment.

Step 1: Verify Azure CLI authentication

Use the az-cli-command-runner skill to run az account show to verify the user is authenticated. If this fails, ask the user to run az login before continuing.

Step 2: Query for workspace information

Use the az-cli-command-runner skill to run the following CLI command to get the workspace name, resource group, and location needed for deployment:

az monitor log-analytics workspace list --query "[?customerId=='<workspaceId>'].{name:name, resourceGroup:resourceGroup, location:location, id:id}" -o json 2>&1

Step 3: Set up parser and ARM deployment template

Before embedding the KQL query into the ARM template, escape the following special characters in the query string:

  • \ → \\ (backslashes)
  • " → \" (double quotes)
  • Newlines → \n (replace line breaks with literal \n)
  • Tabs → \t (replace tabs with literal \t)

Save the ARM template JSON file alongside the parser .kql files (e.g., deploy_<parserName>.json).

Repeat this process for each parser file. The ARM template should contain a resource entry for each parser. Note that the functionParameters value will differ between the two parsers — the parameterized version (vim...) includes additional filter parameters defined by the schema.

An example ARM template with two parser resources:

{
  "$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "Workspace": {
      "type": "string",
      "metadata": {
        "description": "The Microsoft Sentinel workspace into which the function will be deployed."
      }
    },
    "WorkspaceRegion": {
      "type": "string",
      "defaultValue": "[resourceGroup().location]",
      "metadata": {
        "description": "The region of the selected workspace."
      }
    }
  },
  "resources": [
    {
      "type": "Microsoft.OperationalInsights/workspaces/savedSearches",
      "apiVersion": "2020-08-01",
      "name": "[concat(parameters('Workspace'), '/<name of the parameter-less ASIM parser>')]",
      "location": "[parameters('WorkspaceRegion')]",
      "properties": {
        "etag": "*",
        "displayName": "<name of the parameter-less ASIM parser>",
        "category": "ASIM",
        "FunctionAlias": "<name of the parameter-less ASIM parser>",
        "query": "<escaped KQL query>",
        "version": 1,
        "functionParameters": "disabled:bool=false,pack:bool=false"
      }
    },
    {
      "type": "Microsoft.OperationalInsights/workspaces/savedSearches",
      "apiVersion": "2020-08-01",
      "name": "[concat(parameters('Workspace'), '/<name of the parameterized ASIM parser>')]",
      "location": "[parameters('WorkspaceRegion')]",
      "properties": {
        "etag": "*",
        "displayName": "<name of the parameterized ASIM parser>",
        "category": "ASIM",
        "FunctionAlias": "<name of the parameterized ASIM parser>",
        "query": "<escaped KQL query>",
        "version": 1,
        "functionParameters": "<parameters as defined by the schema, including disabled:bool=false,pack:bool=false>"
      }
    }
  ]
}

Step 4: Deploy the parser

Use the az-cli-command-runner skill to deploy the ARM template using the following command:

az deployment group create --resource-group <resourceGroup> --template-file <templateFilePath> --parameters Workspace=<workspaceName> WorkspaceRegion=<location>

If the deployment fails:

  1. Check the error message for details (common issues: authentication errors, incorrect resource group, KQL escaping problems).
  2. Fix the identified issue (re-escape the query, correct the resource group, etc.).
  3. Retry the deployment.

Step 5: Test the parser

Use the log-analytics-workspace-queryer skill to verify the parser works in the customer's LA workspace. Run the following query for each deployed parser:

<FunctionAlias>() | take 10

If the query returns results, the deployment was successful.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.