<?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 Re: Rest api filtering in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/688963#M1507</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261760"&gt;@meshorer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The IN operator will only look for the entire entry in the list so won't work as you cant wildcard the entries. You may have to pull in containers within a date/time range and then do some post-processing in custom code to grab what you need from the returned values.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 08:40:52 GMT</pubDate>
    <dc:creator>phanTom</dc:creator>
    <dc:date>2024-05-29T08:40:52Z</dc:date>
    <item>
      <title>Rest api filtering</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/688959#M1506</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there a way to use a rest api and search for containers that contain the word &amp;nbsp;computer or the word process in the container name? I only manage to filter for “contains” or the filter “in”, , but i failed to use both.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 08:25:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/688959#M1506</guid>
      <dc:creator>meshorer</dc:creator>
      <dc:date>2024-05-29T08:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rest api filtering</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/688963#M1507</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/261760"&gt;@meshorer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The IN operator will only look for the entire entry in the list so won't work as you cant wildcard the entries. You may have to pull in containers within a date/time range and then do some post-processing in custom code to grab what you need from the returned values.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 08:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/688963#M1507</guid>
      <dc:creator>phanTom</dc:creator>
      <dc:date>2024-05-29T08:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rest api filtering</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/689023#M1508</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222170"&gt;@phanTom&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;ok so maybe there is a way to use IN operator on values in custom fields? For exmple custom field key is department, and i want to sort for values buisness, HR&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 18:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/689023#M1508</guid>
      <dc:creator>meshorer</dc:creator>
      <dc:date>2024-05-29T18:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rest api filtering</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/689254#M1510</link>
      <description>&lt;P&gt;What's your end goal with this? That would affect how I'd approach the problem. Do you want a playbook to take action based on this info, or is it some kind of audit?&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 17:16:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/689254#M1510</guid>
      <dc:creator>SOARt_of_Lost</dc:creator>
      <dc:date>2024-05-31T17:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rest api filtering</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/689261#M1511</link>
      <description>&lt;P&gt;Yep, you'll have to have separated calls for that. Filters on SOAR REST can be appended but they will work as "AND" condition as "OR" is not supported in that sense as a limitation on Django querysets &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So the easiest way would be to combine the results of&amp;nbsp;&lt;SPAN&gt;https://&amp;lt;your_soar_instance&amp;gt;/rest/container?_filter_name__icontains="computer" and the ones from&amp;nbsp;https://&amp;lt;your_soar_instance&amp;gt;/rest/container?_filter_name__icontains="process" and finally process then accordingly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 18:35:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Rest-api-filtering/m-p/689261#M1511</guid>
      <dc:creator>victor_menezes</dc:creator>
      <dc:date>2024-05-31T18:35:45Z</dc:date>
    </item>
  </channel>
</rss>

