Skip to content

Commit

Permalink
Minor change on group import error display
Browse files Browse the repository at this point in the history
  • Loading branch information
zoldax committed Oct 16, 2023
1 parent d5b2785 commit d900833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qradarzoldaxclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def import_csv_to_qradar(self, csv_filename: str) -> Union[bool, int]:
network_obj["cidr"] = cidr_val

if not self.valid_group_format(row["group"]):
print(f"Invalid group name {row['group']} for id {row['id']}.")
print(f"Invalid group name {row['group']} for id {row['id']} - abort import.")
print("A group name may only contain letters, numbers, '.', '-', or '_'.")
qradarzoldaxlib.logger.error(f"Invalid group name {row['group']} for id {row['id']} - abort import -.")
qradarzoldaxlib.logger.error("A group name may only contain letters, numbers, '.', '-', or '_'.")
Expand Down

0 comments on commit d900833

Please sign in to comment.