Skip to content

Files

Latest commit

9c54387 · Jun 7, 2022

History

History
53 lines (37 loc) · 4.16 KB

normalization-functions.md

File metadata and controls

53 lines (37 loc) · 4.16 KB
title description author ms.topic ms.date ms.author
Advanced Security Information Model (ASIM) helper functions | Microsoft Docs
This article outlines the Microsoft Sentinel Advanced Security Information Model (ASIM) helper functions.
oshezaf
reference
06/07/2021
ofshezaf

Advanced Security Information Model (ASIM) helper functions (Public preview)

[!INCLUDE Banner for top of topics]

Advanced Security Information Model (ASIM) helper functions extend the KQL language providing functionality that helps interact with normalized data and in writing parsers. The following is a list of ASIM help functions:

Scalar functions

Scalar functions are used in expressions are typically invoked as part of an extend statement.

Function Input parameters Output Description
_ASIM_GetSourceBySourceType SourceType (String) List of sources (dynamic) Retrieve the list of sources associated with the input source type from the SourceBySourceType Watchlist. This function is intended for use by parsers writers.
_ASIM_LookupDnsQueryType QueryType (Integer) Query Type Name Translate a numeric DNS resource record (RR) type to its name, as defined by IANA
_ASIM_LookupDnsResponseCode ResponseCode (Integer) Response Code Name Translate a numeric DNS response code (RCODE) to its name, as defined by IANA

Tabular functions

Tabular functions are invoked using the invoke operator and return value by adding fields to the data set, as if they perform extend.

Function Input parameters Extended fields Description
_ASIM_ResolveDnsQueryType field (String) DnsQueryTypeName Translate a numeric DNS resource record (RR) type stored in the field specified to its name, as defined by IANA, and assigns the result to the field DnsQueryTypeName
_ASIM_LookupDnsResponseCode field (String) DnsResponseCodeName Translate a numeric DNS response code (RCODE) stored in the field specified to its name, as defined by IANA, and assigns the result to the field DnsResponseCodeName
_ASIM_ResolveFQDN field (String) - ExtractedHostname
- Domain
- DomainType
- FQDN
Analyzes the value in the field specified and set the output fields accordingly. For more information, see example in the article about developing parsers.
_ASIM_ResolveSrcFQDN field (String) - SrcHostname
- SrcDomain
- SrcDomainType
- SrcFQDN
Similar to _ASIM_ResolveFQDN, but sets the Src fields
_ASIM_ResolveDstFQDN field (String) - DstHostname
- DstDomain
- DstDomainType
- SrcFQDN
Similar to _ASIM_ResolveFQDN, but sets the Dst fields
_ASIM_ResolveDvcFQDN field (String) - DvcHostname
- DvcDomain
- DvcDomainType
- DvcFQDN
Similar to _ASIM_ResolveFQDN, but sets the Dvc fields

Next steps

This article discusses the Advanced Security Information Model (ASIM) help functions.

For more information, see: