Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified crowdsec_service_api/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file modified crowdsec_service_api/__pycache__/base_model.cpython-311.pyc
Binary file not shown.
Binary file modified crowdsec_service_api/__pycache__/http_client.cpython-311.pyc
Binary file not shown.
Binary file modified crowdsec_service_api/__pycache__/models.cpython-311.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion crowdsec_service_api/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# generated by datamodel-codegen:
# filename: <stdin>
# timestamp: 2026-04-17T08:46:01+00:00
# timestamp: 2026-04-20T14:41:11+00:00

from __future__ import annotations

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified crowdsec_service_api/services/__pycache__/cves.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified crowdsec_service_api/services/__pycache__/hub.cpython-311.pyc
Binary file not shown.
Binary file modified crowdsec_service_api/services/__pycache__/info.cpython-311.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/allowlists.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Allowlists(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def list_allowlists(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/blocklists.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Blocklists(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_blocklists(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/cves.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Cves(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_cves(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/decisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Decisions(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_decisions(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/fingerprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Fingerprints(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_fingerprint_rules(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Hub(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_index(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Info(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_info(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Integrations(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_integrations(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Metrics(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_metrics_remediation(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Products(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_products(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/tracker_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class TrackerEvents(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_exploitation_phase_change_events(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/tracker_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class TrackerTags(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_tags(
self,
Expand Down
2 changes: 1 addition & 1 deletion crowdsec_service_api/services/vendors.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class Vendors(Service):
def __init__(self, auth: Auth, base_url: str = "https://admin.api.crowdsec.net/v1") -> None:
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/1.119.7")
super().__init__(base_url=base_url, auth=auth, user_agent="crowdsec_service_api/0.15.27")

def get_vendors(
self,
Expand Down
2 changes: 1 addition & 1 deletion public-openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Service API",
"description": "This is the API to manage Crowdsec services",
"version": "1.70.2",
"version": "1.70.3",
"contact": {
"name": "CrowdSec",
"url": "https://crowdsec.net",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "crowdsec_service_api"
version = "1.119.7"
version = "0.15.27"
license = { text = "MIT" }
authors = [
{ name="crowdsec", email="[email protected]" }
Expand Down
Loading