Ad Widget

Collapse

Parse JSON from shodan

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Parse JSON from shodan

    Hi!
    I try to parse JSON output from shodan.io to check if my ip has vulnerabilities.
    I get the list of CVE but don't understand how to create unique items for any of them.
    For example I have item
    ["CVE-2011-4317", "CVE-2017-7679", "CVE-2011-3368", "CVE-2011-3348", "CVE-2012-3499", "CVE-2012-4558", "CVE-2013-1896", "CVE-2016-8612", "CVE-2012-4557", "CVE-2014-0098", "CVE-2017-7668", "CVE-2013-6438", "CVE-2012-2687", "CVE-2011-4415", "CVE-2012-0031", "CVE-2013-2249", "CVE-2011-3607", "CVE-2017-3167", "CVE-2012-0053", "CVE-2012-0883", "CVE-2017-3169", "CVE-2011-3639", "CVE-2011-0419", "CVE-2014-0231", "CVE-2013-1862", "CVE-2016-4975", "CVE-2011-3192"]
    after preprocessing with JSON. And now I need to create one by one items for each CVE. I can create a lot of dependent items and use regexp but the quantity of CVE can vary. Do I need to create dependent discovery rule? If so could you please explain how to do it?
    My zabbix server nas version 4.2.1.

Announcement

Collapse
No announcement yet.
Working...
X