<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to write a data model to map to an authentication story in Cortex XSIAM Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/how-to-write-a-data-model-to-map-to-an-authentication-story/m-p/1220561#M156</link>
    <description>&lt;P&gt;&lt;SPAN&gt;We are creating a data model and have questions like:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;==============================================&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are aware that the method of mapping to an authentication story requires defining the following, &lt;BR /&gt;as described in the documentation.&lt;/P&gt;
&lt;P&gt;However, we are experiencing issues where the authentication story is not mapped.&lt;BR /&gt;Specifically, We have created the data model rules as follows, but do you know the cause?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;After creating the data model, we have confirmed that the actual data is mapped to the following six schemas.&lt;BR /&gt;&lt;BR /&gt;■Required Schemas&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSIAM/Cortex-XSIAM-Administrator-Guide/MODEL" target="_blank" rel="noopener"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSIAM/Cortex-XSIAM-Administrator-Guide/MODEL&lt;/A&gt;&lt;BR /&gt;xdm.source.ipv4&lt;BR /&gt;xdm.source.user.upn ※&lt;SPAN&gt;Automatic enrichment&lt;/SPAN&gt;&lt;BR /&gt;xdm.event.original_event_type&lt;BR /&gt;xdm.event.outcome&lt;BR /&gt;xdm.event.outcome_reason&lt;BR /&gt;xdm.event.operation&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;■Created data model&lt;BR /&gt;[MODEL: dataset=xxx_xxxxx_raw]&lt;BR /&gt;alter&lt;BR /&gt;xdm.event.type = "authentication",&lt;BR /&gt;xdm.event.description = "authentication",&lt;BR /&gt;xdm.source.ipv4 = json_extract_scalar(_raw_log , "$.ip"),&lt;BR /&gt;xdm.source.user.username= json_extract_scalar(_raw_log , "$.username"),&lt;BR /&gt;xdm.source.user.domain= "XXX.LOCAL",&lt;BR /&gt;xdm.source.user.user_type = XDM_CONST.USER_TYPE_REGULAR,&lt;BR /&gt;xdm.event.original_event_type = "Logon",&lt;BR /&gt;xdm.event.outcome = if(lowercase(json_extract_scalar(_raw_log , "$.login_successful")) = "true", XDM_CONST.OUTCOME_SUCCESS, lowercase(json_extract_scalar(_raw_log , "$.login_successful")) = "false", XDM_CONST.OUTCOME_FAILED, null),&lt;BR /&gt;xdm.event.outcome_reason = if(json_extract_scalar(_raw_log , "$.reason") != null,json_extract_scalar(_raw_log , "$.reason"), lowercase(json_extract_scalar(_raw_log , "$.login_successful")) = "true", "SUCCESS",null),&lt;BR /&gt;xdm.event.operation = XDM_CONST.OPERATION_TYPE_AUTH_LOGIN,&lt;BR /&gt;xdm.auth.service = json_extract_scalar(_raw_log , "$.service_name"),&lt;BR /&gt;xdm.auth.auth_method = json_extract_scalar(_raw_log , "$.login_type"),&lt;BR /&gt;xdm.auth.privilege_level = XDM_CONST.PRIVILEGE_LEVEL_USER,&lt;BR /&gt;xdm.logon.type = XDM_CONST.LOGON_TYPE_SERVICE,&lt;BR /&gt;xdm.event.operation_sub_type = "LOGIN_EVENT";&lt;BR /&gt;&lt;BR /&gt;&lt;LI-PRODUCT title="Cortex XSIAM" id="Cortex_XSIAM"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2025 12:50:58 GMT</pubDate>
    <dc:creator>Hisashi_Abe</dc:creator>
    <dc:date>2025-02-15T12:50:58Z</dc:date>
    <item>
      <title>How to write a data model to map to an authentication story</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/how-to-write-a-data-model-to-map-to-an-authentication-story/m-p/1220561#M156</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We are creating a data model and have questions like:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;==============================================&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are aware that the method of mapping to an authentication story requires defining the following, &lt;BR /&gt;as described in the documentation.&lt;/P&gt;
&lt;P&gt;However, we are experiencing issues where the authentication story is not mapped.&lt;BR /&gt;Specifically, We have created the data model rules as follows, but do you know the cause?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;After creating the data model, we have confirmed that the actual data is mapped to the following six schemas.&lt;BR /&gt;&lt;BR /&gt;■Required Schemas&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSIAM/Cortex-XSIAM-Administrator-Guide/MODEL" target="_blank" rel="noopener"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSIAM/Cortex-XSIAM-Administrator-Guide/MODEL&lt;/A&gt;&lt;BR /&gt;xdm.source.ipv4&lt;BR /&gt;xdm.source.user.upn ※&lt;SPAN&gt;Automatic enrichment&lt;/SPAN&gt;&lt;BR /&gt;xdm.event.original_event_type&lt;BR /&gt;xdm.event.outcome&lt;BR /&gt;xdm.event.outcome_reason&lt;BR /&gt;xdm.event.operation&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;■Created data model&lt;BR /&gt;[MODEL: dataset=xxx_xxxxx_raw]&lt;BR /&gt;alter&lt;BR /&gt;xdm.event.type = "authentication",&lt;BR /&gt;xdm.event.description = "authentication",&lt;BR /&gt;xdm.source.ipv4 = json_extract_scalar(_raw_log , "$.ip"),&lt;BR /&gt;xdm.source.user.username= json_extract_scalar(_raw_log , "$.username"),&lt;BR /&gt;xdm.source.user.domain= "XXX.LOCAL",&lt;BR /&gt;xdm.source.user.user_type = XDM_CONST.USER_TYPE_REGULAR,&lt;BR /&gt;xdm.event.original_event_type = "Logon",&lt;BR /&gt;xdm.event.outcome = if(lowercase(json_extract_scalar(_raw_log , "$.login_successful")) = "true", XDM_CONST.OUTCOME_SUCCESS, lowercase(json_extract_scalar(_raw_log , "$.login_successful")) = "false", XDM_CONST.OUTCOME_FAILED, null),&lt;BR /&gt;xdm.event.outcome_reason = if(json_extract_scalar(_raw_log , "$.reason") != null,json_extract_scalar(_raw_log , "$.reason"), lowercase(json_extract_scalar(_raw_log , "$.login_successful")) = "true", "SUCCESS",null),&lt;BR /&gt;xdm.event.operation = XDM_CONST.OPERATION_TYPE_AUTH_LOGIN,&lt;BR /&gt;xdm.auth.service = json_extract_scalar(_raw_log , "$.service_name"),&lt;BR /&gt;xdm.auth.auth_method = json_extract_scalar(_raw_log , "$.login_type"),&lt;BR /&gt;xdm.auth.privilege_level = XDM_CONST.PRIVILEGE_LEVEL_USER,&lt;BR /&gt;xdm.logon.type = XDM_CONST.LOGON_TYPE_SERVICE,&lt;BR /&gt;xdm.event.operation_sub_type = "LOGIN_EVENT";&lt;BR /&gt;&lt;BR /&gt;&lt;LI-PRODUCT title="Cortex XSIAM" id="Cortex_XSIAM"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2025 12:50:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsiam-discussions/how-to-write-a-data-model-to-map-to-an-authentication-story/m-p/1220561#M156</guid>
      <dc:creator>Hisashi_Abe</dc:creator>
      <dc:date>2025-02-15T12:50:58Z</dc:date>
    </item>
  </channel>
</rss>

