<?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 check_for_secret_disclosure in External API call problem in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/check-for-secret-disclosure-in-External-API-call-problem/m-p/698539#M11687</link>
    <description>&lt;P&gt;We are developing a Splunk app that uses an authenticated external API. In order to support the Cloud Platform, we need to pass the manual check for the cloud tag, but the following error occurred, and we couldn't pass.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;================&lt;/DIV&gt;&lt;DIV&gt;[ manual_check ] check_for_secret_disclosure - Check for passwords and secrets.&lt;DIV&gt;details:&amp;nbsp;[&amp;nbsp;&lt;SPAN class=""&gt;FAILED&amp;nbsp;] key1 value is being passed in the url which gets exposed in the network. Kindly add sensitive data in the headers to make the network communications secure.&lt;/SPAN&gt;&lt;DIV class=""&gt;================&lt;BR /&gt;&lt;DIV class=""&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;req &lt;SPAN&gt;=&lt;SPAN&gt; urllib.request.Request(&lt;SPAN&gt;f&lt;SPAN&gt;"https://api.docodoco.jp/v6/search?key1=&lt;SPAN&gt;{self&lt;SPAN&gt;.apikeys[&lt;SPAN&gt;'apikey1'&lt;SPAN&gt;]&lt;SPAN&gt;}...&lt;BR /&gt;&lt;SPAN&gt;req.add_header(&lt;SPAN&gt;'Authorization'&lt;SPAN&gt;, &lt;SPAN&gt;self&lt;SPAN&gt;.apikeys[&lt;SPAN&gt;'apikey2'&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We understand that confidential information should not be transmitted via HTTP headers or POST and should not be included in URLs. Since "key1" is not confidential information, we believe there should be no issue with including it in the URL.&lt;/P&gt;&lt;P&gt;Due to the external API's specifications, "key1" must always be included in the URL, so we are looking for a way to pass this manual check.&lt;/P&gt;&lt;P&gt;For example, if there is a support desk, we would like to explain that there is no issue with the part flagged in the manual check. Does anyone know of such a support channel? Alternatively, if there is a way to provide additional information to reviewers conducting this manual review, we would like to know. (For example, adding comments to the source code, etc.)&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 09 Sep 2024 10:31:13 GMT</pubDate>
    <dc:creator>glt-suzuki</dc:creator>
    <dc:date>2024-09-09T10:31:13Z</dc:date>
    <item>
      <title>check_for_secret_disclosure in External API call problem</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/check-for-secret-disclosure-in-External-API-call-problem/m-p/698539#M11687</link>
      <description>&lt;P&gt;We are developing a Splunk app that uses an authenticated external API. In order to support the Cloud Platform, we need to pass the manual check for the cloud tag, but the following error occurred, and we couldn't pass.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;================&lt;/DIV&gt;&lt;DIV&gt;[ manual_check ] check_for_secret_disclosure - Check for passwords and secrets.&lt;DIV&gt;details:&amp;nbsp;[&amp;nbsp;&lt;SPAN class=""&gt;FAILED&amp;nbsp;] key1 value is being passed in the url which gets exposed in the network. Kindly add sensitive data in the headers to make the network communications secure.&lt;/SPAN&gt;&lt;DIV class=""&gt;================&lt;BR /&gt;&lt;DIV class=""&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;req &lt;SPAN&gt;=&lt;SPAN&gt; urllib.request.Request(&lt;SPAN&gt;f&lt;SPAN&gt;"https://api.docodoco.jp/v6/search?key1=&lt;SPAN&gt;{self&lt;SPAN&gt;.apikeys[&lt;SPAN&gt;'apikey1'&lt;SPAN&gt;]&lt;SPAN&gt;}...&lt;BR /&gt;&lt;SPAN&gt;req.add_header(&lt;SPAN&gt;'Authorization'&lt;SPAN&gt;, &lt;SPAN&gt;self&lt;SPAN&gt;.apikeys[&lt;SPAN&gt;'apikey2'&lt;SPAN&gt;])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We understand that confidential information should not be transmitted via HTTP headers or POST and should not be included in URLs. Since "key1" is not confidential information, we believe there should be no issue with including it in the URL.&lt;/P&gt;&lt;P&gt;Due to the external API's specifications, "key1" must always be included in the URL, so we are looking for a way to pass this manual check.&lt;/P&gt;&lt;P&gt;For example, if there is a support desk, we would like to explain that there is no issue with the part flagged in the manual check. Does anyone know of such a support channel? Alternatively, if there is a way to provide additional information to reviewers conducting this manual review, we would like to know. (For example, adding comments to the source code, etc.)&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Sep 2024 10:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/check-for-secret-disclosure-in-External-API-call-problem/m-p/698539#M11687</guid>
      <dc:creator>glt-suzuki</dc:creator>
      <dc:date>2024-09-09T10:31:13Z</dc:date>
    </item>
  </channel>
</rss>

