Skip to content

Commit

Permalink
Merge pull request #5 from muchdogesec/dep
Browse files Browse the repository at this point in the history
Dep
  • Loading branch information
himynamesdave authored Nov 5, 2024
2 parents b3d30d5 + 7fb1dd5 commit 7beacde
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Create Release
run-name: creating release

on:
workflow_dispatch:
push:
branches:
- main

jobs:
create-release:
Expand Down
2 changes: 2 additions & 0 deletions dogesec_commons/stixifier/stixifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class ReportProperties:
confidence: int = None
labels: list[str] = None
created: str = None
kwargs: dict = {}


class StixifyProcessor:
Expand Down Expand Up @@ -99,6 +100,7 @@ def txt2stix(self):
extractors=extractors,
report_id=self.report_id,
created=self.report_prop.created,
**self.report_prop.kwargs,
)
self.extra_data['_stixify_report_id'] = str(bundler.report.id)
input_text = txt2stix.remove_data_images(self.output_md)
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Issues = "https://github.com/muchdogesec/stixifier_commons/issues"

[project.optional-dependencies]
stixifier = [
"txt2stix @ https://github.com/muchdogesec/txt2stix/releases/download/main-2024-11-01/txt2stix-0.0.1b1-py3-none-any.whl",
"file2txt @ https://github.com/muchdogesec/file2txt/archive/main.zip",
"stix2arango @ https://github.com/muchdogesec/stix2arango/archive/main.zip",
]
"txt2stix",
"file2txt",
"stix2arango",
]

0 comments on commit 7beacde

Please sign in to comment.