<?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 i can add ScriptBlockText field ? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-i-can-add-ScriptBlockText-field/m-p/697386#M16170</link>
    <description>&lt;P&gt;When i want to enable use case "&lt;SPAN&gt;ESCU - Windows Gather Victim Host Information Camera - Rule" the query in corellation search is like this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;index=* source=WinEventLog:Microsoft-Windows-PowerShell/Operational OR source="XmlWinEventLog:Microsoft-Windows-PowerShell/Operational" EventCode=* ScriptBlockText= "* Win32_PnPEntity *" ScriptBlockText= "*SELECT*" ScriptBlockText= "*WHERE*" ScriptBlockText = "*PNPClass*" ScriptBlockText IN ("*Image*", "*Camera*") | stats count min(_time) as firstTime max(_time) as lastTime by EventCode ScriptBlockText Computer UserID | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `windows_gather_victim_host_information_camera_filter`&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From this query it calling &lt;STRONG&gt;ScriptBlockText&lt;/STRONG&gt; field but when i check it in all fields i only can find &lt;STRONG&gt;ScriptBlock_ID&lt;/STRONG&gt;&amp;nbsp;fields&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zksvc_0-1724731841273.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32400iC1F768D7D462B0BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zksvc_0-1724731841273.png" alt="zksvc_0-1724731841273.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question is how i can get field ScriptBlockText ? because when i explore more Use Case too much Correlation Search using ScriptBlockText field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2024 04:25:41 GMT</pubDate>
    <dc:creator>zksvc</dc:creator>
    <dc:date>2024-08-27T04:25:41Z</dc:date>
    <item>
      <title>How i can add ScriptBlockText field ?</title>
      <link>https://community.splunk.com/t5/Alerting/How-i-can-add-ScriptBlockText-field/m-p/697386#M16170</link>
      <description>&lt;P&gt;When i want to enable use case "&lt;SPAN&gt;ESCU - Windows Gather Victim Host Information Camera - Rule" the query in corellation search is like this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;index=* source=WinEventLog:Microsoft-Windows-PowerShell/Operational OR source="XmlWinEventLog:Microsoft-Windows-PowerShell/Operational" EventCode=* ScriptBlockText= "* Win32_PnPEntity *" ScriptBlockText= "*SELECT*" ScriptBlockText= "*WHERE*" ScriptBlockText = "*PNPClass*" ScriptBlockText IN ("*Image*", "*Camera*") | stats count min(_time) as firstTime max(_time) as lastTime by EventCode ScriptBlockText Computer UserID | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `windows_gather_victim_host_information_camera_filter`&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From this query it calling &lt;STRONG&gt;ScriptBlockText&lt;/STRONG&gt; field but when i check it in all fields i only can find &lt;STRONG&gt;ScriptBlock_ID&lt;/STRONG&gt;&amp;nbsp;fields&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zksvc_0-1724731841273.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32400iC1F768D7D462B0BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zksvc_0-1724731841273.png" alt="zksvc_0-1724731841273.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question is how i can get field ScriptBlockText ? because when i explore more Use Case too much Correlation Search using ScriptBlockText field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 04:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-i-can-add-ScriptBlockText-field/m-p/697386#M16170</guid>
      <dc:creator>zksvc</dc:creator>
      <dc:date>2024-08-27T04:25:41Z</dc:date>
    </item>
  </channel>
</rss>

