<?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: Error in executing openVulnQuery command in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/error-in-executing-openvulnquery-command/m-p/3569047#M240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I observed this issue was due to the fact that I was using Python 3.6. When i installed the missing modules, the queries are working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2017 21:59:28 GMT</pubDate>
    <dc:creator>gvijendr</dc:creator>
    <dc:date>2017-10-17T21:59:28Z</dc:date>
    <item>
      <title>Error in executing openVulnQuery command</title>
      <link>https://community.cisco.com/t5/services-discussions/error-in-executing-openvulnquery-command/m-p/3569045#M238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using python3 and issue the below query but getting the below error. Any idea where could be the issue ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;$openVulnQuery --config Users/guruprasadvijendra/anaconda3/credentials.json --cvrf --year 2016 --csv&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;/Users/guruprasadvijendra/anaconda3/allpsirt.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;ModuleNotFoundError: No module named 'config'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thx&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 23:12:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/error-in-executing-openvulnquery-command/m-p/3569045#M238</guid>
      <dc:creator>gvijendr</dc:creator>
      <dc:date>2017-10-16T23:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in executing openVulnQuery command</title>
      <link>https://community.cisco.com/t5/services-discussions/error-in-executing-openvulnquery-command/m-p/3569046#M239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, the credentials are in a file named config.py that has the format: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #fff0a5; background-color: #13773d;"&gt;CLIENT_ID = "xxxxxxxxxxx"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #fff0a5; background-color: #13773d;"&gt;CLIENT_SECRET = "XXXXXXXXXXXX"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #fff0a5; background-color: #13773d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #fff0a5; background-color: #13773d;"&gt;&lt;SPAN&gt;REQUEST_TOKEN_URL = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://cloudsso.cisco.com/as/token.oauth2" rel="nofollow" target="_blank"&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: Courier; color: #fff0a5; background-color: #13773d;"&gt;&lt;SPAN&gt;API_URL = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/security/advisories" rel="nofollow" target="_blank"&gt;https://api.cisco.com/security/advisories&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I simply have the config.py in my site packages directory: &lt;/P&gt;&lt;P&gt;/Library/Python/2.7/site-packages/openVulnQuery/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try renaming the json to .py. It that doesn't work, let me know the version of the API you are using and I'll dig into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 15:49:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/error-in-executing-openvulnquery-command/m-p/3569046#M239</guid>
      <dc:creator>marmclau</dc:creator>
      <dc:date>2017-10-17T15:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error in executing openVulnQuery command</title>
      <link>https://community.cisco.com/t5/services-discussions/error-in-executing-openvulnquery-command/m-p/3569047#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I observed this issue was due to the fact that I was using Python 3.6. When i installed the missing modules, the queries are working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 21:59:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/error-in-executing-openvulnquery-command/m-p/3569047#M240</guid>
      <dc:creator>gvijendr</dc:creator>
      <dc:date>2017-10-17T21:59:28Z</dc:date>
    </item>
  </channel>
</rss>

