Skip to content

Commit 881dd45

Browse files
sacca97copernico
authored andcommitted
updated readme and contribution guides
1 parent 1ec49b3 commit 881dd45

File tree

2 files changed

+31
-42
lines changed

2 files changed

+31
-42
lines changed

CONTRIBUTING.md

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,61 @@
1-
## How to contribute to project "KB"
1+
# How to contribute to project KB
22

33
### Developer Certificate of Origin (DCO)
4-
Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/)
4+
Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).
55

6-
#### **Do you intend to contribute with new vulnerability data?**
6+
### **Do you have new vulnerability data?**
77

88
A structured process to create and share vulnerability data is work in progress.
99

1010
Until it is defined, we invite you to just create pull requests in order to
11-
submit new vulnerability data, using and existing statement as a template. You
11+
submit new vulnerability data, using an existing statement as a template. You
1212
should provide, at least the vulnerability identifier, the URL of the source
1313
code repository of the affected component and one or more identifiers of the
1414
commits used to fix the vulnerability.
1515

16-
#### **Did you find a bug?**
16+
### **Did you find a bug?**
1717

18-
* **Ensure the bug was not already reported** by searching on GitHub under
19-
[Issues](https://github.com/sap/project-kb/issues).
18+
* **Ensure the bug was not already reported** by searching in the [GitHub Issues](https://github.com/sap/project-kb/issues).
2019

21-
* If you're unable to find an open issue that addresses the problem, [open a new
22-
one](https://github.com/sap/project-kb/issues/new). Be sure to include a
23-
**title and clear description**, as much relevant information as possible, and
20+
* If it is a new one, feel free to [open it](https://github.com/sap/project-kb/issues/new). Be sure to include a
21+
**title and a clear description**, as much relevant information as possible, and
2422
a **code sample** or an **executable test case** demonstrating the expected
2523
behavior that is not occurring.
2624

2725

28-
#### **Did you write a patch that fixes a bug?**
26+
### **Did you write a patch that fixes a bug?**
2927

3028
* Open a new GitHub pull request with the patch.
31-
* Ensure the PR description clearly describes the problem and solution. Include
29+
* Ensure the PR description clearly describes problem and solution. Include
3230
the relevant issue number if applicable.
33-
* Add one or more test cases as appropriate
31+
* Add one or more test cases as appropriate.
3432
* Make sure all other tests and checks still pass (that is, run `make check` in
3533
the `kaybee` folder; it should succeed)
3634

37-
#### **Did you fix whitespace, format code, or make a purely cosmetic patch?**
35+
### **Did you fix whitespace, format code, or make a purely cosmetic patch?**
3836

39-
Changes that are cosmetic in nature and do not add anything substantial to the
40-
stability, functionality, or testability are accepted at this time.
37+
Changes that are cosmetic in nature and do not modify the
38+
stability, functionality, or testability are accepted.
4139

42-
#### **Do you intend to add a new feature or change an existing one?**
40+
### **Do you intend to add a new feature or change an existing one?**
4341

44-
* Suggest your change by creating an issue and start writing code in your own
42+
* Suggest your change by creating an issue, then start writing code in your own
4543
fork and make a PR when ready. Please make sure you provide tests for your
4644
code, and ensure you can successfully execute `make check` (in the `kaybee`
4745
folder) with no errors and that you include adequate documentation in your
4846
code.
4947

5048

51-
52-
53-
#### **Do you have questions about the source code?**
49+
### **Do you have questions about the source code?**
5450

5551
* For now, file an issue (we consider that the need of clarifications at this
5652
stage indicates missing or inadequate documentation).
5753

58-
#### **Do you want to contribute to the documentation?**
54+
### **Do you want to contribute to the documentation?**
5955

60-
You are most welcome to do so, project "KB" needs every one of you to succeed,
56+
You are most welcome to do so, project KB needs every one of you to succeed,
6157
every drop matters!
6258

6359
Thanks! :heart: :heart: :heart:
6460

65-
The project "KB" team
61+
The project KB team

README.md

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![Pytest](https://github.com/SAP/project-kb/actions/workflows/python.yml/badge.svg)](https://github.com/SAP/project-kb/actions/workflows/python.yml)
1111

1212
## Description
13-
***
13+
1414
The goal of `Project KB` is to enable the creation, management and aggregation of a
1515
distributed, collaborative knowledge base of vulnerabilities affecting
1616
open-source software.
@@ -19,7 +19,7 @@ open-source software.
1919
as well as set of tools to support the mining, curation and management of such data.
2020

2121

22-
### Why this project?
22+
### Motivations
2323

2424
In order to feed [Eclipse Steady](https://github.com/eclipse/steady/) with fresh
2525
data, we have spent a considerable amount of time, in the past few years, mining
@@ -50,7 +50,7 @@ other sources.
5050

5151

5252
## Kaybee
53-
***
53+
5454
Kaybee is a vulnerability data management tool, it makes possible to fetch the vulnerability statements from this
5555
repository (or from any other repository) and export them to a number of
5656
formats, including a script to import them to a [Steady
@@ -59,18 +59,18 @@ backend](https://github.com/eclipse/steady).
5959
For details and usage instructions check out the [kaybee README](https://github.com/SAP/project-kb/tree/main/kaybee).
6060

6161
## Prospector
62-
***
62+
6363
Prospector is a vulnerability data mining tool that aims at reducing the effort needed to find security fixes for known vulnerabilities in open source software repositories.
6464
The tool takes a vulnerability description (in natural language) as input and produces a ranked list of commits, in decreasing order of relevance.
6565

6666
For details and usage instructions check out the [prospector README](https://github.com/SAP/project-kb/tree/main/prospector).
6767

6868
## Vulnerability data
69-
***
69+
7070
The vulnerability data of Project KB are stored in textual form as a set of YAML files, in the [vulnerability-data branch](https://github.com/SAP/project-kb/tree/vulnerability-data).
7171

7272
## Publications
73-
***
73+
7474
In early 2019, a snapshot of the knowlege base from project "KB" was described in:
7575

7676
- Serena E. Ponta, Henrik Plate, Antonino Sabetta, Michele Bezzi, Cédric
@@ -96,7 +96,6 @@ scripts described in that paper](MSR2019)
9696
> If you wrote a paper that uses the data or the tools from this repository, please let us know (through an issue) and we'll add it to this list.
9797
9898
## Credits
99-
***
10099

101100
### EU-funded research projects
102101

@@ -105,28 +104,22 @@ The development of Project KB is partially supported by the following projects:
105104
* [AssureMOSS](https://assuremoss.eu) (Grant No.952647).
106105
* [Sparta](https://www.sparta.eu/) (Grant No.830892).
107106

108-
109107
### Vulnerability data sources
110108

111109
Vulnerability information from NVD and MITRE might have been used as input
112110
for building parts of this knowledge base. See MITRE's [CVE Usage license](http://cve.mitre.org/about/termsofuse.html) for more information.
113111

114112
## Limitations and Known Issues
115113

116-
This project is work-in-progress. The vulnerability knowledge base only contains
117-
information about vulnerabilities in Java and Python open source components.
118-
119-
The list of current issues is available
120-
[here](https://github.com/SAP/project-kb/issues).
114+
This project is **work-in-progress**, you can find the list of known issues [here](https://github.com/SAP/project-kb/issues).
121115

122-
Feel free to open a new issue if you think you found a bug or if you have a feature request.
116+
Currently the vulnerability knowledge base only contains information about vulnerabilities in Java and Python open source components.
123117

124-
## How to obtain support
118+
## Support
125119

126120
For the time being, please use [GitHub
127-
issues](https://github.com/SAP/project-kb/issues) both to report bugs and to
128-
request help. Documentation and better support channels will come soon.
121+
issues](https://github.com/SAP/project-kb/issues) to report bugs, request new features and ask for support.
129122

130123
## Contributing
131124

132-
See [here](CONTRIBUTING.md).
125+
See [How to contribute](CONTRIBUTING.md).

0 commit comments

Comments
 (0)