Skip to content

Commit d60d10d

Browse files
authored
Merge branch 'bugfix' into 2.58.0-changelog
2 parents fc708a6 + 01f2589 commit d60d10d

5 files changed

Lines changed: 10 additions & 13 deletions

File tree

docs/content/metrics_reports/dashboards/Introduction_dashboard.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Select **Reset Dashboard Configuration** from the same menu to restore defaults.
6262
* **Customizable Dashboard Tiles**, which you can use to visualize the metrics which are relevant to you.
6363
* **Pre\-built Dashboard Charts**, which visualize your team’s overall performance.
6464

65-
Each team member shares a single dashboard, but the results of the dashboard are restricted by their role and Product Membership. Team members will only see calculated stats for the Products, Engagements, Findings or other objects that they have access to. For more information, see our guides on [User Permissions and Roles](https://docs.defectdojo.com/en/user_management/about-permissions--roles/).
65+
Each team member shares a single dashboard, but the results of the dashboard are restricted by their role and Product Membership. Team members will only see calculated stats for the Products, Engagements, Findings or other objects that they have access to. For more information, see our guides on [User Permissions and Roles](/admin/user_management/about_perms_and_roles).
6666

6767
### Dashboard Tiles
6868

@@ -78,7 +78,7 @@ Tiles can:
7878

7979
Tiles are pinned to the top section of your **🏠 Home** page.
8080

81-
To learn how to add and use dashboard tiles, see our [guide](../about_custom_dashboard_tiles).
81+
To learn how to add and use dashboard tiles, see our [guide](/metrics_reports/dashboards/about_custom_dashboard_tiles).
8282

8383
### Dashboard Charts
8484

@@ -90,7 +90,7 @@ Located beneath Dashboard Tiles, DefectDojo has five pre\-built charts:
9090
* **Top 10 Graded Products** table
9191
* **Bottom 10 Graded Products** table
9292

93-
These charts can be added or removed from the dashboard via **[Dashboard Configuration](https://docs.defectdojo.com/en/dashboard/how-to-edit-dashboard-configuration/)**.
93+
These charts can be added or removed from the dashboard via **Dashboard Configuration**.
9494

9595
#### Historical Finding Severity
9696

dojo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# Django starts so that shared_task will use this app.
55
from .celery import app as celery_app # noqa: F401
66

7-
__version__ = "2.58.0"
7+
__version__ = "2.58.1"
88
__url__ = "https://github.com/DefectDojo/django-DefectDojo"
99
__docs__ = "https://documentation.defectdojo.com"

dojo/models.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,14 +1799,11 @@ def __hash__(self):
17991799

18001800
def __eq__(self, other):
18011801
if isinstance(other, Endpoint):
1802-
# Check if the contents of the endpoint match
18031802
contents_match = str(self) == str(other)
1804-
# Determine if products should be used in the equation
1805-
if self.product is not None and other.product is not None:
1806-
# Check if the products are the same
1807-
products_match = (self.product) == other.product
1808-
# Check if the contents match
1809-
return products_match and contents_match
1803+
# Use product_id (cached integer) instead of self.product to avoid
1804+
# triggering a FK lookup on every comparison inside NestedObjects.add_edge.
1805+
if self.product_id is not None and other.product_id is not None:
1806+
return self.product_id == other.product_id and contents_match
18101807
return contents_match
18111808

18121809
return NotImplemented

helm/defectdojo/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: "2.59.0-dev"
33
description: A Helm chart for Kubernetes to install DefectDojo
44
name: defectdojo
5-
version: 1.9.26-dev
5+
version: 1.9.27-dev
66
icon: https://defectdojo.com/hubfs/DefectDojo_favicon.png
77
maintainers:
88
- name: madchap

helm/defectdojo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ The HELM schema will be generated for you.
511511
512512
# General information about chart values
513513
514-
![Version: 1.9.26-dev](https://img.shields.io/badge/Version-1.9.26--dev-informational?style=flat-square) ![AppVersion: 2.59.0-dev](https://img.shields.io/badge/AppVersion-2.59.0--dev-informational?style=flat-square)
514+
![Version: 1.9.27-dev](https://img.shields.io/badge/Version-1.9.27--dev-informational?style=flat-square) ![AppVersion: 2.59.0-dev](https://img.shields.io/badge/AppVersion-2.59.0--dev-informational?style=flat-square)
515515
516516
A Helm chart for Kubernetes to install DefectDojo
517517

0 commit comments

Comments
 (0)