Skip to content
check-square

GitHub Action

Asim-ToArm

v0.0.4 Pre-release

Asim-ToArm

check-square

Asim-ToArm

Convert an ASIM parser to a deployable ARM template

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Asim-ToArm

uses: SecureHats/Kusto-ToArm@v0.0.4

Learn more about this action in SecureHats/Kusto-ToArm

Choose a version

logo

Maintenance PRs Welcome
Good First Issues Needs Feedback

Microsoft Sentinel - KQLFunction-ARM

This GitHub action can be used to convert Microsoft Sentinel yaml files to deployable ARM templates.

Example 1

Add the following code block to your Github workflow:

name: template
on:
  push:
    paths:
      - samples/**

jobs:
  template:
    name: Asim-ToARM
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository code
        uses: actions/checkout@v3
      - name: SecureHats template
        uses: SecureHats/KQL-ToArm@v0.0.1
        with:
          filesPath: ./samples
          outputFolder: ./output

Inputs

This Action has the following format inputs.

Name Req Type Description
filesPath true string Path to the directory containing the log files to convert, relative to the root of the project.
This path is optional and defaults to the project root, in which case all yaml files across the entire project tree will be discovered.
outputFolder true string Path to the directory containing the log files to convert, relative to the root of the project.
This path is optional and defaults to the project root, in which case all yaml files across the entire project tree will be discovered.
returnObject false boolean IN DEVELLOPMENT The default value when not set is false. When the value is set to true a action will return an ARM template as an object instead of one of multiple files.

Current limitations / Under Development

See backlog

If you encounter any issues, or hae suggestions for improvements, feel free to open an Issue

Create Issue