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

Task/filter metrics according to portfolio access #1

Conversation

mulder999
Copy link
Owner

Description

Portfolio metrics were not filtered by project

Addressed Issue

Fixes DependencyTrack#2323

Additional Details

Sum in real time the matching project metrics

Checklist

  • I have read and understand the contributing guidelines
  • This PR fixes a defect, and I have provided tests to verify that the fix is effective
  • This PR implements an enhancement, and I have provided tests to verify that it works as intended
  • This PR introduces changes to the database model, and I have added corresponding update logic
  • This PR introduces new or alters existing behavior, and I have updated the documentation accordingly

Copy link
Owner Author

@mulder999 mulder999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK to merge with upstream

src/main/java/org/dependencytrack/util/MetricsUtils.java Outdated Show resolved Hide resolved
@mulder999 mulder999 closed this Dec 23, 2022
@mulder999 mulder999 reopened this Dec 23, 2022
@mulder999 mulder999 merged this pull request into bug/2323_filterMetricsByAcl Dec 23, 2022
@mulder999 mulder999 deleted the task/filter-metrics-according-to-portfolio-access branch December 23, 2022 16:17
mulder999 pushed a commit that referenced this pull request Sep 8, 2023
Update from dependency-track
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant