Commit Graph

11 Commits

Author SHA1 Message Date
Tony Arcieri
05af1866b1 Revert "Merge pull request #8 from RustSec/rename-package-to-crate-name"
Cargo uses "package" in Cargo.lock, so there is wisdom to using "package"
instead of "crate_name"

This reverts commit 986c090c06, reversing
changes made to 9556f0fdee.
2017-02-26 00:26:22 -08:00
Tony Arcieri
c8e8676d1a Add build status badges to README.md 2017-02-25 23:58:45 -08:00
Tony Arcieri
f4dbb0d82c Rename package TOML attribute to crate_name
The correct name for a Rust package is a "crate", so something with "crate" is
less ambiguous than "package".

However, "crate" itself is a Rust keyword. To avoid clashes in Rust code which
uses this same attribute name, "crate_name" can be used instead unambigously.
2017-02-25 23:13:36 -08:00
Tony Arcieri
2141fa43c6 Add a "date" field to advisories
Should indicate date of disclosure of the vulnerability
2017-02-25 16:38:30 -08:00
Tony Arcieri
caac500122 Use [advisory] as the table header for advisories
Was previously `[vulnerability]`, but as the contents are a security advisory
it's probably a more apt label.
2017-02-25 16:21:38 -08:00
Tony Arcieri
efdcc6e849 Add titles to advisories
Once again taking a cue from RubySec (but also systems like CVE),
advisories should have a one-liner title
2017-02-25 15:40:22 -08:00
Tony Arcieri
c28b7ceb38 Separate "unaffected_versions" and "patched_versions"
Taking a cue from RubySec, this splits the original "versions" attribute into
separate ones for versions which were never vulnerable, and ones which include
an explicit fix for a vulnerability.
2017-02-25 15:35:43 -08:00
Tony Arcieri
520426b0f8 Text description of public domain license 2017-02-25 15:12:42 -08:00
Tony Arcieri
9b8366731a Dedicate advisory database to the public domain 2017-02-25 15:10:28 -08:00
Tony Arcieri
9bbd818e18 Add advisory format example
This is using the TOML format described in the (presently open) initial RustSec
RFC for security advisories described here:

https://github.com/RustSec/rfcs/pull/1
2017-02-25 15:03:26 -08:00
Tony Arcieri
6c32608b11 Initial commit 2017-02-25 14:37:59 -08:00