Comments (9)
api_key parameter must be a string value
Fixed in vulnersCom/api@4364aef
from zabbix-threat-control.
Yes, it will only update once per day.
But you can change the "Scheduling interval" as you need
from zabbix-threat-control.
Hi.
-
What version of the Vulners API python module do you have installed? Requires version > = 1.3.1.
-
What version of the scan.py do you have installed? Actual version = 1.3.4.
-
Try to specify not your API key, but a demo key from the configuration file. Will the error change to "Wrong Vulners API key"?
Example:[MANDATORY] ### Option: VulnersApiKey # Used to access the API. # To get it follow the steps bellow: # Log in to vulners.com. Navigate to userinfo space https://vulners.com/userinfo. # Choose "API KEYS" section. Select "scan" in scope menu and click "Generate new key". # Example api key = RGB9YPJG7CFAXP35PMDVYFFJPGZ9ZIRO1VGO9K9269B0K86K6XQQQR32O6007NUK # # Mandatory: yes # Default: VulnersApiKey = RGB9YPJG7CFAXP35PMDVYFFJPGZ9ZIRO1VGO9K9269B0K86K6XQQQR32O6007NUK ./scan.py INFO:ZTC:Start. ERROR:ZTC:Error: Used API key: RGB9YPJG7CFAXP35PMDVYFFJPGZ9ZIRO1VGO9K9269B0K86K6XQQQR32O6007NUK. Wrong Vulners API key. Please, follow https://vulners.com to obtain correct one.
from zabbix-threat-control.
Hi Samosvat,
here is the output of pip show vulners:
Metadata-Version: 2.0
Name: vulners
Version: 1.3.4
Summary: Python library and command-line utility for Vulners (https://vulners.com)
Home-page: https://github.com/vulnersCom/api
Author: Kirill Ermakov
Author-email: [email protected]
Installer: pip
License: UNKNOWN
Location: /usr/lib/python2.7/site-packages
Requires: requests
Classifiers:
Development Status :: 5 - Production/Stable
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Libraries :: Python Modules
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Topic :: Software Development :: Version Control
Topic :: Utilities
and for the scan.py version:
version = '1.3.4
I've tried using the demo key and the error is the same..
the error is not the expected "Wrong Vulners API key"...
thank you!!
from zabbix-threat-control.
Works now! thanks!!
from zabbix-threat-control.
Got it :)
from zabbix-threat-control.
hi Vulners,
i got 1 more issue, no information displayed on the vulners dashboard,
hosts created by the script shows unavailable status,
what should be linked?
from zabbix-threat-control.
After installation, you need to do this: https://github.com/vulnersCom/zabbix-threat-control#configuration
Also check the following:
Сheck the hosts in Zabbix: do you have this data in hosts latest data?
Script are run once a day. The start-up time is selected randomly during the installation. Check after this time.
Run: zabbix_get -s HOST_IP -k "system.run[/opt/monitoring/os-report/report.py package]"
Must return a list of packages installed on a server HOST_IP to the console.
Run: zabbix_sender -z ZABBIX_SRV_IP -s vulners.statistics -k vulners.scoreMin -o 0
Сheck the host "Vulners - Statistics" in Zabbix: do you have this data in host latest data?
from zabbix-threat-control.
Hi Samosvat,
its working now,. thanks!! btw is there a way to manually trigger the updated package vulnerability list in the dashboard after updating the vulnerable packages? or it will only update once per day?
from zabbix-threat-control.
Related Issues (20)
- No vulnerable packages found HOT 7
- Vulners action is empty HOT 1
- Fix action doesn't fix
- KeyError: 'OPTIONAL'
- Incorrect version and vulnerabilities detection
- Problems with parameters of prepare.py
- fix.py doesn't use port information
- Vulners - Suse leap 15.1
- Work with proxy
- problem with prepare.py HOT 6
- no hosts or packages visible in dashboard - related to fix hostid in prepare.py? HOT 2
- OS - Packages - not fully populated HOT 2
- Problem with running plugin in docke
- Can't create host vulners.hosts. Exception: ('Error -32601: Method not found., Incorrect API "application" HOT 1
- ModuleNotFoundError: No module named 'pyzabbix' with Zabbix 5.0LTS on Ubuntu 20.04 via hand HOT 1
- Compatibility with Zabbix 5.4 and the future 6.0 HOT 2
- Unable to install Threat Control HOT 1
- Packages (at least for Debian) are not up to date
- empty string runing system.run[{$REPORT_SCRIPT_PATH} package] HOT 1
- prepare.py -uvtd : Failed with account is temporarily blocked.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zabbix-threat-control.