New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cve_schema

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cve_schema

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

cve_schema

  • Homepage
  • Issues
  • Documentation
  • [Email](mailto:postmodern.mod3 at gmail.com)

Description

{CVESchema} provides common classes for CVE data and loading it from JSON.

Features

Examples

require 'cve_schema'
include CVESchema

json = JSON.parse(File.read('path/to/CVE-YYYY-XXXX.json'))
cve = CVE.load(json)

Requirements

Install

$ gem install cve_schema

Benchmark

Loading all 192879 JSON files into memory. This may take a while ...
Mapping all 192879 to CVESchema::CVE objects ...

Total:	 12.310090   0.275629  12.585719 ( 12.664896)
Avg:	  0.000064   0.000001   0.000065 (  0.000066)

Copyright (c) 2020-2021 Hal Brodigan

See {file:LICENSE.txt} for details.

FAQs

Package last updated on 14 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc