Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions dojo/importers/endpoint_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
query=endpoint.query,
fragment=endpoint.fragment,
product=finding.test.engagement.product)
if hasattr(endpoint, 'unsaved_tags') and endpoint.unsaved_tags:

Check failure on line 44 in dojo/importers/endpoint_manager.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (Q000)

dojo/importers/endpoint_manager.py:44:38: Q000 Single quotes found but double quotes preferred
logger.debug(f"Applying tags to endpoint {ep.host}: {endpoint.unsaved_tags}")
ep.tags.add(*[tag.lower() for tag in endpoint.unsaved_tags])

Check failure on line 46 in dojo/importers/endpoint_manager.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (W291)

dojo/importers/endpoint_manager.py:46:81: W291 Trailing whitespace
except (MultipleObjectsReturned):
msg = (
f"Endpoints in your database are broken. "
Expand Down
Loading