Skip to content

Commit

Permalink
Merge pull request #336 from dfir-iris/v2.3.4-hf
Browse files Browse the repository at this point in the history
v2.3.4 - Hot Fix
  • Loading branch information
whikernel authored Nov 29, 2023
2 parents 3e1a13d + ca3e850 commit 16a67f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions source/app/blueprints/manage/manage_cases_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ def api_add_case(caseid):

case = case_schema.load(request_data)
case.owner_id = current_user.id
case.severity_id = 4

if case_template_id and len(case_template_id) > 0:
case = case_template_pre_modifier(case, case_template_id)
Expand Down
2 changes: 1 addition & 1 deletion source/app/iris_engine/reporter/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def generate_doc_report(self, doc_type):

name = "{}".format("{}.docx".format(report.naming_format))
name = name.replace("%code_name%", case_info['doc_id'])
name = name.replace('%customer%', case_info['case'].get('for_customer'))
name = name.replace('%customer%', case_info['case']['client']['customer_name'])
name = name.replace('%case_name%', case_info['case'].get('name'))
name = name.replace('%date%', datetime.utcnow().strftime("%Y-%m-%d"))
output_file_path = os.path.join(self._tmp, name)
Expand Down

0 comments on commit 16a67f4

Please sign in to comment.