<?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: HE Management SDK response is not as expected in Endpoint</title>
    <link>https://community.checkpoint.com/t5/Endpoint/HE-Management-SDK-response-is-not-as-expected/m-p/227010#M9354</link>
    <description>&lt;P&gt;It could also be an API issue.&lt;BR /&gt;Reporting the issue on GitHub is probably your best bet, though.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 21:51:26 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2024-09-17T21:51:26Z</dc:date>
    <item>
      <title>HE Management SDK response is not as expected</title>
      <link>https://community.checkpoint.com/t5/Endpoint/HE-Management-SDK-response-is-not-as-expected/m-p/226929#M9348</link>
      <description>&lt;DIV&gt;I’ve been testing the &lt;STRONG&gt;Harmony Endpoint Management Python SDK&lt;/STRONG&gt; and expected to receive a list with metadata only for &lt;STRONG&gt;Threat Prevention&lt;/STRONG&gt; policies when running the following code:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;rules_metadata_threat_prevention_res&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;he&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;policy_general_api&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get_all_rules_metadata&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;header_params&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;{ &lt;/SPAN&gt;&lt;SPAN&gt;"x-mgmt-run-as-job"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'on'&lt;/SPAN&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;query_params&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;"ruleFamily"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'Threat Prevention'&lt;/SPAN&gt;&lt;SPAN&gt;})&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;However, I received metadata for &lt;STRONG&gt;all policies across all families&lt;/STRONG&gt;, even though I specified the ruleFamily in the query_params. I’ve reviewed the code multiple times but can’t seem to find any issues.&lt;/P&gt;&lt;P&gt;Could someone help me identify if there’s a mistake in my code, or is this an SDK issue that I should report on GitHub?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Sep 2024 12:43:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Endpoint/HE-Management-SDK-response-is-not-as-expected/m-p/226929#M9348</guid>
      <dc:creator>carlosfuch</dc:creator>
      <dc:date>2024-09-17T12:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: HE Management SDK response is not as expected</title>
      <link>https://community.checkpoint.com/t5/Endpoint/HE-Management-SDK-response-is-not-as-expected/m-p/227010#M9354</link>
      <description>&lt;P&gt;It could also be an API issue.&lt;BR /&gt;Reporting the issue on GitHub is probably your best bet, though.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 21:51:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Endpoint/HE-Management-SDK-response-is-not-as-expected/m-p/227010#M9354</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-09-17T21:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: HE Management SDK response is not as expected</title>
      <link>https://community.checkpoint.com/t5/Endpoint/HE-Management-SDK-response-is-not-as-expected/m-p/230917#M9586</link>
      <description>&lt;P&gt;We’ve tested the filter in our lab, and it appears to be working as expected.&lt;/P&gt;
&lt;P&gt;After reviewing your code, we noticed there may be some unusual characters (such as non-standard spaces) that could potentially interfere with validation:&lt;/P&gt;
&lt;DIV id="tinyMceEditor_1d3841e893ada7Itamar_Tubul_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-27 at 17.12.16.png" style="width: 999px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/28217i4D627445058159DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-10-27 at 17.12.16.png" alt="Screenshot 2024-10-27 at 17.12.16.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you please try cleaning up these characters in your code and retrying? If this doesn’t resolve the issue, feel free to open a Service Request or GitHub issue, and we’ll be happy to assist further.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Itamar&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Oct 2024 15:15:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Endpoint/HE-Management-SDK-response-is-not-as-expected/m-p/230917#M9586</guid>
      <dc:creator>Itamar_Tubul</dc:creator>
      <dc:date>2024-10-27T15:15:18Z</dc:date>
    </item>
  </channel>
</rss>

