Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 2.41 KB

readme.md

File metadata and controls

54 lines (40 loc) · 2.41 KB

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