Skip to content
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

Add support for output entities in CSV configuration #49

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

tendai-zw
Copy link
Contributor

  • Added support for output entity types to existing codebase
    
  • Updated TRANSFORMS_CSV_HEADER constant to include new outputEntities field
    
  • Updated TransformCsvLine named tuple to include new output_entities field
    
  • Updated _create_transforms_config method to include output_entities field in list of transformed values
    
  • Updated test_transform_to_csv method to assert output_entities field in TransformCsvLine named tuple matches expected output entities
    

Change allows for output entity types to be included in output CSV when generating transforms configuration

@tendai-zw tendai-zw closed this Feb 17, 2023
@tendai-zw tendai-zw reopened this Feb 17, 2023
@@ -8,7 +8,7 @@

register_transform_classes(transforms)

registry.write_transforms_config()
registry.write_transforms_config(include_output_entities=True)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does default to True anyway

@crest42 crest42 merged commit 534a2cb into MaltegoTech:master Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants