Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yucohen committed Aug 15, 2022
1 parent 0e136b1 commit 10aaaa4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Packs/CommonScripts/Scripts/StixCreator/StixCreator.py
Expand Up @@ -12,7 +12,7 @@
from stix2 import Tool, CourseOfAction
from typing import Any, Callable

SCOs: dict[str, str] = {
SCOs = {
"md5": "file:hashes.md5",
"sha1": "file:hashes.sha1",
"sha256": "file:hashes.sha256",
Expand All @@ -29,7 +29,7 @@
"registry key": "windows-registry-key:key"
}

SDOs: dict[str, Callable] = {
SDOs = {
"malware": Malware,
"attack pattern": AttackPattern,
"campaign": Campaign,
Expand Down
4 changes: 2 additions & 2 deletions Packs/CommonScripts/Scripts/StixCreator/StixCreator_test.py
Expand Up @@ -21,13 +21,13 @@
'indicators':
{
'0': {'expirationStatus': 'active', 'firstSeen': '2022-07-31T13:24:44Z',
'indicator_type': 'Domain',
'indicator_type': 'cve',
'lastSeen': '2022-07-31T13:24:44Z', 'score': 'Unknown',
'timestamp': '2022-07-31T13:24:44Z',
'value': 'test.com'
},
'1': {'expirationStatus': 'active', 'firstSeen': '2022-07-31T13:24:40Z',
'indicator_type': 'Domain',
'indicator_type': 'attack pattern',
'lastSeen': '2022-07-31T13:24:40Z', 'score': 'suspicious',
'timestamp': '2022-07-31T13:24:40Z',
'value': 'bad.com'
Expand Down

0 comments on commit 10aaaa4

Please sign in to comment.