TheDr1ver / ledhntr-suite-public

LEDHNTR, Plugins, LEDMGMT, and Dockerization configs
Apache License 2.0
0 stars 0 forks source link

[LEDHNTR] Replace hunt-name "glue" with ledsrc #2

Open TheDr1ver opened 1 month ago

TheDr1ver commented 1 month ago

ledsrc is a new field that can be used to glue Entities and Relations together. Since hunt-name is a key attribute for hunts, it never should have been used as a meta attribute in the first place.

This should (hopefully) solve the issue of having disparate values in helpers.diff_entities().sensitive_attrs and data_classes._meta_attrs().meta_attrs.

The issue now will become going through and making sure all the parsers swap hunt-name for ledsrc, but that shouldn't be too bad with the new parsing method.

TheDr1ver commented 1 month ago

Likewise, this probably means we can remove the soon-to-be-redundant include_meta_attrs=True param to al those searches for hunts/enrichments.