Skip to content

Commit

Permalink
update stix output file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
infosecB committed Nov 22, 2024
1 parent d7b2f89 commit 719fdc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyloobins/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def export_stix(path: str = ".") -> None:
"""Export the LOOBins STIX bundle file."""
all_loobins = get_loobins()
stix_bundle = LOOBinsGroup(all_loobins)
with open(f"{path}/loobins_stix.bundle", mode="w+", encoding="utf-8") as f:
with open(f"{path}/loobins_stix.json", mode="w+", encoding="utf-8") as f:
f.write(stix_bundle.to_stix_bundle().serialize(pretty=True))


Expand Down

0 comments on commit 719fdc6

Please sign in to comment.