Skip to content
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

Vulnerability Audit: Filter Using Audit Trail Timestamps #919

Open
2 tasks done
msymons opened this issue Jun 22, 2024 · 1 comment
Open
2 tasks done

Vulnerability Audit: Filter Using Audit Trail Timestamps #919

msymons opened this issue Jun 22, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers p3 Nice-to-have features size/M Medium effort

Comments

@msymons
Copy link
Member

msymons commented Jun 22, 2024

Current Behavior

The Vulnerability Audit screen is a useful tool that will usually (or hopefully) lead to a lot of additional audit decisions being made. After a while you might have hundreds (or thousands) of audit decisions recorded in Dependency-Track.

Good practice will include reviewing decisions. However, there is no functionality that allows filteringAd by audit timestamps. eg

  • I want to check every new audit (eg, added in last week)"
  • How many vulnerabilities have been "In Triage" for more than 30 days?

Proposed Behavior

Add support for filtering by Audit Timestamps.

Note that the audit trail will include multiple timestamps. eg:

mark.symons - 13 Jan 2023 at 02:09:35
Analysis: NOT_SET → IN_TRIAGE

mark.symons - 22 Jun 2024 at 21:57:14
This has been in triage for too long

The comment timestamp should not "break" filtering for vulnerabilities based on analysis state.

Checklist

@msymons msymons added the enhancement New feature or request label Jun 22, 2024
@nscuro nscuro added good first issue Good for newcomers size/M Medium effort labels Jun 24, 2024
@nscuro
Copy link
Member

nscuro commented Jun 24, 2024

This one will need a bit more thought since we don't store the modification timestamp on a per-field basis. The only thing with timestamps are comments (i.e. entries in the audit trail). But those are unstructured text, so it's not necessarily easy to programmatically determine what was done.

@nscuro nscuro added the p3 Nice-to-have features label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers p3 Nice-to-have features size/M Medium effort
Projects
None yet
Development

No branches or pull requests

2 participants