Skip to content

Commit

Permalink
Fix: Do not truncate operating system names
Browse files Browse the repository at this point in the history
Fixed names for generated operating systems being cut off after the first letter.
  • Loading branch information
4D617274696E authored and greenbonebot committed Nov 13, 2023
1 parent aa45e8e commit 67d90a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate-random-reports.gmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

from gvmtools.helper import generate_id, generate_random_ips, generate_uuid

__version__ = "0.3.0"
__version__ = "0.3.1"

HELP_TEXT = f"""
Random Report Generation Script {__version__} (C) 2017-2023 Greenbone AG
Expand Down Expand Up @@ -297,7 +297,7 @@ def generate_host_elem(
host_elem.append(
generate_host_detail_elem(
"best_os_txt",
list(os)[0],
os,
source_name=oid,
source_description="Host Details",
source_type="nvt",
Expand Down

0 comments on commit 67d90a1

Please sign in to comment.