maltego-transforms-std-entities 1.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.
- maltego_transforms_std_entities-1.0.0/CHANGELOG.md +12 -0
- maltego_transforms_std_entities-1.0.0/LICENSE +21 -0
- maltego_transforms_std_entities-1.0.0/PKG-INFO +79 -0
- maltego_transforms_std_entities-1.0.0/README.md +62 -0
- maltego_transforms_std_entities-1.0.0/pyproject.toml +48 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/categories/__init__.py +23 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/__init__.py +15 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/casefile.py +553 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/constants.py +2 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/core.py +37 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/cryptocurrency.py +566 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/devices.py +209 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/events.py +287 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/groups.py +193 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/infrastructure.py +1217 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/locations.py +488 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/malware.py +305 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/personal.py +476 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/social_network.py +735 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/stix2.py +5338 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/entities/technology.py +96 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/__init__.py +6 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/_assets.py +5 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/BCHAddress.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/BCHBlock.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/BCHTransaction.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/BTCAddress.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/BTCBlock.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/BTCTransaction.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/CryptocurrencyAddress.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/CryptocurrencyBlock.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/CryptocurrencyTransaction.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/DogecoinAddress.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/DogecoinBlock.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/DogecoinTransaction.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/ETHAddress.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/ETHBlock.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/ETHTransaction.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/LTCAddress.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/LTCBlock.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Cryptocurrency/LTCTransaction.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Malware/FirstIcon.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_adversary_identity.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_attack_pattern.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_autonomous_system.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_bundle.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_campaign.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_course_of_action.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_default_icon.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_domain_name.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_email_addr.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_email_msg.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_grouping.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_identity.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_incident.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_indicator.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_infrastructure.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_intrusion_set.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_ipvfour_addr.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_ipvsix_addr.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_language.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_location.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_mac_addr.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_malware.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_malware_analysis.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_network_traffic.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_note.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_observed_data.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_opinion.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_relationship.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_report.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_sighting.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_source.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_threat_actor.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_tlp_amber.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_tlp_green.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_tlp_red.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_tlp_restricted.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_tlp_white.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_tool.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_url.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_user_account.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_victim.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_victim_target.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/STIX2/stix_two_vulnerability.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Discord.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Fitbit.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/GitHub.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Google.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Nikerunclub.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/OK.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Quora.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Skype.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Telegram.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/TikTok.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Twitch.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Vivino.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Vkontakte.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/assets/Social Network/Weibo.png +0 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/cryptocurrency.py +116 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/malware.py +14 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/social_network.py +92 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/icons/stix2.py +309 -0
- maltego_transforms_std_entities-1.0.0/src/maltego/py.typed +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## v1.0.0 (2026-06-19)
|
|
6
|
+
|
|
7
|
+
### Feat
|
|
8
|
+
|
|
9
|
+
- Provide Python classes for the Maltego standard entity catalog.
|
|
10
|
+
- Include Casefile entities under `maltego.entities.casefile`.
|
|
11
|
+
- Export standard and Casefile entities from `maltego.entities`.
|
|
12
|
+
- Include icon classes, category definitions, packaged icon assets, and `py.typed`.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Maltego Technologies GmbH
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: maltego-transforms-std-entities
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Python classes for the Maltego standard entity catalog.
|
|
5
|
+
License: MIT
|
|
6
|
+
Author: Maltego Technologies GmbH
|
|
7
|
+
Requires-Python: >=3.11,<3.15
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Requires-Dist: maltego-transforms (>=1,<4)
|
|
14
|
+
Project-URL: Documentation, https://docs.maltego.com/en/support/solutions/articles/15000062357-standard-entities-overview
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# Maltego Standard Entities
|
|
18
|
+
|
|
19
|
+
`maltego-transforms-std-entities` exposes Maltego's standard entity catalog as Python classes for transform authors.
|
|
20
|
+
|
|
21
|
+
Maltego Graph Browser and Maltego Graph Desktop discover standard entity definitions from standard entity servers. Installing this package gives Python transforms reusable classes for the same standard entity type names, so transforms can emit and consume entities that pivot cleanly between each other in the graph.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install maltego-transforms-std-entities
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Basic Usage
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
from maltego.entities import Domain, EmailAddress, IPv4Address, Website
|
|
33
|
+
|
|
34
|
+
domain = Domain("example.org")
|
|
35
|
+
website = Website("https://example.org")
|
|
36
|
+
address = IPv4Address("203.0.113.10")
|
|
37
|
+
email = EmailAddress("analyst@example.org")
|
|
38
|
+
|
|
39
|
+
print(domain.TYPE_NAME, website.TYPE_NAME, address.TYPE_NAME, email.TYPE_NAME)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Casefile entities are part of the same catalog and can also be imported from `maltego.entities.casefile`:
|
|
43
|
+
|
|
44
|
+
```python
|
|
45
|
+
from maltego.entities import BankAccount, Gun
|
|
46
|
+
from maltego.entities.casefile import Businessman, IdentificationNumber
|
|
47
|
+
|
|
48
|
+
print(BankAccount.TYPE_NAME, Gun.TYPE_NAME)
|
|
49
|
+
print(Businessman.TYPE_NAME, IdentificationNumber.TYPE_NAME)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## When To Extend
|
|
53
|
+
|
|
54
|
+
Prefer an existing standard entity when its type name and properties match the data your transform returns. Reusing standard entities makes downstream pivots easier because other transforms already know those schemas.
|
|
55
|
+
|
|
56
|
+
Extend a standard class when your data is the same kind of thing but needs additional properties:
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
from maltego.entities import Person
|
|
60
|
+
from maltego.server import MaltegoEntityConfig, MaltegoEntityProperty
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class StaffMember(Person):
|
|
64
|
+
Config = MaltegoEntityConfig(display_name="Staff Member")
|
|
65
|
+
|
|
66
|
+
employee_id: str = MaltegoEntityProperty(
|
|
67
|
+
display_name="Employee ID",
|
|
68
|
+
sample_value="E-42",
|
|
69
|
+
)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Create a custom entity only when no standard entity expresses the object without losing meaning or overloading unrelated fields.
|
|
73
|
+
|
|
74
|
+
## Package Scope
|
|
75
|
+
|
|
76
|
+
This package provides the shared Python catalog for Maltego standard entities. It includes reusable entity classes, Casefile entity classes, icon classes with packaged icon assets, category definitions, and inline type information for transform authors and server implementations.
|
|
77
|
+
|
|
78
|
+
Maltego already provides discovery for these standard entities in the Graph Browser and Desktop clients, so you don't need to register them yourself. Import the classes and use them directly in your transforms.
|
|
79
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Maltego Standard Entities
|
|
2
|
+
|
|
3
|
+
`maltego-transforms-std-entities` exposes Maltego's standard entity catalog as Python classes for transform authors.
|
|
4
|
+
|
|
5
|
+
Maltego Graph Browser and Maltego Graph Desktop discover standard entity definitions from standard entity servers. Installing this package gives Python transforms reusable classes for the same standard entity type names, so transforms can emit and consume entities that pivot cleanly between each other in the graph.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install maltego-transforms-std-entities
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Basic Usage
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from maltego.entities import Domain, EmailAddress, IPv4Address, Website
|
|
17
|
+
|
|
18
|
+
domain = Domain("example.org")
|
|
19
|
+
website = Website("https://example.org")
|
|
20
|
+
address = IPv4Address("203.0.113.10")
|
|
21
|
+
email = EmailAddress("analyst@example.org")
|
|
22
|
+
|
|
23
|
+
print(domain.TYPE_NAME, website.TYPE_NAME, address.TYPE_NAME, email.TYPE_NAME)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Casefile entities are part of the same catalog and can also be imported from `maltego.entities.casefile`:
|
|
27
|
+
|
|
28
|
+
```python
|
|
29
|
+
from maltego.entities import BankAccount, Gun
|
|
30
|
+
from maltego.entities.casefile import Businessman, IdentificationNumber
|
|
31
|
+
|
|
32
|
+
print(BankAccount.TYPE_NAME, Gun.TYPE_NAME)
|
|
33
|
+
print(Businessman.TYPE_NAME, IdentificationNumber.TYPE_NAME)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## When To Extend
|
|
37
|
+
|
|
38
|
+
Prefer an existing standard entity when its type name and properties match the data your transform returns. Reusing standard entities makes downstream pivots easier because other transforms already know those schemas.
|
|
39
|
+
|
|
40
|
+
Extend a standard class when your data is the same kind of thing but needs additional properties:
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
from maltego.entities import Person
|
|
44
|
+
from maltego.server import MaltegoEntityConfig, MaltegoEntityProperty
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class StaffMember(Person):
|
|
48
|
+
Config = MaltegoEntityConfig(display_name="Staff Member")
|
|
49
|
+
|
|
50
|
+
employee_id: str = MaltegoEntityProperty(
|
|
51
|
+
display_name="Employee ID",
|
|
52
|
+
sample_value="E-42",
|
|
53
|
+
)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Create a custom entity only when no standard entity expresses the object without losing meaning or overloading unrelated fields.
|
|
57
|
+
|
|
58
|
+
## Package Scope
|
|
59
|
+
|
|
60
|
+
This package provides the shared Python catalog for Maltego standard entities. It includes reusable entity classes, Casefile entity classes, icon classes with packaged icon assets, category definitions, and inline type information for transform authors and server implementations.
|
|
61
|
+
|
|
62
|
+
Maltego already provides discovery for these standard entities in the Graph Browser and Desktop clients, so you don't need to register them yourself. Import the classes and use them directly in your transforms.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["poetry-core>=1.5.0"]
|
|
3
|
+
build-backend = "poetry.core.masonry.api"
|
|
4
|
+
|
|
5
|
+
[tool.poetry]
|
|
6
|
+
name = "maltego-transforms-std-entities"
|
|
7
|
+
version = "1.0.0"
|
|
8
|
+
description = "Python classes for the Maltego standard entity catalog."
|
|
9
|
+
authors = [
|
|
10
|
+
"Maltego Technologies GmbH",
|
|
11
|
+
]
|
|
12
|
+
license = "MIT"
|
|
13
|
+
readme = "README.md"
|
|
14
|
+
packages = [
|
|
15
|
+
{ include = "maltego", from = "src" },
|
|
16
|
+
]
|
|
17
|
+
include = [
|
|
18
|
+
"CHANGELOG.md",
|
|
19
|
+
"LICENSE",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[tool.poetry.urls]
|
|
23
|
+
Documentation = "https://docs.maltego.com/en/support/solutions/articles/15000062357-standard-entities-overview"
|
|
24
|
+
|
|
25
|
+
[tool.poetry.dependencies]
|
|
26
|
+
python = ">=3.11,<3.15"
|
|
27
|
+
maltego-transforms = ">=1,<4"
|
|
28
|
+
|
|
29
|
+
[tool.poetry.group.dev.dependencies]
|
|
30
|
+
commitizen = ">=4,<5"
|
|
31
|
+
pytest = ">=7,<10"
|
|
32
|
+
pytest-cov = "^4"
|
|
33
|
+
ruff = ">=0.14.11"
|
|
34
|
+
|
|
35
|
+
[tool.ruff]
|
|
36
|
+
line-length = 120
|
|
37
|
+
|
|
38
|
+
[tool.ruff.lint]
|
|
39
|
+
ignore = [
|
|
40
|
+
"F403",
|
|
41
|
+
"F405",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[tool.commitizen]
|
|
45
|
+
name = "cz_conventional_commits"
|
|
46
|
+
version_provider = "poetry"
|
|
47
|
+
tag_format = "v$version"
|
|
48
|
+
update_changelog_on_bump = true
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Copyright (c) Maltego Technologies GmbH.
|
|
2
|
+
from enum import Enum
|
|
3
|
+
|
|
4
|
+
__all__ = [
|
|
5
|
+
"EntityCategories",
|
|
6
|
+
]
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class EntityCategories(str, Enum):
|
|
10
|
+
CRYPTOCURRENCY = "Cryptocurrency"
|
|
11
|
+
DEVICES = "Devices"
|
|
12
|
+
EVENTS = "Events"
|
|
13
|
+
GROUPS = "Groups"
|
|
14
|
+
INFRASTRUCTURE = "Infrastructure"
|
|
15
|
+
LOCATION = "Locations"
|
|
16
|
+
MALWARE = "Malware"
|
|
17
|
+
PERSONAL = "Personal"
|
|
18
|
+
SOCIAL_NETWORK = "Social Network"
|
|
19
|
+
STIX2 = "STIX2"
|
|
20
|
+
STIX2_DOMAIN_OBJECTS = "STIX 2 domain objects"
|
|
21
|
+
STIX2_OBSERVABLES = "STIX 2 observables"
|
|
22
|
+
STIX2_RELATIONSHIP_OBJECTS = "STIX 2 relationship objects"
|
|
23
|
+
TECHNOLOGY = "Technology"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Copyright (c) Maltego Technologies GmbH.
|
|
2
|
+
# pylint: disable=unused-wildcard-import
|
|
3
|
+
from maltego.entities.core import *
|
|
4
|
+
from maltego.entities.cryptocurrency import *
|
|
5
|
+
from maltego.entities.devices import *
|
|
6
|
+
from maltego.entities.events import *
|
|
7
|
+
from maltego.entities.groups import *
|
|
8
|
+
from maltego.entities.infrastructure import *
|
|
9
|
+
from maltego.entities.locations import *
|
|
10
|
+
from maltego.entities.malware import *
|
|
11
|
+
from maltego.entities.personal import *
|
|
12
|
+
from maltego.entities.casefile import *
|
|
13
|
+
from maltego.entities.social_network import *
|
|
14
|
+
from maltego.entities.stix2 import *
|
|
15
|
+
from maltego.entities.technology import *
|