<?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: How does one stop a CPM Action using CLI commands or REST API? in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-does-one-stop-a-cpm-action-using-cli-commands-or-rest-api/m-p/1387610#M68896</link>
    <description>&lt;P&gt;If you do the same thing via PVWA (trigger a Verify and then cancel it), you'll see in the Activities view that your user deletes the "ResetImmediately" file category from the account object. This should be possible with PACLI, but probably not via the Vault REST API.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2023 12:07:22 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2023-08-18T12:07:22Z</dc:date>
    <item>
      <title>How does one stop a CPM Action using CLI commands or REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-does-one-stop-a-cpm-action-using-cli-commands-or-rest-api/m-p/1387609#M68895</link>
      <description>&lt;P&gt;I'm triggering a Verify task via psPAS, but unfortunately this action gets stuck for a long time which is preventing the script from working properly. After some time I'd like to stop this CPM action so that it doesn't cling after the script execution ends, and give the proper error message. But, I'm finding a lot of difficulties to arrange a way of stopping this action since none of the REST API endpoints seems to able to do so. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 'Update Account' endpoint is the one that gets closer to it. Read the documentation and it even says that we can do a replacement operation and gives all the properties we can mess with.&lt;/P&gt;&lt;P&gt;I found the 'status' property could be the one that I could mess with to stop the Verify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000QvR6FIAV.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/85518i48E79C66AFA74143/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000QvR6FIAV.png" alt="Field_Content_versions_oct20__068Ht00000QvR6FIAV.png" /&gt;&lt;/span&gt;It is included in a section called &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000QvR6eIAF.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/85520i72415D9892687B41/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000QvR6eIAF.png" alt="Field_Content_versions_oct20__068Ht00000QvR6eIAF.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but then when we try to make use of it &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000QvR6jIAF.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/85522i16F66D978D05505A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000QvR6jIAF.png" alt="Field_Content_versions_oct20__068Ht00000QvR6jIAF.png" /&gt;&lt;/span&gt;It simply doesn't work, saying this property can't be updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a documentation error or am I seeing it wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same was expected from psPAS commands since they're API-based&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Field_Content_versions_oct20__068Ht00000QvR6tIAF.png"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/85524i05E4EF1E2F1128E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Field_Content_versions_oct20__068Ht00000QvR6tIAF.png" alt="Field_Content_versions_oct20__068Ht00000QvR6tIAF.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how can I stop a CPM action using CLI commands that can be integrated in the Powershell script I'm crafting?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 11:07:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-does-one-stop-a-cpm-action-using-cli-commands-or-rest-api/m-p/1387609#M68895</guid>
      <dc:creator>Ricardo_MC_Santos</dc:creator>
      <dc:date>2023-07-31T11:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: How does one stop a CPM Action using CLI commands or REST API?</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-does-one-stop-a-cpm-action-using-cli-commands-or-rest-api/m-p/1387610#M68896</link>
      <description>&lt;P&gt;If you do the same thing via PVWA (trigger a Verify and then cancel it), you'll see in the Activities view that your user deletes the "ResetImmediately" file category from the account object. This should be possible with PACLI, but probably not via the Vault REST API.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 12:07:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/how-does-one-stop-a-cpm-action-using-cli-commands-or-rest-api/m-p/1387610#M68896</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-08-18T12:07:22Z</dc:date>
    </item>
  </channel>
</rss>

