Skip to content

Commit

Permalink
Merge pull request #179 from Security-Onion-Solutions/2.3/fix-case-title
Browse files Browse the repository at this point in the history
FIX: Trim rule.name to fit the so_case.title field Security-Onion-Sol…
  • Loading branch information
dougburks authored Feb 13, 2023
2 parents 05c82f4 + c3938a5 commit 4d6d163
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/js/routes/hunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ const huntComponent = {
var template = 'rule.case_template' in item && item['rule.case_template'] ? '' + item['rule.case_template'] : '';

return {
title: title,
title: title.substring(0, 100),
description: description,
severity: severity,
template: template,
Expand Down Expand Up @@ -1621,4 +1621,4 @@ const casesComponent = Object.assign({}, huntComponent);
routes.push({ path: '/cases', name: 'cases', component: casesComponent});

const dashboardsComponent = Object.assign({}, huntComponent);
routes.push({ path: '/dashboards', name: 'dashboards', component: dashboardsComponent});
routes.push({ path: '/dashboards', name: 'dashboards', component: dashboardsComponent});

0 comments on commit 4d6d163

Please sign in to comment.