Skip to content

Commit 93888f1

Browse files
authored
Merge pull request #2149 from aboutcode-org/restructure-readme
Update README.rst to simplify structure
2 parents b3928f1 + c1aaa62 commit 93888f1

File tree

1 file changed

+48
-98
lines changed

1 file changed

+48
-98
lines changed

README.rst

Lines changed: 48 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,37 @@
1-
===============
1+
==============
22
VulnerableCode
3+
==============
4+
5+
VulnerableCode is a database of software package vulnerabilities with Web UI and API.
6+
7+
Why Use VulnerableCode?
8+
=======================
9+
10+
VulnerableCode provides a Web UI and API to access a database of known software package
11+
vulnerabilities with comprehensive information from upstream and downstream public
12+
sources including packages affected by a vulnerability and packages that fix a
13+
vulnerability.
14+
15+
There is a `public VulnerableCode database <https://public.vulnerablecode.io/>`_
16+
and the project also provides the tools to build your own instance of the database.
17+
18+
Getting Started
319
===============
420

21+
Instructions to get you up and running on your local machine are at `Getting Started <https://vulnerablecode.readthedocs.io/en/stable/>`_
22+
23+
The VulnerableCode documentation also provides:
24+
25+
- prerequisites for installing the software.
26+
- an introduction to the user interface.
27+
- how to use the API.
28+
- tutorials for adding new pipelines to import and improve advisories.
29+
- extensive reference information about VulnerableCode data.
30+
- guidelines for contributing to code development.
31+
32+
Build and tests status
33+
======================
34+
535
|Build Status| |Code License| |Data License| |Python 3.8+| |stability-wip| |Gitter chat|
636

737

@@ -18,11 +48,12 @@ VulnerableCode
1848
:target: https://gitter.im/aboutcode-org/vulnerablecode
1949

2050

51+
Benefits of VulnerableCode
52+
==========================
53+
2154
VulnerableCode is a free and open database of open source software package
2255
vulnerabilities **because open source software vulnerability data and tools
23-
should be free and open source themselves**:
24-
25-
We are trying to change this and evolve the status quo in a few other areas!
56+
should be free and open source themselves**.
2657

2758
- Vulnerability databases have been **traditionally proprietary** even though they
2859
are mostly about free and open source software.
@@ -37,110 +68,29 @@ We are trying to change this and evolve the status quo in a few other areas!
3768
easier to find a package and whether it is vulnerable.
3869

3970
PURLs were designed initially for ScanCode and VulnerableCode. PURL is
40-
now a de-facto standard for vulnerability management and package references.
41-
See https://github.com/package-url/purl-spec
42-
43-
The VulnerableCode project is a FOSS community resource to help improve the
44-
security of the open source software ecosystem and its users at large.
45-
46-
VulnerableCode consists of a database and the tools to collect, refine and keep
47-
the database current.
48-
49-
50-
.. pull-quote::
51-
**Warning**
52-
VulnerableCode is under active development and may not be ready for production
53-
use depending on your use cases.
54-
55-
Read more about VulnerableCode at https://vulnerablecode.readthedocs.org/
71+
now a `standard <https://github.com/package-url/purl-spec>`_ for vulnerability management
72+
and package references.
5673

5774
The VulnerableCode tech stack is Python, Django, PostgreSQL, nginx and Docker and
5875
several libraries.
5976

60-
Getting started
61-
===============
62-
63-
Run with Docker
64-
---------------
65-
66-
First install docker, then run
67-
68-
.. code:: bash
69-
70-
git clone https://github.com/nexB/vulnerablecode.git && cd vulnerablecode
71-
make envfile
72-
docker compose build
73-
docker compose up -d
74-
docker compose run vulnerablecode ./manage.py import --list
75-
76-
Then run an importer for nginx advisories (which is small)
77+
Support
78+
=======
7779

78-
.. code:: bash
80+
If you have a specific problem, suggestion or bug, please submit a
81+
`GitHub issue <https://github.com/aboutcode-org/vulnerablecode/issues>`_.
7982

80-
docker compose exec vulnerablecode ./manage.py import nginx_importer
81-
docker compose exec vulnerablecode ./manage.py improve --all
82-
83-
At this point, the VulnerableCode app and API should be up and running with
84-
some data at http://localhost
85-
86-
87-
Populate VulnerableCode database
88-
--------------------------------
89-
90-
VulnerableCode data collection works in two steps: importing data from multiple
91-
sources and then refining and improving how package and software vulnerabilities
92-
are related.
93-
94-
To run all importers and improvers use this
95-
96-
.. code:: bash
97-
98-
./manage.py import --all
99-
100-
.. code:: bash
101-
102-
./manage.py improve --all
103-
104-
105-
Local development installation
106-
------------------------------
107-
108-
On a Debian system, use this
109-
110-
.. code:: bash
111-
112-
sudo apt-get install python3-venv python3-dev postgresql libpq-dev build-essential
113-
git clone https://github.com/nexB/vulnerablecode.git && cd vulnerablecode
114-
make dev envfile postgres
115-
make test
116-
source venv/bin/activate
117-
./manage.py import nginx_importer
118-
./manage.py improve --all
119-
make run
120-
121-
At this point, the VulnerableCode app and API is up at http://127.0.0.1:8001/
83+
For quick questions or socializing, join the AboutCode community discussions on `Slack <https://join.slack.com/t/aboutcode-org/shared_invite/zt-3li3bfs78-mmtKG0Qhv~G2dSlNCZW2pA>`_.
12284

85+
Interested in commercial suppport? Contact the `AboutCode team <mailto:hello@aboutcode.org>`_.
12386

12487
License
125-
========
126-
127-
Copyright (c) nexB Inc. and others. All rights reserved.
128-
129-
VulnerableCode is a trademark of nexB Inc.
130-
131-
SPDX-License-Identifier: Apache-2.0 AND CC-BY-SA-4.0
132-
133-
VulnerableCode software is licensed under the Apache License version 2.0.
134-
135-
VulnerableCode data is licensed collectively under CC-BY-SA-4.0.
136-
137-
See https://www.apache.org/licenses/LICENSE-2.0 for the license text.
138-
139-
See https://creativecommons.org/licenses/by-sa/4.0/legalcode for the license text.
140-
141-
See https://github.com/nexB/vulnerablecode for support or download.
88+
=======
14289

143-
See https://aboutcode.org for more information about nexB OSS projects.
90+
* `Apache-2.0 <apache-2.0.LICENSE>`_ is the overall license.
91+
* `CC-BY-SA-4.0 <cc-by-sa-4.0.LICENSE>`_ applies to reference datasets.
92+
* There are multiple secondary permissive or copyleft licenses (LGPL, MIT,
93+
BSD, GPL 2/3, etc.) for third-party components and test suite code and data.
14494

14595

14696
Acknowledgements, Funding, Support and Sponsoring

0 commit comments

Comments
 (0)