clue-api 1.0.1.dev70__tar.gz → 1.0.1.dev72__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.
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/PKG-INFO +1 -1
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/actions.py +1 -1
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/fetchers.py +9 -2
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/pyproject.toml +1 -1
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/LICENSE +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/README.md +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/.gitignore +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/base.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/v1/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/v1/actions.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/v1/auth.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/v1/configs.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/v1/fetchers.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/v1/lookup.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/v1/registration.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/api/v1/static.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/app.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/cache/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/classification.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/classification.yml +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/dict_utils.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/exceptions.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/forge.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/json_utils.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/list_utils.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/logging/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/logging/audit.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/logging/format.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/regex.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/str_utils.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/swagger.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/common/uid.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/config.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/constants/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/constants/supported_types.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/cronjobs/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/cronjobs/plugins.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/error.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/extensions/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/extensions/config.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/gunicorn_config.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/healthz.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/helper/discover.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/helper/headers.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/helper/oauth.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/config.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/graph.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/model_list.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/network.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/results/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/results/base.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/results/graph.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/results/image.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/results/status.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/results/validation.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/selector.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/models/validators.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/patched.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/plugin/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/plugin/helpers/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/plugin/helpers/central_server.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/plugin/helpers/email_render.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/plugin/helpers/token.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/plugin/helpers/trino.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/plugin/models.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/plugin/utils.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/py.typed +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/datatypes/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/datatypes/cache.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/datatypes/events.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/datatypes/hash.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/datatypes/queues/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/datatypes/queues/comms.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/datatypes/set.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/remote/datatypes/user_quota_tracker.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/security/__init__.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/security/obo.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/security/utils.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/services/action_service.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/services/auth_service.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/services/config_service.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/services/fetcher_service.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/services/jwt_service.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/services/lookup_service.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/services/type_service.py +0 -0
- {clue_api-1.0.1.dev70 → clue_api-1.0.1.dev72}/clue/services/user_service.py +0 -0
|
@@ -128,7 +128,7 @@ class ActionBase(BaseModel):
|
|
|
128
128
|
invalid_types = supported_types - set(SUPPORTED_TYPES.keys())
|
|
129
129
|
|
|
130
130
|
if invalid_types:
|
|
131
|
-
|
|
131
|
+
logger.warning(f"{', '.join(invalid_types)} are not supported types - you may have a typo!")
|
|
132
132
|
|
|
133
133
|
return supported_types
|
|
134
134
|
|
|
@@ -2,7 +2,14 @@
|
|
|
2
2
|
import re
|
|
3
3
|
from typing import Dict, Generic, Literal, Optional, Self, Union
|
|
4
4
|
|
|
5
|
-
from pydantic import
|
|
5
|
+
from pydantic import (
|
|
6
|
+
BaseModel,
|
|
7
|
+
Field,
|
|
8
|
+
JsonValue,
|
|
9
|
+
ValidationInfo,
|
|
10
|
+
field_validator,
|
|
11
|
+
model_validator,
|
|
12
|
+
)
|
|
6
13
|
from pydantic_core import Url
|
|
7
14
|
|
|
8
15
|
from clue.common.exceptions import ClueValueError
|
|
@@ -88,7 +95,7 @@ class FetcherDefinition(BaseModel):
|
|
|
88
95
|
invalid_types = supported_types - set(SUPPORTED_TYPES.keys())
|
|
89
96
|
|
|
90
97
|
if invalid_types:
|
|
91
|
-
|
|
98
|
+
logger.warning(f"{', '.join(invalid_types)} are not supported types - you may have a typo!")
|
|
92
99
|
|
|
93
100
|
return supported_types
|
|
94
101
|
|
|
@@ -149,7 +149,7 @@ log_cli_level = "WARN"
|
|
|
149
149
|
[tool.poetry]
|
|
150
150
|
package-mode = true
|
|
151
151
|
name = "clue-api"
|
|
152
|
-
version = "1.0.1.
|
|
152
|
+
version = "1.0.1.dev72"
|
|
153
153
|
description = "Clue distributed enrichment service"
|
|
154
154
|
authors = ["Canadian Centre for Cyber Security <contact@cyber.gc.ca>"]
|
|
155
155
|
license = "MIT"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|