diff --git a/html/index.html b/html/index.html index 0904a17d2..00399ef1f 100644 --- a/html/index.html +++ b/html/index.html @@ -1022,8 +1022,8 @@

- - + + @@ -1074,21 +1074,21 @@

-
Summary
+
{{i18n.summary}}
{{detect.description}}
{{detect.title}}
-
References
+
{{i18n.references}}
{{r.value}} {{r.value}}
-
Signature
+
{{i18n.signature}}
{{extractedLogic}}
@@ -1567,45 +1567,27 @@

-

Operations

+

{{ i18n.operations }}

- Enabled: + {{ i18n.enabled }}:
- {{detect.isEnabled ? 'True' : 'False'}} + {{ detect.isEnabled ? 'True' : 'False' }}
-
- DetectionType: -
-
- {{detect.engine}} -
-
- Severity: -
-
- {{detect.severity}} -
-
- Ruleset: -
-
- {{detect.ruleset}} -
- Tags: + {{ i18n.tags }}:
@@ -1617,17 +1599,34 @@

Operations

-

Details

+

{{ i18n.details }}

- [detail stuff goes here] +
+ {{ i18n.detectionType }}: +
+
+ {{ detect.engine }} +
+
+ {{ i18n.severity }}: +
+
+ {{ detect.severity }} +
+
+ {{ i18n.ruleset }}: +
+
+ {{ detect.ruleset }} +
-
+
- Detection Id: + {{i18n.detectionId}}:
{{ detect.id }} @@ -1635,7 +1634,7 @@

Details

- Author: + {{ i18n.author }}:
{{ detect.author }} @@ -1643,7 +1642,7 @@

Details

- Created: + {{ i18n.dateCreated }}:
{{ detect.createTime | formatDateTime}} @@ -1651,7 +1650,7 @@

Details

- Updated: + {{ i18n.dateModified }}:
{{ detect.updateTime | formatDateTime }} diff --git a/html/js/i18n.js b/html/js/i18n.js index 070f6dd35..9734bc913 100644 --- a/html/js/i18n.js +++ b/html/js/i18n.js @@ -267,8 +267,10 @@ const i18n = { detectionDefaultDescription: 'Detection description not yet provided', detectionDescription: 'Detection Description', detectionEnabled: 'Enabled', + detectionId: 'Detection Id', detectionSeverity: 'Severity', detectionTitle: 'Detection Title', + detectionType: 'Detection Type', disable: 'Disable', disconnected: 'Disconnected from manager', diskUsageElastic: 'Elastic Storage Used', @@ -463,6 +465,7 @@ const i18n = { jobs: 'PCAP', keywords: 'Filter Keywords', kind: 'Kind', + language: 'Language', last: 'Last', lastHighstate: 'Last Synchronized', lastName: 'Last Name', @@ -555,6 +558,7 @@ const i18n = { offline: 'Offline', online: 'Online', operation: 'Operation', + operations: 'Operations', options: 'Options', order: 'Order', osUptime: 'OS Uptime', @@ -597,6 +601,7 @@ const i18n = { reason: 'Reason', reconnecting: 'Attempting to connect to manager', redisQueueSize: 'Redis Queue Size', + references: 'References', refresh: 'Refresh', refreshAttachmentsHelp: 'Refresh to view all recently added attachments for this case.', refreshCaseHistoryHelp: 'Refresh to view the latest history for this case.', @@ -629,6 +634,7 @@ const i18n = { ruleMinLen: 'The provided value is too short', ruleMaxLen: 'The provided value is too long', rulePassBadChars: 'The password must not contain the following characters: " \' $ & !', + ruleset: 'Ruleset', save: 'Save', saveSuccess: 'Save successful!', seconds: 'seconds', @@ -749,6 +755,7 @@ const i18n = { suricataLoss: 'Suricata Loss', suricataLossAbbr: 'Suri Loss', swapUsage: 'Swap Usage', + tags: 'Tags', thresholdType: 'Threshold Type', throttledLogin: 'Excessive login requests detected. Login requests can resume momentarily.', time: 'Time', diff --git a/server/modules/strelka/validate.go b/server/modules/strelka/validate.go index 8920c5b55..f40d5ac8e 100644 --- a/server/modules/strelka/validate.go +++ b/server/modules/strelka/validate.go @@ -71,7 +71,7 @@ func (md *Metadata) Set(key, value string) { } func (rule *YaraRule) GetID() string { - if rule.Meta.Rest["id"] != "" { + if rule.Meta.ID != nil { return *rule.Meta.ID }