crowdsec-tracker-api 1.102.2__py3-none-any.whl → 1.102.3__py3-none-any.whl
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.
- crowdsec_tracker_api/models.py +19 -1
- crowdsec_tracker_api/services/cves.py +1 -1
- crowdsec_tracker_api/services/integrations.py +1 -1
- {crowdsec_tracker_api-1.102.2.dist-info → crowdsec_tracker_api-1.102.3.dist-info}/METADATA +1 -1
- crowdsec_tracker_api-1.102.3.dist-info/RECORD +12 -0
- crowdsec_tracker_api-1.102.2.dist-info/RECORD +0 -12
- {crowdsec_tracker_api-1.102.2.dist-info → crowdsec_tracker_api-1.102.3.dist-info}/WHEEL +0 -0
- {crowdsec_tracker_api-1.102.2.dist-info → crowdsec_tracker_api-1.102.3.dist-info}/licenses/LICENSE +0 -0
- {crowdsec_tracker_api-1.102.2.dist-info → crowdsec_tracker_api-1.102.3.dist-info}/top_level.txt +0 -0
crowdsec_tracker_api/models.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2026-01-
|
|
3
|
+
# timestamp: 2026-01-29T17:02:55+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -170,6 +170,15 @@ class CVEResponseBase(BaseModelSdk):
|
|
|
170
170
|
title='Opportunity Score',
|
|
171
171
|
),
|
|
172
172
|
] = 0
|
|
173
|
+
momentum_score: Annotated[
|
|
174
|
+
Optional[int],
|
|
175
|
+
Field(
|
|
176
|
+
description="Momentum score indicating the vulnerability's trendiness based on signal comparison with the previous month. Higher scores (4-5) indicate significantly more signals this month than last month's average, while lower scores (0-1) indicate declining activity (between 0-5)",
|
|
177
|
+
ge=0,
|
|
178
|
+
le=5,
|
|
179
|
+
title='Momentum Score',
|
|
180
|
+
),
|
|
181
|
+
] = 0
|
|
173
182
|
first_seen: Annotated[
|
|
174
183
|
Optional[datetime], Field(description='First seen date', title='First Seen')
|
|
175
184
|
] = None
|
|
@@ -269,6 +278,15 @@ class GetCVEResponse(BaseModelSdk):
|
|
|
269
278
|
title='Opportunity Score',
|
|
270
279
|
),
|
|
271
280
|
] = 0
|
|
281
|
+
momentum_score: Annotated[
|
|
282
|
+
Optional[int],
|
|
283
|
+
Field(
|
|
284
|
+
description="Momentum score indicating the vulnerability's trendiness based on signal comparison with the previous month. Higher scores (4-5) indicate significantly more signals this month than last month's average, while lower scores (0-1) indicate declining activity (between 0-5)",
|
|
285
|
+
ge=0,
|
|
286
|
+
le=5,
|
|
287
|
+
title='Momentum Score',
|
|
288
|
+
),
|
|
289
|
+
] = 0
|
|
272
290
|
first_seen: Annotated[
|
|
273
291
|
Optional[datetime], Field(description='First seen date', title='First Seen')
|
|
274
292
|
] = None
|
|
@@ -11,7 +11,7 @@ from ..http_client import HttpClient
|
|
|
11
11
|
|
|
12
12
|
class Cves(Service):
|
|
13
13
|
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
|
|
14
|
-
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_tracker_api/1.102.
|
|
14
|
+
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_tracker_api/1.102.3")
|
|
15
15
|
|
|
16
16
|
def get_cves(
|
|
17
17
|
self,
|
|
@@ -11,7 +11,7 @@ from ..http_client import HttpClient
|
|
|
11
11
|
|
|
12
12
|
class Integrations(Service):
|
|
13
13
|
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
|
|
14
|
-
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_tracker_api/1.102.
|
|
14
|
+
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_tracker_api/1.102.3")
|
|
15
15
|
|
|
16
16
|
def get_integrations(
|
|
17
17
|
self,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
crowdsec_tracker_api/__init__.py,sha256=42XsiTFcmamQkuNRPN9PNAKT9X_3cQJotEhS3yfoy84,1422
|
|
2
|
+
crowdsec_tracker_api/base_model.py,sha256=z6dOHObB9zrdrBvt1sEymqWkTo2jKVo3tj0rtQmah9A,1978
|
|
3
|
+
crowdsec_tracker_api/http_client.py,sha256=HdEn7rolYXCSVZDy2l5AejO9mYdHVjuXWAPt_5W7xT0,4794
|
|
4
|
+
crowdsec_tracker_api/models.py,sha256=r4LIgSCpol4u9oKHynN0RbJhw3KDUgmpkD1dq_yKAEs,34084
|
|
5
|
+
crowdsec_tracker_api/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
crowdsec_tracker_api/services/cves.py,sha256=KTvOl5TCilmse2e6siYtSUsEP7JUElxzn3fhRdRdcN4,6253
|
|
7
|
+
crowdsec_tracker_api/services/integrations.py,sha256=y7tp32-1T92JoqKMZdsl3i7q2kBFoY5U2CDiRMMtkto,5485
|
|
8
|
+
crowdsec_tracker_api-1.102.3.dist-info/licenses/LICENSE,sha256=j45pumtJxZpjQgYGZmkayxGnQpy6a28TqtJvTzxoPRE,1064
|
|
9
|
+
crowdsec_tracker_api-1.102.3.dist-info/METADATA,sha256=14uIcMAX46umeCfigBuaJy4XbkF5hwiIp4dV9K1lBrA,1207
|
|
10
|
+
crowdsec_tracker_api-1.102.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
11
|
+
crowdsec_tracker_api-1.102.3.dist-info/top_level.txt,sha256=PjzuJQNS-E2cYLihw-evV3MrsY9OWAb8QNKEFEg1hhE,21
|
|
12
|
+
crowdsec_tracker_api-1.102.3.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
crowdsec_tracker_api/__init__.py,sha256=42XsiTFcmamQkuNRPN9PNAKT9X_3cQJotEhS3yfoy84,1422
|
|
2
|
-
crowdsec_tracker_api/base_model.py,sha256=z6dOHObB9zrdrBvt1sEymqWkTo2jKVo3tj0rtQmah9A,1978
|
|
3
|
-
crowdsec_tracker_api/http_client.py,sha256=HdEn7rolYXCSVZDy2l5AejO9mYdHVjuXWAPt_5W7xT0,4794
|
|
4
|
-
crowdsec_tracker_api/models.py,sha256=DtfeJQQSZSC50xEuNoOh6q1uUrfAMBB036hl7oQTQ-A,33166
|
|
5
|
-
crowdsec_tracker_api/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
crowdsec_tracker_api/services/cves.py,sha256=_x6Y92XvTIca3KeKoR75ITr_tfVocGO4xcVHgS5Ze4U,6253
|
|
7
|
-
crowdsec_tracker_api/services/integrations.py,sha256=bGRD7O6cO7buCuh7T0KIDm0UddgBwzwTmUkixc8KPd4,5485
|
|
8
|
-
crowdsec_tracker_api-1.102.2.dist-info/licenses/LICENSE,sha256=j45pumtJxZpjQgYGZmkayxGnQpy6a28TqtJvTzxoPRE,1064
|
|
9
|
-
crowdsec_tracker_api-1.102.2.dist-info/METADATA,sha256=eGzCFKr150T92yTI72jd515srhLlqRl_lvQSVGzI1FM,1207
|
|
10
|
-
crowdsec_tracker_api-1.102.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
11
|
-
crowdsec_tracker_api-1.102.2.dist-info/top_level.txt,sha256=PjzuJQNS-E2cYLihw-evV3MrsY9OWAb8QNKEFEg1hhE,21
|
|
12
|
-
crowdsec_tracker_api-1.102.2.dist-info/RECORD,,
|
|
File without changes
|
{crowdsec_tracker_api-1.102.2.dist-info → crowdsec_tracker_api-1.102.3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{crowdsec_tracker_api-1.102.2.dist-info → crowdsec_tracker_api-1.102.3.dist-info}/top_level.txt
RENAMED
|
File without changes
|