The main design goal for VulnIQ is to make it a solution that works for everyone, regardless of their budgets. Our mission is to provide maximum value for your budget.
At the same time, our solution is designed to scale if needed. All components can be horizontally or vertically scaled.
For example to scale on AWS,
a customer can use AWS services for components such as RDBMS, Elasticsearch, file storage and the caching service.
Data collection and processing is also designed to scale. If you were running 100 backend processes each
process would poll jobs and work independently.
Or you can also deploy the backend process on a single large server and increase the number of processing threads.
Works for all budgets:
- Should run on a USD 80/month infrastructure (probably good enough for most cases).
- Should also run on a 8K/month infrastructure for customers that want to process large data sets.
- Fully automated: Data should be processed automatically, without requiring human intervention. Data may be coming from a manually curated source but VulnIQ itself should not require any manual processing.
- API first: All data and functionality, including administration and similar functions, shall be available via REST APIs
- Scalable: It should be able to scale up and down.
- No additional license costs: VulnIQ only uses open source third party components and no additional license is required to run VulnIQ.
Components forming the VulnIQ solution can be summarized as :
- The main database: This is a Mysql instance. This is the most critical component as all other services depend on it.
- Backend: Collects and processes data. You can run as many instances as you like. Stopping backend processes will not affect end user experience, only the data will not be updated while backend processes are down.
- Frontend: The web application and REST APIs. You can run as many instances as you like behind a reverse proxy/load balancer.
- File store: The default is to store files on the local file system which does not require any additional services. You can also store files on S3 or similar object stores. Contact us for advanced options.
Elasticsearch : VulnIQ uses an elasticsearch backend to index and search processed data.
VulnIQ uses only the Apache 2 licensed, open source version of elasticsearch.
You can also use a cloud service such as the AWS elasticsearch service. Your users or API calls will not be directly interacting with elasticsearch endpoints, all traffic will be proxied by VulnIQ APIs.
- Web page, URL processor, a custom application developed by VulnIQ
- Caching service, a memcached instance by default
VulnIQ backend process is responsible of data collection and processing. When it is down, new data processing will stop, but all front-end services like APIs, web UI etc will continue to work independent of the backend process. This allows the backend process to be updated, stopped-started without affecting end user experience.
VulnIQ provides simple and unified APIs for all data.
Regardless of the data type, all data have certain common properties which can be accessed using the same endpoints.
For some data types, data type specific endpoints are also provided.
For example git commits, CVEs and OVAL definitions all have the same basic attributes such as id, name, create date etc. But git commits can also have diffs associated with them where OVAL definitions have xmls attached to them.
A web application that utilizes VulnIQ APIs.
Built using vuejs.
Not a completely single-page application per se, but relies heavily on ajax.
An API first approach is followed from the beginning.
Mysql is the default database for VulnIQ. This is the core data store and the only single point of failure in VulnIQ architecture. Without the database neither the front-end nor the back-end will work.
By default all files are stored on the local file system. These files include web page screenshots, original copies of data, source codes for git repositories and more.
VulnIQ adds tags/labels to all data it processes. Data tagging can be used in addition to full text searches. For example all data tagged with cve-2019-11555 can be queried easily without running a full text search.
VulnIQ uses elasticsearch for full-text indexing and searching. All processed data
can be pushed into an elasticsearch instance for indexing.
VulnIQ backend sanitizes data before pushing them into elasticsearch to reduce the amount of data processed by elasticsearch and to reduce the noise. For example instead of pushing a 100KB html source, VulnIQ backend converts the html into plain text and removes irrelevant parts like headers, footers etc to minimize the amount of data added to elasticsearch.