Skip to content

Commit daf2645

Browse files
nitescucgithub-actions[bot]
authored andcommitted
Update python SDK 1.76.1
1 parent 5178106 commit daf2645

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

crowdsec_service_api/models.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: <stdin>
3-
# timestamp: 2025-05-02T13:09:22+00:00
3+
# timestamp: 2025-10-15T13:43:09+00:00
44

55
from __future__ import annotations
66

@@ -448,6 +448,7 @@ class MetricUnits(Enum):
448448
REQUEST = 'request'
449449
IP = 'ip'
450450
LINE = 'line'
451+
EVENT = 'event'
451452

452453

453454
class OutputFormat(Enum):
@@ -729,7 +730,7 @@ class BlocklistsUploadBlocklistContentQueryParameters(BaseModelSdk):
729730
Optional[datetime],
730731
Field(
731732
description='Blocklist expiration',
732-
examples='2025-05-02T13:08:57.499429+00:00',
733+
examples='2025-10-15T13:42:51.371128+00:00',
733734
title='Expiration',
734735
),
735736
] = None
Binary file not shown.

doc/Models.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ name, label, description, priority
221221
| top_as | list[CtiAs] | None ||
222222
| top_attacking_countries | list[CtiCountry] | None ||
223223
| top_ips | list[CtiIp] | None ||
224-
| updated_at | str | None ||
224+
| updated_at | Optional[str] | None ||
225225

226226
# **BlocklistCreateRequest**
227227
## Required:
@@ -299,7 +299,7 @@ CROWDSEC, THIRD_PARTY, CUSTOM
299299
| change_2days_percentage | float | None ||
300300
| change_month_percentage | float | None ||
301301
| count | int | None ||
302-
| updated_at | str | None ||
302+
| updated_at | Optional[str] | None ||
303303

304304
# **BlocklistSubscriberEntity**
305305
## Required:
@@ -370,7 +370,7 @@ updated, errors
370370
| engines_subscribed_through_tag | int | None ||
371371
| total_subscribed_engines | int | None ||
372372
| total_subscribed_organizations | int | None ||
373-
| updated_at | str | None ||
373+
| updated_at | Optional[str] | None ||
374374

375375
# **Body_uploadBlocklistContent**
376376
## Required:
@@ -589,7 +589,7 @@ id, name, organization_id, created_at, updated_at, entity_type, output_format, b
589589

590590
# **MetricUnits**
591591
## Enum:
592-
BYTE, PACKET, REQUEST, IP, LINE
592+
BYTE, PACKET, REQUEST, IP, LINE, EVENT
593593

594594
# **OriginMetrics**
595595
## Required:

openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "crowdsec_service_api"
7-
version = "1.69.0"
7+
version = "1.76.1"
88
license = { text = "MIT" }
99
authors = [
1010
{ name="crowdsec", email="[email protected]" }

0 commit comments

Comments
 (0)