STIXProject / stix-to-html

Convert STIX XML to HTML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assorted UI fixes

mattcoarr opened this issue · comments

Assorted minor fixes found in beta6 testing...

  • if behavior has no direct description, use behavior/purpose/description
  • if behavior/description or behavior/purpose/description is longer than 10 tokens, only show the first 10.
  • show "[no method or type]" for an analysis that doesn't have any (rather than "")
  • sort association types -- input before output
  • change "subjects" to "malware subjects"

using behavior or behavior/purpose description; also only showing the first 10 tokens:
2856ea9

analysis without method or type now shows "[no method or type]":
bca0da2

sorting cybox:Associated_Object elements via their cybox:Association_Type values:
b4f05d9

the top level table for malware subjects had its caption changed from "Subjects" to "Malware Subjects":
12dc6b6

Tested several cases for these problems. Confirmed fixed.