원클릭으로
asim-parser-la-deployer
Gets the ASIM parser of interest and deploys it to the customer's LA workspace.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Gets the ASIM parser of interest and deploys it to the customer's LA workspace.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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.
Orchestrates the creation and validation of a new ASIM schema parser. Use this skill when asked to create a new ASIM 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.
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.
| name | asim-parser-la-deployer |
| description | Gets the ASIM parser of interest and deploys it to the customer's LA workspace. |
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.
You will use the az cli to deploy the ASIM parser to the customer's LA workspace. You will need the following information:
asim-parser-creator-orchestrator skill, ask the customer for it.ASim<Schema><Vendor><Product>.kql) and the parameterized parser (vim<Schema><Vendor><Product>.kql). Each file requires its own deployment.Run az account show to verify the user is authenticated. If this fails, ask the user to run az login before continuing.
Use 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
Before embedding the KQL query into the ARM template, escape the following special characters in the query string:
\ → \\ (backslashes)" → \" (double quotes)\n (replace line breaks with literal \n)\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>"
}
}
]
}
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:
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.