<?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: Where is SAML_script_azure.py? in Security</title>
    <link>https://community.splunk.com/t5/Security/Where-is-SAML-script-azure-py/m-p/541264#M12105</link>
    <description>&lt;P&gt;The requirement for using authentication extension via SAML to Azure SSO include:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;App Registration (SSO via SAML)&lt;/LI&gt;&lt;LI&gt;App/client secret token&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Application API permissions&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For testing the SAML_script_azure.py use the following format:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;/opt/splunk/bin/splunk cmd python3 /opt/splunk/etc/auth/scripts/SAML_script_azure.py getUserInfo &amp;lt; input.txt&lt;/P&gt;&lt;P&gt;Where the contents of the input.txt file is:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;--username=&amp;lt;user name&amp;gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;--password=**************&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;--scriptSecureArguments=clientId:&amp;lt;app id&amp;gt;;tenantId:&amp;lt;tenant id&amp;gt;;clientSecret&amp;lt;secret&amp;gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;--userInfo=true&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can at least get a response from azure:&lt;/P&gt;&lt;P&gt;"error": {&lt;BR /&gt;"code": "Authorization_RequestDenied",&lt;BR /&gt;"message": "Insufficient privileges to complete the operation.",&lt;BR /&gt;"innerError": {&lt;BR /&gt;"date": "2021-02-24T19:22:51",&lt;BR /&gt;"request-id": "********",&lt;BR /&gt;"client-request-id": "********"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 19:44:23 GMT</pubDate>
    <dc:creator>thormanrd</dc:creator>
    <dc:date>2021-02-24T19:44:23Z</dc:date>
    <item>
      <title>Where is SAML_script_azure.py?</title>
      <link>https://community.splunk.com/t5/Security/Where-is-SAML-script-azure-py/m-p/541047#M12102</link>
      <description>&lt;P&gt;This doc,&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.0/Security/ConfigureauthextensionsforSAMLtokens," target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.0/Security/ConfigureauthextensionsforSAMLtokens,&lt;/A&gt;&amp;nbsp;says that SAML_script_azure.py ships with Splunk Enterprise.&amp;nbsp; It is nowhere to be found on the 8.1 installations I have.&amp;nbsp; Anybody know where I can find it?&lt;/P&gt;&lt;P&gt;I tried&amp;nbsp;azureScripted.py in $SPLUNK_HOME/share/splunk/authScriptSamples but it is not the same.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 16:48:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Where-is-SAML-script-azure-py/m-p/541047#M12102</guid>
      <dc:creator>thormanrd</dc:creator>
      <dc:date>2021-02-23T16:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Where is SAML_script_azure.py?</title>
      <link>https://community.splunk.com/t5/Security/Where-is-SAML-script-azure-py/m-p/541081#M12103</link>
      <description>&lt;P&gt;splunk-8.1.2-545206cc9f70-linux-2.6-x86_64.rpm has the scripts.&amp;nbsp; Contrary to the 8.1.0 docs that say they are included, I did not find them until I updated to 8.1.2&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 20:45:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Where-is-SAML-script-azure-py/m-p/541081#M12103</guid>
      <dc:creator>thormanrd</dc:creator>
      <dc:date>2021-02-23T20:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Where is SAML_script_azure.py?</title>
      <link>https://community.splunk.com/t5/Security/Where-is-SAML-script-azure-py/m-p/541264#M12105</link>
      <description>&lt;P&gt;The requirement for using authentication extension via SAML to Azure SSO include:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;App Registration (SSO via SAML)&lt;/LI&gt;&lt;LI&gt;App/client secret token&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Application API permissions&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;For testing the SAML_script_azure.py use the following format:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;/opt/splunk/bin/splunk cmd python3 /opt/splunk/etc/auth/scripts/SAML_script_azure.py getUserInfo &amp;lt; input.txt&lt;/P&gt;&lt;P&gt;Where the contents of the input.txt file is:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;--username=&amp;lt;user name&amp;gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;--password=**************&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;--scriptSecureArguments=clientId:&amp;lt;app id&amp;gt;;tenantId:&amp;lt;tenant id&amp;gt;;clientSecret&amp;lt;secret&amp;gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;--userInfo=true&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can at least get a response from azure:&lt;/P&gt;&lt;P&gt;"error": {&lt;BR /&gt;"code": "Authorization_RequestDenied",&lt;BR /&gt;"message": "Insufficient privileges to complete the operation.",&lt;BR /&gt;"innerError": {&lt;BR /&gt;"date": "2021-02-24T19:22:51",&lt;BR /&gt;"request-id": "********",&lt;BR /&gt;"client-request-id": "********"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 19:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Where-is-SAML-script-azure-py/m-p/541264#M12105</guid>
      <dc:creator>thormanrd</dc:creator>
      <dc:date>2021-02-24T19:44:23Z</dc:date>
    </item>
  </channel>
</rss>

