Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 92a6be2

Browse files
committed
update argument names...
1 parent d2e7336 commit 92a6be2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/technique_mappings_to_csv.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ def do_mapping(ds, fieldnames, relationship_type, type_filter, source_name, sort
123123

124124

125125
def main(args):
126-
data_source = build_taxii_source(args.collection)
127-
op = args.operation
126+
data_source = build_taxii_source(args.domain)
127+
op = args.mapping_type
128128

129129
source_map = {
130130
"enterprise_attack": "mitre-attack",
131131
"mobile_attack": "mitre-mobile-attack",
132132
}
133-
source_name = source_map[args.collection]
133+
source_name = source_map[args.domain]
134134

135135
if op == "groups":
136136
filename = args.save or "groups.csv"

0 commit comments

Comments
 (0)