Skip to content

Commit

Permalink
Change: URI result field defaults now to an empty string instead of N…
Browse files Browse the repository at this point in the history
…one (#637)

None was later serialized and sent as None string in the URI result field.
gvmd will ignore/hide the URI field if it is an empty string.
  • Loading branch information
jjnicola authored Nov 27, 2024
1 parent bbbb200 commit d8700de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notus/scanner/messages/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(
oid: str,
value: str,
port: str = "package",
uri: str = None,
uri: str = "",
result_type: ResultType = ResultType.ALARM,
message_id: Optional[UUID] = None,
group_id: Optional[UUID] = None,
Expand Down

0 comments on commit d8700de

Please sign in to comment.