-
-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.0.3 #2321
Merged
6.0.3 #2321
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
1d9ab10
updated yeti analyzer and connector to support new major
mlodic 141a4c1
updated default pycti version
mlodic 348343c
fixed MaxMind data extraction for the country flag
drosetti 107c391
Fix pivot + file
0ssigeno 14bf99e
healthcheck available for Plugins with `url` option by default (#2320)
mlodic 2720315
Bump quark-engine from 24.4.1 to 24.5.1 in /requirements (#2313)
dependabot[bot] 2bae69f
Bump jsonschema from 4.21.1 to 4.22.0 in /requirements (#2311)
dependabot[bot] 9e5106e
Bump docutils from 0.20.1 to 0.21.2 in /requirements (#2312)
dependabot[bot] 6145831
Revert "Bump docutils from 0.20.1 to 0.21.2 in /requirements (#2312)"
mlodic 4997000
prettier
mlodic 6aecd76
changes (#2322)
carellamartina 2eb8c39
Phoneinfoga analyzer adjustment (#2324)
0ssigeno 1a366c4
Fix serializer
0ssigeno 2630701
Fix sender
0ssigeno 6e1f59e
pcap_analyzers adjusts + new playbook for PCAP files + upgraded Suric…
mlodic 80baf0d
fix custom analysis (#2323)
carellamartina e90b0c1
hudsonrock (#2327)
g4ze b884695
Update api_app/analyzers_manager/observable_analyzers/hudsonrock.py
mlodic 877ead8
black
mlodic dde1dfd
Fixes frontend regex (#2329)
drosetti db6eb02
Cy cat#1479 (#2328)
g4ze a26f82f
updated changelog
mlodic 2832bec
fix loading visualizer navbar (#2335)
carellamartina 4227e96
--- (#2332)
dependabot[bot] ff42a0a
--- (#2334)
dependabot[bot] 12802eb
--- (#2333)
dependabot[bot] b2b90f1
Speed up (#2336)
0ssigeno 824b8f4
Revert "--- (#2333)"
mlodic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
api_app/analyzers_manager/migrations/0087_alter_mmdbserver_param.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from django.db import migrations | ||
|
||
|
||
def migrate(apps, schema_editor): | ||
PythonModule = apps.get_model("api_app", "PythonModule") | ||
|
||
pm = PythonModule.objects.get( | ||
module="mmdb_server.MmdbServer", | ||
base_path="api_app.analyzers_manager.observable_analyzers", | ||
) | ||
param = pm.parameters.get(name="base_url") | ||
param.name = "url" | ||
param.save() | ||
|
||
|
||
def reverse_migrate(apps, schema_editor): | ||
pass | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("analyzers_manager", "0086_analyzer_config_blint"), | ||
] | ||
operations = [ | ||
migrations.RunPython(migrate, reverse_migrate), | ||
] |
53 changes: 53 additions & 0 deletions
53
api_app/analyzers_manager/migrations/0088_phoneinfoga_parameters.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
from django.db import migrations | ||
|
||
|
||
def migrate(apps, schema_editor): | ||
Parameter = apps.get_model("api_app", "Parameter") | ||
PluginConfig = apps.get_model("api_app", "PluginConfig") | ||
PythonModule = apps.get_model("api_app", "PythonModule") | ||
pm = PythonModule.objects.get( | ||
module="phoneinfoga_scan.Phoneinfoga", | ||
base_path="api_app.analyzers_manager.observable_analyzers", | ||
) | ||
Parameter.objects.create( | ||
name="googlecse_max_results", | ||
type="int", | ||
description="Number of Google results for [Phoneinfoga](https://sundowndev.github.io/phoneinfoga/)", | ||
is_secret=False, | ||
required=False, | ||
python_module=pm, | ||
) | ||
p2 = Parameter.objects.create( | ||
name="scanners", | ||
type="list", | ||
description="List of scanner names for [Phoneinfoga](https://sundowndev.github.io/phoneinfoga/). Available options are: `local,numverify,googlecse,ovh`", | ||
is_secret=False, | ||
required=False, | ||
python_module=pm, | ||
) | ||
p3 = Parameter.objects.get(name="scanner_name", python_module=pm) | ||
for config in pm.analyzerconfigs.all(): | ||
pcs = PluginConfig.objects.filter(analyzer_config=config, parameter=p3) | ||
for pc in pcs: | ||
pc.value = [pc.value] | ||
pc.parameter = p2 | ||
pc.save() | ||
p3.delete() | ||
Parameter.objects.create( | ||
name="all_scanners", | ||
type="bool", | ||
description="Set this to True to enable all available scanners. " | ||
"If enabled, this overwrite the scanner param", | ||
is_secret=False, | ||
required=False, | ||
python_module=pm, | ||
) | ||
|
||
|
||
class Migration(migrations.Migration): | ||
atomic = False | ||
dependencies = [ | ||
("analyzers_manager", "0087_alter_mmdbserver_param"), | ||
] | ||
|
||
operations = [migrations.RunPython(migrate, migrations.RunPython.noop)] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using dict literal syntax is simpler and computationally quicker. Explained here.