taranis-models 1.2.4.dev2__tar.gz → 1.2.5.dev1__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.
- {taranis_models-1.2.4.dev2/taranis_models.egg-info → taranis_models-1.2.5.dev1}/PKG-INFO +1 -1
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/admin.py +3 -2
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/dashboard.py +9 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/product.py +1 -1
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1/taranis_models.egg-info}/PKG-INFO +1 -1
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/.dockerignore +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/.gitignore +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/LICENSE.md +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/README.md +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/__init__.py +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/assess.py +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/base.py +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/cache.py +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/report.py +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/models/types.py +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/pyproject.toml +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/setup.cfg +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/taranis_models.egg-info/SOURCES.txt +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/taranis_models.egg-info/dependency_links.txt +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/taranis_models.egg-info/requires.txt +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/taranis_models.egg-info/top_level.txt +0 -0
- {taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/uv.lock +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
from pydantic import Field, AnyUrl
|
|
1
|
+
from pydantic import Field, AnyUrl
|
|
2
|
+
from functools import cached_property
|
|
2
3
|
from typing import Literal, Any
|
|
3
4
|
from datetime import datetime
|
|
4
5
|
|
|
@@ -195,7 +196,7 @@ class OSINTSource(TaranisBaseModel):
|
|
|
195
196
|
enabled: bool | None = True
|
|
196
197
|
status: TaskResult | None = None
|
|
197
198
|
|
|
198
|
-
@
|
|
199
|
+
@cached_property
|
|
199
200
|
def search_field(self) -> str:
|
|
200
201
|
search = f"{self.name} {self.description} "
|
|
201
202
|
if self.parameters:
|
|
@@ -29,3 +29,12 @@ class TrendingCluster(TaranisBaseModel):
|
|
|
29
29
|
name: str
|
|
30
30
|
tags: list[StoryTag] = Field(default_factory=list)
|
|
31
31
|
size: int | None = None
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class Cluster(TaranisBaseModel):
|
|
35
|
+
_core_endpoint = "/dashboard/cluster"
|
|
36
|
+
_model_name = "clusters"
|
|
37
|
+
_pretty_name = "Clusters"
|
|
38
|
+
|
|
39
|
+
name: str
|
|
40
|
+
size: int | None = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/taranis_models.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/taranis_models.egg-info/requires.txt
RENAMED
|
File without changes
|
{taranis_models-1.2.4.dev2 → taranis_models-1.2.5.dev1}/taranis_models.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|