tcex 4.0.11.dev5__tar.gz → 5.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tcex-4.0.11.dev5/tcex.egg-info → tcex-5.0.0}/PKG-INFO +18 -17
- {tcex-4.0.11.dev5 → tcex-5.0.0}/README.md +1 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/pyproject.toml +93 -53
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/__init__.py +1 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/__metadata__.py +1 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/api.py +1 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/tc.py +9 -13
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/__init__.py +1 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/model/__init__.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/model/transform_model.py +59 -81
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/ti_predefined_functions.py +14 -20
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/ti_transform.py +9 -10
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/transform_abc.py +31 -28
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/transform_builder/__init__.py +6 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/transform_builder/v2/errors.py +11 -17
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/transform_builder/v2/load_transform.py +26 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/util/threat_intel_util.py +2 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/__init__.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/__init__.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/association.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/attribute.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/batch.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/batch_cleaner.py +2 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/batch_submit.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/batch_writer.py +2 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/group.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/indicator.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/security_label.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/batch/tag.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/datastore/cache.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/datastore/datastore.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/metric/metric.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/notification/notification.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/adversary.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/attack_pattern.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/campaign.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/course_of_action.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/document.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/email.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/event.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/incident.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/intrusion_set.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/malware.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/report.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/signature.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/tactic.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/threat.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/tool.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/vulnerability.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/indicator/indicator.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/indicator/indicator_type/address.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/indicator/indicator_type/email_address.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/indicator/indicator_type/file.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/indicator/indicator_type/host.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/indicator/indicator_type/url.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/mapping.py +0 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/owner.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/security_label.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/tag.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/tags.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/task.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/victim.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/tcex_ti_tc_request.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/threat_intelligence.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/v2.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_gen.py +12 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_gen_abc.py +20 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_gen_args_abc.py +6 -7
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_gen_filter_abc.py +92 -38
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_gen_model_abc.py +134 -129
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_gen_object_abc.py +20 -36
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_options_abc.py +2 -3
- tcex-5.0.0/tcex/api/tc/v3/_gen/_options_data.py +394 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_options_data_filter.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/_options_data_object.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/model/__init__.py +0 -1
- tcex-5.0.0/tcex/api/tc/v3/_gen/model/_extra_model.py +31 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/model/_filter_model.py +13 -16
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/model/_property_model.py +35 -52
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/api_endpoints.py +5 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/artifact_types/artifact_type.py +1 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/artifact_types/artifact_type_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/artifact_types/artifact_type_model.py +34 -35
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/artifacts/artifact.py +2 -28
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/artifacts/artifact_filter.py +5 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/artifacts/artifact_model.py +112 -117
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/attribute_types/attribute_type.py +2 -14
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/attribute_types/attribute_type_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/attribute_types/attribute_type_model.py +37 -38
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/attributes/attribute_model.py +25 -23
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/case_attributes/case_attribute.py +2 -19
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/case_attributes/case_attribute_filter.py +1 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/case_attributes/case_attribute_model.py +59 -62
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/case_management/case_management.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/cases/case.py +3 -43
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/cases/case_filter.py +8 -11
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/cases/case_model.py +175 -184
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/file_actions/file_action_model.py +19 -14
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/file_occurrences/file_occurrence_model.py +11 -14
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/filter_abc.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/group_attributes/group_attribute.py +2 -19
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/group_attributes/group_attribute_filter.py +2 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/group_attributes/group_attribute_model.py +61 -69
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/groups/group.py +6 -66
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/groups/group_filter.py +46 -13
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/groups/group_model.py +263 -277
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/indicator_attributes/indicator_attribute.py +2 -19
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/indicator_attributes/indicator_attribute_filter.py +2 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/indicator_attributes/indicator_attribute_model.py +61 -69
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/indicators/indicator.py +3 -70
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/indicators/indicator_filter.py +26 -13
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/indicators/indicator_model.py +266 -271
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirement/ir.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/categories/category.py +2 -9
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/categories/category_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/categories/category_model.py +24 -25
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/intel_req_type_model.py +6 -9
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/intel_requirement.py +4 -36
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/intel_requirement_filter.py +7 -10
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/intel_requirement_model.py +117 -120
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/keyword_sections/keyword_section_model.py +7 -12
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/results/result.py +2 -10
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/results/result_filter.py +1 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/results/result_model.py +67 -69
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/subtypes/subtype.py +2 -9
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/subtypes/subtype_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/subtypes/subtype_model.py +24 -25
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/notes/note.py +2 -14
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/notes/note_filter.py +3 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/notes/note_model.py +75 -85
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/object_abc.py +4 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/object_collection_abc.py +4 -4
- tcex-5.0.0/tcex/api/tc/v3/security/assignee_model.py +66 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/assignee_user_group_model.py +2 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/assignee_user_model.py +4 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/exclusion_lists/exclusion_list.py +2 -14
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/exclusion_lists/exclusion_list_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/exclusion_lists/exclusion_list_model.py +44 -45
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/owner_roles/owner_role.py +1 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/owner_roles/owner_role_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/owner_roles/owner_role_model.py +45 -46
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/owners/owner.py +1 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/owners/owner_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/owners/owner_model.py +96 -97
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/security.py +8 -10
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/system_roles/system_role.py +1 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/system_roles/system_role_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/system_roles/system_role_model.py +33 -34
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/task_assignee_model.py +20 -19
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/user_groups/user_group.py +1 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/user_groups/user_group_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/user_groups/user_group_model.py +30 -32
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/users/user.py +1 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/users/user_filter.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/users/user_model.py +21 -22
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security_labels/security_label.py +2 -11
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security_labels/security_label_filter.py +3 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security_labels/security_label_model.py +33 -35
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tags/mitre_tags.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tags/naics_tags.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tags/tag.py +2 -14
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tags/tag_filter.py +4 -7
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tags/tag_model.py +72 -80
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tasks/task.py +2 -26
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tasks/task_filter.py +3 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tasks/task_model.py +93 -103
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/threat_intelligence/threat_intelligence.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tql/tql.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tql/tql_operator.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tql/tql_type.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/v3.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/v3_model_abc.py +27 -30
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/v3_types.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victim_assets/victim_asset.py +2 -20
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victim_assets/victim_asset_filter.py +3 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victim_assets/victim_asset_model.py +74 -70
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victim_attributes/victim_attribute.py +2 -19
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victim_attributes/victim_attribute_filter.py +2 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victim_attributes/victim_attribute_model.py +59 -62
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victims/victim.py +2 -26
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victims/victim_filter.py +7 -9
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victims/victim_model.py +72 -80
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/workflow_events/workflow_event.py +2 -16
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/workflow_events/workflow_event_filter.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/workflow_events/workflow_event_model.py +64 -74
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/workflow_templates/workflow_template.py +2 -11
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/workflow_templates/workflow_template_filter.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/workflow_templates/workflow_template_model.py +57 -64
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/app.py +0 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/app_spec_yml.py +25 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/install_json.py +36 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/install_json_update.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/install_json_validate.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/job_json.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/layout_json.py +21 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/model/app_spec_yml_model.py +51 -79
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/model/install_json_model.py +75 -105
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/model/job_json_model.py +19 -37
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/model/layout_json_model.py +15 -38
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/model/tcex_json_model.py +9 -22
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/permutation.py +10 -11
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/tcex_json.py +17 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/tcex_json_update.py +1 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/decorator/__init__.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/decorator/benchmark.py +6 -7
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/decorator/debug.py +1 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/decorator/fail_on_output.py +1 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/decorator/on_exception.py +1 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/decorator/on_success.py +1 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/decorator/output.py +1 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/key_value_store/key_value_redis.py +3 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/playbook/advanced_request.py +5 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/playbook/playbook_create.py +16 -18
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/playbook/playbook_read.py +2 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/service/__init__.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/service/api_service.py +1 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/service/common_service.py +54 -18
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/service/common_service_trigger.py +6 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/service/mqtt_message_broker.py +6 -5
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/service/webhook_trigger_service.py +4 -7
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/token/token.py +1 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/exit/__init__.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/exit/error_code.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/exit/exit.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/__init__.py +0 -1
- tcex-5.0.0/tcex/input/field_type/binary.py +84 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/case_management_entity.py +10 -11
- tcex-5.0.0/tcex/input/field_type/choice.py +78 -0
- tcex-5.0.0/tcex/input/field_type/datetime.py +34 -0
- tcex-5.0.0/tcex/input/field_type/edit_choice.py +417 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/exception.py +2 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/group_entity.py +10 -11
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/indicator_entity.py +10 -11
- tcex-5.0.0/tcex/input/field_type/integer.py +69 -0
- tcex-5.0.0/tcex/input/field_type/ip_address.py +75 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/key_value.py +12 -30
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/sensitive.py +59 -65
- tcex-5.0.0/tcex/input/field_type/string.py +92 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/tc_entity.py +8 -14
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/field_type/validator.py +43 -38
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/input.py +10 -22
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/advanced_request_model.py +35 -22
- tcex-5.0.0/tcex/input/model/api_model.py +104 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/app_api_service_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/app_external_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/app_feed_api_service_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/app_organization_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/app_playbook_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/app_system_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/app_trigger_service_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/app_webhook_trigger_service_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/batch_model.py +29 -18
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/cal_setting_model.py +13 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/cert_model.py +10 -11
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/common_advanced_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/common_model.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/create_config_model.py +4 -10
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/logging_model.py +18 -13
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/model_map.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/module_app_model.py +2 -7
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/module_requests_session_model.py +2 -7
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/organization_model.py +2 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/path_model.py +9 -11
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/playbook_common_model.py +15 -12
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/playbook_model.py +7 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/proxy_model.py +12 -9
- tcex-5.0.0/tcex/input/model/service_model.py +71 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/smtp_setting_model.py +16 -13
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/logger/api_handler.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/logger/cache_handler.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/logger/logger.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/logger/rotating_file_handler_custom.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/logger/sensitive_filter.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/logger/trace_logger.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/cached_property.py +3 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/cached_property_filesystem.py +3 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_custom.py +1 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_functions_array_mixin.py +9 -9
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_functions_base.py +6 -6
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_functions_math_mixin.py +5 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_functions_string_mixin.py +10 -10
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/proxies.py +2 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/registry.py +5 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_external/__init__.py +0 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_external/external_session.py +6 -8
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_external/rate_limit_handler.py +0 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_external/requests_external.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_tc/auth/hmac_auth.py +6 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_tc/auth/tc_auth.py +2 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_tc/auth/token_auth.py +6 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_tc/requests_tc.py +5 -3
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_tc/tc_session.py +13 -13
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/tcex.py +0 -2
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/code_operation.py +2 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/datetime_operation.py +2 -1
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/requests_to_curl.py +6 -4
- {tcex-4.0.11.dev5 → tcex-5.0.0/tcex.egg-info}/PKG-INFO +18 -17
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex.egg-info/SOURCES.txt +2 -0
- tcex-5.0.0/tcex.egg-info/requires.txt +16 -0
- tcex-4.0.11.dev5/tcex/api/tc/v3/security/assignee_model.py +0 -53
- tcex-4.0.11.dev5/tcex/input/field_type/binary.py +0 -85
- tcex-4.0.11.dev5/tcex/input/field_type/choice.py +0 -48
- tcex-4.0.11.dev5/tcex/input/field_type/datetime.py +0 -30
- tcex-4.0.11.dev5/tcex/input/field_type/edit_choice.py +0 -112
- tcex-4.0.11.dev5/tcex/input/field_type/integer.py +0 -92
- tcex-4.0.11.dev5/tcex/input/field_type/ip_address.py +0 -60
- tcex-4.0.11.dev5/tcex/input/field_type/string.py +0 -103
- tcex-4.0.11.dev5/tcex/input/model/api_model.py +0 -92
- tcex-4.0.11.dev5/tcex/input/model/service_model.py +0 -71
- tcex-4.0.11.dev5/tcex.egg-info/requires.txt +0 -15
- {tcex-4.0.11.dev5 → tcex-5.0.0}/LICENSE +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/setup.cfg +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/ti_transform/transform_builder/v2/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/util/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/datastore/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/metric/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/notification/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/filters.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/group/group_type/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/indicator/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v2/threat_intelligence/mapping/indicator/indicator_type/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/_gen/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/adversary_assets/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/artifact_types/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/artifacts/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/attribute_types/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/attributes/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/case_attributes/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/case_management/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/cases/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/file_actions/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/file_occurrences/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/group_attributes/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/groups/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/indicator_attributes/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/indicators/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirement/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/categories/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/keyword_sections/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/results/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/intel_requirements/subtypes/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/notes/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/exclusion_lists/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/owner_roles/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/owners/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/system_roles/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/user_groups/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security/users/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/security_labels/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tags/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tags/default_naics_tags.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tasks/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/threat_intelligence/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/tql/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victim_assets/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victim_attributes/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/victims/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/workflow_events/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/api/tc/v3/workflow_templates/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/config/model/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/key_value_store/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/key_value_store/key_value_abc.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/key_value_store/key_value_api.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/key_value_store/key_value_mock.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/key_value_store/key_value_store.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/key_value_store/redis_client.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/key_value_store/redis_client_ssl.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/playbook/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/playbook/playbook.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/playbook/playbook_delete.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/playbook/playbook_output.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/app/token/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/input/model/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/logger/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/event.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/exception_thread.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_functions_control_mixin.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_functions_crypto_mixin.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_functions_datetime_mixin.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/jmespath_functions_object_mixin.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/none_model.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/scoped_property.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/pleb/singleton.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_tc/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/requests_tc/auth/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/aes_operation.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/file_operation.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/model/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/model/playbook_variable_model.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/render/__init__.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/render/render.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/render/render_panel.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/render/render_prompt.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/render/render_table.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/string_operation.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/util.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex/util/variable.py +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex.egg-info/dependency_links.txt +0 -0
- {tcex-4.0.11.dev5 → tcex-5.0.0}/tcex.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tcex
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.0
|
|
4
4
|
Summary: ThreatConnect Exchange App Framework
|
|
5
5
|
Author-email: ThreatConnect <support@threatconnect.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -20,21 +20,22 @@ Classifier: Topic :: Security
|
|
|
20
20
|
Requires-Python: >=3.11
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: arrow
|
|
24
|
-
Requires-Dist: black
|
|
25
|
-
Requires-Dist: inflection
|
|
26
|
-
Requires-Dist: isort
|
|
27
|
-
Requires-Dist: jmespath
|
|
28
|
-
Requires-Dist: paho-mqtt
|
|
29
|
-
Requires-Dist: pyaes
|
|
30
|
-
Requires-Dist: pydantic<
|
|
31
|
-
Requires-Dist:
|
|
32
|
-
Requires-Dist:
|
|
33
|
-
Requires-Dist:
|
|
34
|
-
Requires-Dist:
|
|
35
|
-
Requires-Dist:
|
|
36
|
-
Requires-Dist:
|
|
37
|
-
Requires-Dist:
|
|
23
|
+
Requires-Dist: arrow~=1.4.0
|
|
24
|
+
Requires-Dist: black~=26.5.1
|
|
25
|
+
Requires-Dist: inflection~=0.5.1
|
|
26
|
+
Requires-Dist: isort~=8.0.1
|
|
27
|
+
Requires-Dist: jmespath~=1.1.0
|
|
28
|
+
Requires-Dist: paho-mqtt~=2.1.0
|
|
29
|
+
Requires-Dist: pyaes~=1.6.1
|
|
30
|
+
Requires-Dist: pydantic-core<3.0.0,>=2.10.0
|
|
31
|
+
Requires-Dist: pydantic<3.0.0,>=2.10.0
|
|
32
|
+
Requires-Dist: python-dateutil~=2.9.0.post0
|
|
33
|
+
Requires-Dist: pyyaml~=6.0.3
|
|
34
|
+
Requires-Dist: redis~=8.0.0
|
|
35
|
+
Requires-Dist: requests~=2.34.2
|
|
36
|
+
Requires-Dist: rich~=15.0.0
|
|
37
|
+
Requires-Dist: semantic-version~=2.10.0
|
|
38
|
+
Requires-Dist: wrapt~=2.2.1
|
|
38
39
|
Dynamic: license-file
|
|
39
40
|
|
|
40
41
|
# tcex - ThreatConnect Exchange App Framework
|
|
@@ -63,9 +64,9 @@ The ThreatConnect™ TcEx App Framework provides functionality for writing T
|
|
|
63
64
|
|
|
64
65
|
* bandit (https://pypi.org/project/bandit/)
|
|
65
66
|
* pre-commit (https://pypi.org/project/pre-commit/)
|
|
66
|
-
* pyright (https://pypi.org/project/pyright/)
|
|
67
67
|
* pyupgrade (https://pypi.org/project/pyupgrade/)
|
|
68
68
|
* ruff (https://pypi.org/project/ruff/)
|
|
69
|
+
* ty (https://pypi.org/project/ty/)
|
|
69
70
|
* typer (https://pypi.python.org/pypi/typer/)
|
|
70
71
|
|
|
71
72
|
### Test Requirements
|
|
@@ -24,9 +24,9 @@ The ThreatConnect™ TcEx App Framework provides functionality for writing T
|
|
|
24
24
|
|
|
25
25
|
* bandit (https://pypi.org/project/bandit/)
|
|
26
26
|
* pre-commit (https://pypi.org/project/pre-commit/)
|
|
27
|
-
* pyright (https://pypi.org/project/pyright/)
|
|
28
27
|
* pyupgrade (https://pypi.org/project/pyupgrade/)
|
|
29
28
|
* ruff (https://pypi.org/project/ruff/)
|
|
29
|
+
* ty (https://pypi.org/project/ty/)
|
|
30
30
|
* typer (https://pypi.python.org/pypi/typer/)
|
|
31
31
|
|
|
32
32
|
### Test Requirements
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Specify the build backend for PEP 517 builds
|
|
2
2
|
[build-system]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
|
-
requires = ["setuptools>=61"]
|
|
4
|
+
requires = ["requests", "setuptools>=61"]
|
|
5
5
|
|
|
6
6
|
# Project metadata and configuration
|
|
7
7
|
[project]
|
|
@@ -24,21 +24,22 @@ classifiers = [
|
|
|
24
24
|
|
|
25
25
|
# List of runtime dependencies
|
|
26
26
|
dependencies = [
|
|
27
|
-
"arrow
|
|
28
|
-
"black
|
|
29
|
-
"inflection
|
|
30
|
-
"isort
|
|
31
|
-
"jmespath
|
|
32
|
-
"paho-mqtt
|
|
33
|
-
"pyaes
|
|
34
|
-
"pydantic
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
27
|
+
"arrow~=1.4.0",
|
|
28
|
+
"black~=26.5.1",
|
|
29
|
+
"inflection~=0.5.1",
|
|
30
|
+
"isort~=8.0.1",
|
|
31
|
+
"jmespath~=1.1.0",
|
|
32
|
+
"paho-mqtt~=2.1.0",
|
|
33
|
+
"pyaes~=1.6.1",
|
|
34
|
+
"pydantic-core>=2.10.0,<3.0.0",
|
|
35
|
+
"pydantic>=2.10.0,<3.0.0",
|
|
36
|
+
"python-dateutil~=2.9.0.post0",
|
|
37
|
+
"pyyaml~=6.0.3",
|
|
38
|
+
"redis~=8.0.0",
|
|
39
|
+
"requests~=2.34.2",
|
|
40
|
+
"rich~=15.0.0",
|
|
41
|
+
"semantic-version~=2.10.0",
|
|
42
|
+
"wrapt~=2.2.1",
|
|
42
43
|
]
|
|
43
44
|
|
|
44
45
|
# Short description of the project
|
|
@@ -69,21 +70,23 @@ Source = "https://github.com/ThreatConnect-Inc/tcex"
|
|
|
69
70
|
# Dependency groups for development and testing
|
|
70
71
|
[dependency-groups]
|
|
71
72
|
dev = [
|
|
72
|
-
"bandit>=1.
|
|
73
|
-
"pre-commit>=4.
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"typer>=0.
|
|
73
|
+
"bandit>=1.9.4",
|
|
74
|
+
"pre-commit>=4.6.0",
|
|
75
|
+
"pyupgrade>=3.21.2",
|
|
76
|
+
"ruff>=0.15.16",
|
|
77
|
+
"ty==0.0.51",
|
|
78
|
+
"typer>=0.26.7",
|
|
78
79
|
]
|
|
80
|
+
|
|
79
81
|
test = [
|
|
80
|
-
"deepdiff>=
|
|
81
|
-
"fakeredis>=2.
|
|
82
|
-
"pytest>=
|
|
83
|
-
"pytest-cov>=
|
|
84
|
-
"pytest-html>=4.
|
|
82
|
+
"deepdiff>=9.1.0",
|
|
83
|
+
"fakeredis>=2.36.0",
|
|
84
|
+
"pytest>=9.0.3",
|
|
85
|
+
"pytest-cov>=7.1.0",
|
|
86
|
+
"pytest-html>=4.2.0",
|
|
85
87
|
"pytest-ordering>=0.6",
|
|
86
|
-
"pytest-xdist>=3.
|
|
88
|
+
"pytest-xdist>=3.8.0",
|
|
89
|
+
"python-dotenv>=1.2.1",
|
|
87
90
|
]
|
|
88
91
|
|
|
89
92
|
# Dynamic configuration for setuptools
|
|
@@ -99,6 +102,24 @@ exclude = ["tests*", "local-*"]
|
|
|
99
102
|
# Tool configurations
|
|
100
103
|
#
|
|
101
104
|
|
|
105
|
+
[tool.uv.extra-build-dependencies]
|
|
106
|
+
tcex = [
|
|
107
|
+
"arrow>=1.3.0",
|
|
108
|
+
"black>=25.1.0",
|
|
109
|
+
"inflection>=0.5.1",
|
|
110
|
+
"jmespath>=1.0.1",
|
|
111
|
+
"paho-mqtt<2.0.0",
|
|
112
|
+
"pyaes>=1.6.1",
|
|
113
|
+
"pydantic>2.0.0",
|
|
114
|
+
"python-dateutil>=2.9.0.post0",
|
|
115
|
+
"pyyaml>=6.0.2",
|
|
116
|
+
"redis<5.0.0",
|
|
117
|
+
"requests>=2.32.3",
|
|
118
|
+
"rich>=13.9.4",
|
|
119
|
+
"semantic-version>=2.10.0",
|
|
120
|
+
"wrapt>=1.17.2",
|
|
121
|
+
]
|
|
122
|
+
|
|
102
123
|
# Configuration for bumpversion tool
|
|
103
124
|
[tool.bumpversion]
|
|
104
125
|
# Allow version bumping even if there are uncommitted changes
|
|
@@ -108,7 +129,7 @@ commit = false
|
|
|
108
129
|
# Additional arguments to pass to the git commit command
|
|
109
130
|
commit_args = "--no-verify"
|
|
110
131
|
# The current version of the project
|
|
111
|
-
current_version = "
|
|
132
|
+
current_version = "5.0.0"
|
|
112
133
|
# The commit message template used when committing version bumps
|
|
113
134
|
message = "Version updated from {current_version} to {new_version}"
|
|
114
135
|
# Regular expression for parsing version strings
|
|
@@ -147,24 +168,15 @@ filename = "tcex/__metadata__.py"
|
|
|
147
168
|
[tool.codespell]
|
|
148
169
|
# https://streetsidesoftware.com/vscode-spell-checker/
|
|
149
170
|
ignore-words-list = "ore"
|
|
150
|
-
skip = "*.cspell*,*.history,*local,uv.lock"
|
|
151
|
-
|
|
152
|
-
# Configuration for
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
known_first_party = ""
|
|
160
|
-
known_local_folder = "."
|
|
161
|
-
known_third_party = ""
|
|
162
|
-
line_length = 100
|
|
163
|
-
profile = "black"
|
|
164
|
-
|
|
165
|
-
# Configuration for pyright type checker
|
|
166
|
-
[tool.pyright]
|
|
167
|
-
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md#sample-pyprojecttoml-file
|
|
171
|
+
skip = "*.cspell*,*.history,*local,uv.lock,*enforce_us_spelling.sh"
|
|
172
|
+
|
|
173
|
+
# Configuration for ty type checker
|
|
174
|
+
# https://docs.astral.sh/ty/reference/configuration/
|
|
175
|
+
[tool.ty.environment]
|
|
176
|
+
python-platform = "linux"
|
|
177
|
+
python-version = "3.11"
|
|
178
|
+
|
|
179
|
+
[tool.ty.src]
|
|
168
180
|
exclude = [
|
|
169
181
|
"**/.history",
|
|
170
182
|
"**/__pycache__",
|
|
@@ -172,11 +184,6 @@ exclude = [
|
|
|
172
184
|
"tcex/api/tc/v2",
|
|
173
185
|
"tests",
|
|
174
186
|
]
|
|
175
|
-
pythonPlatform = "Linux"
|
|
176
|
-
pythonVersion = "3.11"
|
|
177
|
-
reportIncompatibleMethodOverride = false
|
|
178
|
-
reportIncompatibleVariableOverride = false
|
|
179
|
-
reportPrivateImportUsage = false
|
|
180
187
|
|
|
181
188
|
# Configuration for pytest test runner
|
|
182
189
|
[tool.pytest.ini_options]
|
|
@@ -186,6 +193,8 @@ junit_family = "xunit2"
|
|
|
186
193
|
testpaths = [
|
|
187
194
|
"tests",
|
|
188
195
|
]
|
|
196
|
+
# Enable multiprocessing support for pytest
|
|
197
|
+
# addopts = "--numprocesses=auto --dist=loadgroup"
|
|
189
198
|
|
|
190
199
|
# Configuration for ruff linter and formatter
|
|
191
200
|
[tool.ruff]
|
|
@@ -198,6 +207,8 @@ exclude = [
|
|
|
198
207
|
line-length = 100
|
|
199
208
|
# set the python target
|
|
200
209
|
target-version = "py311"
|
|
210
|
+
# define a default section for any imports that don't fit into the specified section-order.
|
|
211
|
+
src = ["tcex"]
|
|
201
212
|
|
|
202
213
|
# Configuration for ruff formatter
|
|
203
214
|
[tool.ruff.format]
|
|
@@ -241,7 +252,7 @@ ignore = [
|
|
|
241
252
|
"PLR0915", # Too many statements
|
|
242
253
|
"PT006", # Wrong name(s) type in ..., expected ...
|
|
243
254
|
"TC001", # Move application import ... into a type-checking block
|
|
244
|
-
"TC003", #
|
|
255
|
+
"TC003", # Move standard library import ... into a type-checking block
|
|
245
256
|
"TC006", # Checks for unquoted type expressions in typing.cast() calls.
|
|
246
257
|
"TID252", # Prefer absolute imports over relative imports from parent modules
|
|
247
258
|
]
|
|
@@ -307,8 +318,37 @@ select = [
|
|
|
307
318
|
[tool.ruff.lint.extend-per-file-ignores]
|
|
308
319
|
"__init__.py" = ["F401"]
|
|
309
320
|
|
|
321
|
+
[tool.ruff.lint.isort]
|
|
322
|
+
# Define a default section for any imports that don't fit into the specified section-order.
|
|
323
|
+
default-section = "first-party"
|
|
324
|
+
|
|
325
|
+
# Map known_local_folder to known-local-folder
|
|
326
|
+
known-local-folder = ["tcex"]
|
|
327
|
+
|
|
328
|
+
# Override in which order the sections should be output. Can be used to move custom sections.
|
|
329
|
+
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
|
|
330
|
+
|
|
331
|
+
# Equivalent to include_trailing_comma = true
|
|
332
|
+
split-on-trailing-comma = true
|
|
333
|
+
|
|
310
334
|
# Pydocstyle configuration for ruff linter
|
|
311
335
|
[tool.ruff.lint.pydocstyle]
|
|
312
336
|
# https://docs.astral.sh/ruff/linter/
|
|
313
337
|
|
|
314
338
|
convention = "google"
|
|
339
|
+
|
|
340
|
+
# [tool.cibuildwheel]
|
|
341
|
+
# # You can also put cibuildwheel config here instead of env vars
|
|
342
|
+
# build = "cp38-* cp39-* cp310-* cp311-* cp312-*"
|
|
343
|
+
# skip = "*-win32 *-manylinux_i686 *-musllinux_i686 pp*"
|
|
344
|
+
#
|
|
345
|
+
# [tool.cibuildwheel.linux]
|
|
346
|
+
# before-build = "pip install -U pip setuptools wheel"
|
|
347
|
+
# repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
|
|
348
|
+
#
|
|
349
|
+
# [tool.cibuildwheel.macos]
|
|
350
|
+
# before-build = "pip install -U pip setuptools wheel"
|
|
351
|
+
# repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
|
|
352
|
+
#
|
|
353
|
+
# [tool.cibuildwheel.windows]
|
|
354
|
+
# before-build = "pip install -U pip setuptools wheel"
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"""TcEx Framework Module"""
|
|
2
2
|
|
|
3
|
-
# standard library
|
|
4
3
|
import contextlib
|
|
5
4
|
import logging
|
|
6
5
|
|
|
7
|
-
# first-party
|
|
8
6
|
from tcex.__metadata__ import __license__, __version__
|
|
9
7
|
from tcex.logger.cache_handler import CacheHandler
|
|
10
8
|
from tcex.logger.trace_logger import TraceLogger
|
|
@@ -33,6 +31,6 @@ def initialize_logger():
|
|
|
33
31
|
# init logger before instantiating tcex
|
|
34
32
|
initialize_logger()
|
|
35
33
|
|
|
34
|
+
|
|
36
35
|
with contextlib.suppress(ImportError):
|
|
37
|
-
# first-party
|
|
38
36
|
from tcex.tcex import TcEx
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"""TcEx Framework Module"""
|
|
2
2
|
|
|
3
|
-
# third-party
|
|
4
3
|
from requests import Session # TYPE-CHECKING
|
|
5
4
|
|
|
6
|
-
# first-party
|
|
7
5
|
from tcex.api.tc.tc import TC
|
|
8
6
|
from tcex.input.input import Input # TYPE-CHECKING
|
|
9
7
|
from tcex.pleb.cached_property import cached_property
|
|
@@ -24,8 +22,5 @@ class API:
|
|
|
24
22
|
|
|
25
23
|
@cached_property
|
|
26
24
|
def tc(self) -> TC:
|
|
27
|
-
"""Return a
|
|
28
|
-
|
|
29
|
-
TC is a top-level class for accessing the ThreatConnect API.
|
|
30
|
-
"""
|
|
25
|
+
"""Return a case management instance."""
|
|
31
26
|
return TC(self.inputs, self.session_tc)
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
"""TcEx Framework Module"""
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
from requests import Session # TYPE-CHECKING
|
|
3
|
+
from requests import Session
|
|
5
4
|
|
|
6
|
-
# first-party
|
|
7
5
|
from tcex.api.tc.ti_transform import TiTransform, TiTransforms
|
|
8
|
-
from tcex.api.tc.ti_transform.model import
|
|
9
|
-
|
|
10
|
-
GroupTransformModel,
|
|
11
|
-
IndicatorTransformModel,
|
|
12
|
-
)
|
|
6
|
+
from tcex.api.tc.ti_transform.model import GroupTransformModel, IndicatorTransformModel
|
|
7
|
+
from tcex.api.tc.ti_transform.model.transform_model import AssociationTransformModel
|
|
13
8
|
from tcex.api.tc.util.threat_intel_util import ThreatIntelUtil
|
|
14
9
|
from tcex.api.tc.v2.v2 import V2
|
|
15
10
|
from tcex.api.tc.v3.v3 import V3
|
|
@@ -30,6 +25,11 @@ class TC:
|
|
|
30
25
|
self.inputs = inputs
|
|
31
26
|
self.session_tc = session_tc
|
|
32
27
|
|
|
28
|
+
@staticmethod
|
|
29
|
+
def association_transform(transform: dict) -> AssociationTransformModel:
|
|
30
|
+
"""Return a association transform model."""
|
|
31
|
+
return AssociationTransformModel(**transform)
|
|
32
|
+
|
|
33
33
|
@staticmethod
|
|
34
34
|
def group_transform(transform: dict) -> GroupTransformModel:
|
|
35
35
|
"""Return a group transform model."""
|
|
@@ -52,13 +52,9 @@ class TC:
|
|
|
52
52
|
def ti_transforms(
|
|
53
53
|
ti_dict: list[dict],
|
|
54
54
|
transforms: list[AssociationTransformModel | GroupTransformModel | IndicatorTransformModel],
|
|
55
|
-
*,
|
|
56
|
-
separate_batch_associations: bool = False,
|
|
57
55
|
) -> TiTransforms:
|
|
58
56
|
"""Return an instance of TI Transforms class."""
|
|
59
|
-
return TiTransforms(
|
|
60
|
-
ti_dict, transforms, separate_batch_associations=separate_batch_associations
|
|
61
|
-
)
|
|
57
|
+
return TiTransforms(ti_dict, transforms)
|
|
62
58
|
|
|
63
59
|
@cached_property
|
|
64
60
|
def utils(self) -> ThreatIntelUtil:
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"""TcEx Framework Module"""
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
from tcex.api.tc.ti_transform.ti_predefined_functions import (
|
|
5
|
-
ProcessingFunctions,
|
|
6
|
-
transform_builder_to_model,
|
|
7
|
-
)
|
|
3
|
+
from tcex.api.tc.ti_transform.ti_predefined_functions import ProcessingFunctions
|
|
8
4
|
from tcex.api.tc.ti_transform.ti_transform import TiTransform, TiTransforms
|
|
9
5
|
from tcex.api.tc.ti_transform.transform_abc import TransformException
|
|
10
6
|
|
|
@@ -13,5 +9,4 @@ __all__ = [
|
|
|
13
9
|
'TiTransform',
|
|
14
10
|
'TiTransforms',
|
|
15
11
|
'TransformException',
|
|
16
|
-
'transform_builder_to_model',
|
|
17
12
|
]
|