You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when you try to improt this, then the numbering on the variables goes wrong, for example
insert $file isa file,
has stix-type $stix-type,
has spec-version $spec-version,
has stix-id $stix-id,
has size $size,
has name $name;
$stix-type "file";
$spec-version "2.1";
$stix-id "file--f444836c-d52f-5951-80c6-047037c5e35a";
$size 25546;
$name "foo_K.dll";
$ntfs-ext isa ntfs-ext,
has sid $sid;
$sid "1234567";
$ntfs-extension0 (file:$file, ntfs:$ntfs-ext) isa ntfs-extension;
$alternate-data-stream0 isa alternate-data-stream,
has name "first.stream",
has size 25536;
$alternate-data-stream1 isa alternate-data-stream,
has name "second.stream",
has size 25536;
$alt-data-streams (ntfs-ext:$ntfs-ext, alt-data-stream:$alternate-data-stream0, alt-data-stream:$alternate-data-stream1) isa alt-data-streams;
$hash0 isa md-5, has hash-value "a92e5b2bae0b4b3a3d81c85610b95cd4";
$hash1 isa sha-1, has hash-value "5374e08903744ceeaedd8f5e1bfc06b2c4688e76";
$hash_rel (hash-owner:$alternate-data-stream0, hash-actual:$hash0, hash-actual:$hash1) isa hashes;
$hash0 isa sha-256, has hash-value "35a01331e9ad96f751278b891b6ea09699806faedfa237d40513d92ad1b7100f";
$hash_rel (hash-owner:$alternate-data-stream1, hash-actual:$hash0) isa hashes;```
The text was updated successfully, but these errors were encountered:
When there is a list of sub-objects, that have hashes, then the ORM doesn't handle the numbering properly between lists and so they fail
USe this code to generate an example, assuming you have the right imports
The generated stix object will look like this
But when you try to improt this, then the numbering on the variables goes wrong, for example
The text was updated successfully, but these errors were encountered: