clue-api 1.0.1.dev91__tar.gz → 1.0.1.dev94__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.dev91 → clue_api-1.0.1.dev94}/PKG-INFO +6 -3
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/README.md +5 -2
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/v1/registration.py +1 -1
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/v1/static.py +1 -1
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/pyproject.toml +1 -1
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/LICENSE +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/.gitignore +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/base.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/v1/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/v1/actions.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/v1/auth.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/v1/configs.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/v1/fetchers.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/api/v1/lookup.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/app.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/cache/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/classification.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/classification.yml +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/dict_utils.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/exceptions.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/forge.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/json_utils.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/list_utils.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/logging/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/logging/audit.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/logging/format.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/regex.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/str_utils.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/swagger.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/common/uid.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/config.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/constants/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/constants/supported_types.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/cronjobs/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/cronjobs/plugins.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/error.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/extensions/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/extensions/config.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/gunicorn_config.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/healthz.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/helper/discover.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/helper/headers.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/helper/oauth.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/actions.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/config.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/fetchers.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/graph.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/model_list.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/network.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/results/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/results/base.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/results/graph.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/results/image.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/results/status.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/results/validation.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/selector.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/models/validators.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/patched.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/plugin/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/plugin/helpers/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/plugin/helpers/central_server.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/plugin/helpers/email_render.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/plugin/helpers/token.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/plugin/helpers/trino.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/plugin/models.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/plugin/utils.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/py.typed +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/datatypes/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/datatypes/cache.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/datatypes/events.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/datatypes/hash.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/datatypes/queues/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/datatypes/queues/comms.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/datatypes/set.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/remote/datatypes/user_quota_tracker.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/security/__init__.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/security/obo.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/security/utils.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/services/action_service.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/services/auth_service.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/services/config_service.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/services/fetcher_service.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/services/jwt_service.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/services/lookup_service.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/services/type_service.py +0 -0
- {clue_api-1.0.1.dev91 → clue_api-1.0.1.dev94}/clue/services/user_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clue-api
|
|
3
|
-
Version: 1.0.1.
|
|
3
|
+
Version: 1.0.1.dev94
|
|
4
4
|
Summary: Clue distributed enrichment service
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -56,6 +56,9 @@ Description-Content-Type: text/markdown
|
|
|
56
56
|
To start the API for clue, check to ensure that:
|
|
57
57
|
|
|
58
58
|
1. Docker is composed up through `dev/docker-compose.yml`
|
|
59
|
+
1. Note that you may need to set up uchimera container connections if you have not tyet done so:
|
|
60
|
+
2. `az login && az acr login -n uchimera`
|
|
61
|
+
3. If you do not have permission, reach out to APA2B.
|
|
59
62
|
2. `cd clue/api`
|
|
60
63
|
3. Run `poetry install` within the clue/api folder to install all dependencies
|
|
61
64
|
4. You may need to run `poetry install --with test,dev,types,plugins --all-extras`
|
|
@@ -85,7 +88,7 @@ Troubleshooting:
|
|
|
85
88
|
|
|
86
89
|
## Contributing
|
|
87
90
|
|
|
88
|
-
See [CONTRIBUTING.md](
|
|
91
|
+
See [CONTRIBUTING.md](documentation/CONTRIBUTING.md) for more information
|
|
89
92
|
|
|
90
93
|
## FAQ
|
|
91
94
|
|
|
@@ -95,7 +98,7 @@ Run `sudo chmod a+rw /var/log/clue/` and `sudo chmod a+rw /etc/clue/conf/`.
|
|
|
95
98
|
|
|
96
99
|
### How can I add dependencies for my plugin?
|
|
97
100
|
|
|
98
|
-
See [this section](
|
|
101
|
+
See [this section](documentation/CONTRIBUTING.md#external-dependencies) of CONTRIBUTING.md.
|
|
99
102
|
|
|
100
103
|
### Email rendering does not seem to be working?
|
|
101
104
|
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
To start the API for clue, check to ensure that:
|
|
4
4
|
|
|
5
5
|
1. Docker is composed up through `dev/docker-compose.yml`
|
|
6
|
+
1. Note that you may need to set up uchimera container connections if you have not tyet done so:
|
|
7
|
+
2. `az login && az acr login -n uchimera`
|
|
8
|
+
3. If you do not have permission, reach out to APA2B.
|
|
6
9
|
2. `cd clue/api`
|
|
7
10
|
3. Run `poetry install` within the clue/api folder to install all dependencies
|
|
8
11
|
4. You may need to run `poetry install --with test,dev,types,plugins --all-extras`
|
|
@@ -32,7 +35,7 @@ Troubleshooting:
|
|
|
32
35
|
|
|
33
36
|
## Contributing
|
|
34
37
|
|
|
35
|
-
See [CONTRIBUTING.md](
|
|
38
|
+
See [CONTRIBUTING.md](documentation/CONTRIBUTING.md) for more information
|
|
36
39
|
|
|
37
40
|
## FAQ
|
|
38
41
|
|
|
@@ -42,7 +45,7 @@ Run `sudo chmod a+rw /var/log/clue/` and `sudo chmod a+rw /etc/clue/conf/`.
|
|
|
42
45
|
|
|
43
46
|
### How can I add dependencies for my plugin?
|
|
44
47
|
|
|
45
|
-
See [this section](
|
|
48
|
+
See [this section](documentation/CONTRIBUTING.md#external-dependencies) of CONTRIBUTING.md.
|
|
46
49
|
|
|
47
50
|
### Email rendering does not seem to be working?
|
|
48
51
|
|
|
@@ -40,7 +40,7 @@ def register_application(**kwargs):
|
|
|
40
40
|
"classification": "TLP:CLEAR",
|
|
41
41
|
"max_classification": "TLP:CLEAR",
|
|
42
42
|
"url": "http://localhost:5008/",
|
|
43
|
-
"maintainer": "
|
|
43
|
+
"maintainer": "APA2B <apa2b-dl@cyber.gc.ca>",
|
|
44
44
|
"datahub_link": "http://example.com",
|
|
45
45
|
"documentation_link": "http://example.com"
|
|
46
46
|
},
|
|
@@ -69,7 +69,7 @@ def serve_documentation_file(filename: str, **kwargs) -> dict[str, str]:
|
|
|
69
69
|
None
|
|
70
70
|
|
|
71
71
|
Result Example:
|
|
72
|
-
URL Link: /api/v1/static/docs/
|
|
72
|
+
URL Link: /api/v1/static/docs/alfred-docs.md
|
|
73
73
|
|
|
74
74
|
{"markdown": "Markdown documentation of howler-docs.md"}
|
|
75
75
|
|
|
@@ -146,7 +146,7 @@ log_cli_level = "WARN"
|
|
|
146
146
|
[tool.poetry]
|
|
147
147
|
package-mode = true
|
|
148
148
|
name = "clue-api"
|
|
149
|
-
version = "1.0.1.
|
|
149
|
+
version = "1.0.1.dev94"
|
|
150
150
|
description = "Clue distributed enrichment service"
|
|
151
151
|
authors = ["Canadian Centre for Cyber Security <contact@cyber.gc.ca>"]
|
|
152
152
|
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
|