Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

get_analysis and analysis_modules with instances is confusing #73

@unixfreak0037

Description

@unixfreak0037

If you're dealing with an analysis module that is using "instances",
then instead of this

analysis = observable.get_analysis(self.generated_analysis_type)

you have to do this

analysis = observable.get_analysis(self.generated_analysis_type, instance=self.instance)

That should be taken care of in behind the scenes instead of forcing the developer to figure that out.

Metadata

Metadata

Assignees

Labels

refactoringSimply code by restructuring.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions