<?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: Secrets in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/446215#M410</link>
    <description>&lt;P&gt;Hi, just checking-in on this older post that you had you question resolved.&lt;/P&gt;&lt;P&gt;If any posts have helped you resolve your issue, please kindly accept one of the solution answers.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Nov 2021 17:18:31 GMT</pubDate>
    <dc:creator>jgomes</dc:creator>
    <dc:date>2021-11-08T17:18:31Z</dc:date>
    <item>
      <title>Secrets</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/427180#M305</link>
      <description>&lt;P&gt;How is everyone else doing secrets?&lt;/P&gt;&lt;P&gt;It seems odd to me that everything that might use an API key needs to be an integration instead of an automation.&lt;BR /&gt;You can't seem to easily hide plain-text apikeys from an automation at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;I have a Contact List for emergencies:&lt;/P&gt;&lt;P&gt;I have an API key, that I use to query the owner of certain cloud instances pull the name down, and auto generate an email.&lt;/P&gt;&lt;P&gt;all I want to do is hide the API key from being plain-text in the code. The contact name, is also based on other integration JSON attributes on where to look. It seems like I would need to build an integration, to look at another integration to work?&lt;/P&gt;&lt;P&gt;The automation already works, but now to set this up as an 'integration' seems like an additional 10 steps that seem silly? am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 21:41:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/427180#M305</guid>
      <dc:creator>MrDuck</dc:creator>
      <dc:date>2021-08-16T21:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Secrets</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/429130#M310</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is correct the platform is geared towards using integration to safely store and handle credentials. Integrations come with other features like integration context to store instance objects and methods like fetch.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yoda Speaks is a good tutorial on creating your first simple integration -&amp;nbsp;&lt;A href="https://xsoar.pan.dev/docs/tutorials/tut-integration-ui" target="_blank"&gt;https://xsoar.pan.dev/docs/tutorials/tut-integration-ui&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;That said, if the credentials is not very sensitive you can still leave in automation code. You can use RBAC to restrict access for less privileged users to see automation IDE and code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also a automation setting argument tick box called ‘sensitive’. When set, it will popup a password box at time of run for analyst to type in password, and thus not stored in code. This would be for on demand playground CLI or war room.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 13:34:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/429130#M310</guid>
      <dc:creator>jgomes</dc:creator>
      <dc:date>2021-08-25T13:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Secrets</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/429270#M311</link>
      <description>&lt;P&gt;I was looking at this again myself two weeks ago when using a specific endpoint in MS Graph API.&lt;/P&gt;&lt;P&gt;It seems to be set up this way by the core design philosophy of the XSOAR platform:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Automations should be reusable code that can run completely within the platform&lt;/LI&gt;&lt;LI&gt;Integrations are code and creds that may touch other systems to perform API actions (like fetching incidents)&lt;/LI&gt;&lt;LI&gt;Integrations must be self-contained and should be single-purpose&lt;/LI&gt;&lt;LI&gt;An integration should have all code it needs to perform its tasks&amp;nbsp;&lt;UL&gt;&lt;LI&gt;An automation can call integration functions, Integrations can't call automations&lt;/LI&gt;&lt;LI&gt;Integrations shouldn't be able to use other integrations either&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Therefore, there should be no need for an automation to store any credentials because they'd be stored in the integration with the external platform. The call to the external platform would have the credential usage abstracted by the integration with the automation getting the results of the API action.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In practice, spinning up a whole integration to make one GET request feels a little silly but if you want to protect your creds there isn't too much choice.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 20:22:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/429270#M311</guid>
      <dc:creator>${userLoginName}</dc:creator>
      <dc:date>2021-08-25T20:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Secrets</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/446215#M410</link>
      <description>&lt;P&gt;Hi, just checking-in on this older post that you had you question resolved.&lt;/P&gt;&lt;P&gt;If any posts have helped you resolve your issue, please kindly accept one of the solution answers.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 17:18:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/secrets/m-p/446215#M410</guid>
      <dc:creator>jgomes</dc:creator>
      <dc:date>2021-11-08T17:18:31Z</dc:date>
    </item>
  </channel>
</rss>

