-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(issue): added docs for wrong detection issues #1961
Conversation
docs/community/contribute/issue.md
Outdated
## Wrong detection | ||
Trivy depends on Github Advisory Database and Gitlab Advisory Database. | ||
Sometime these databases contain mistakes. | ||
|
||
if Trivy can't detect any CVEs or shows false positive result, at first do the next steps: | ||
- run Trivy with `-f json` that shows data sources. Please make sure that data source is correct. | ||
- visit [Github Advisory Database](https://github.com/advisories) and search CVE-ID. | ||
- visit [Gitlab Advisory Database](https://advisories.gitlab.com/) and search CVE-ID . | ||
|
||
If the data source is correct and Trivy shows wrong results, please raise an issue on Trivy | ||
|
||
If you find a problem, it'll be nice to fix it: | ||
* How to contribute to a GitHub security advisory: https://github.blog/2022-02-22-github-advisory-database-now-open-to-community-contributions/ | ||
* Create an issue to Gitlab Advisory Database: https://gitlab.com/gitlab-org/security-products/gemnasium-db/-/issues/new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix it this time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix it this time.
oh, thanks. will be careful
## Check Advisory Databases | ||
- [ ] run Trivy with `-f json` that shows data sources. Please make sure that data source is correct. | ||
- [ ] visit [Github Advisory Database](https://github.com/advisories) and search CVE-ID. | ||
- [ ] visit [Gitlab Advisory Database](https://advisories.gitlab.com/) and search CVE-ID. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Check Advisory Databases | |
- [ ] run Trivy with `-f json` that shows data sources. Please make sure that data source is correct. | |
- [ ] visit [Github Advisory Database](https://github.com/advisories) and search CVE-ID. | |
- [ ] visit [Gitlab Advisory Database](https://advisories.gitlab.com/) and search CVE-ID. | |
## Checklist | |
- [ ] Read [the documentation regarding wrong detection](https://aquasecurity.github.io/trivy/latest/community/contribute/issue/#wrong-detection) | |
- [ ] Confirm that a security advisory in data sources is correct | |
- run Trivy with `-f json` that shows data sources. Please make sure that the security advisory is correct. |
<!-- | ||
|
||
Please, read the documentation before creating an issue: | ||
https://aquasecurity.github.io/trivy/latest/community/contribute/issue/ | ||
|
||
--> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can move it to check list.
docs/community/contribute/issue.md
Outdated
@@ -4,3 +4,18 @@ Thank you for taking interest in contributing to Trivy! | |||
- Please spend a small amount of time giving due diligence to the issue tracker. Your issue might be a duplicate. If it is, please add your comment to the existing issue. | |||
- Remember that users might search for your issue in the future, so please give it a meaningful title to help others. | |||
- The issue should clearly explain the reason for opening, the proposal if you have any, and any relevant technical information. | |||
|
|||
## Wrong detection | |||
Trivy depends on Github Advisory Database and Gitlab Advisory Database. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trivy depends on Github Advisory Database and Gitlab Advisory Database. | |
Trivy depends on [multiple data sources](https://aquasecurity.github.io/trivy/latest/docs/vulnerability/detection/data-source/). |
docs/community/contribute/issue.md
Outdated
Trivy depends on Github Advisory Database and Gitlab Advisory Database. | ||
Sometime these databases contain mistakes. | ||
|
||
if Trivy can't detect any CVEs or shows false positive result, at first do the next steps: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if Trivy can't detect any CVEs or shows false positive result, at first do the next steps: | |
If Trivy can't detect any CVE-IDs or shows false positive result, at first please follow the next steps: |
Co-authored-by: knqyf263 <[email protected]>
Description
Added information about wrong detection issues to the docs.
Checklist