Skip to content
Open
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
2 changes: 1 addition & 1 deletion services/auditlog/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e64886dd0847341800d7191ed193b75413be998
4328b24be5d1c85147f3a30afd9a5199c10624d8
2 changes: 1 addition & 1 deletion services/auditlog/src/stackit/auditlog/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
30 changes: 20 additions & 10 deletions services/auditlog/src/stackit/auditlog/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501

import warnings
from datetime import datetime
from typing import Any, Dict, List, Optional, Tuple, Union
from uuid import UUID
Expand Down Expand Up @@ -82,7 +83,7 @@ def list_folder_audit_log_entries(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ListAuditLogEntriesResponse:
"""Folder - Download audit log entries
"""(Deprecated) Folder - Download audit log entries

Returns all audit log entries of the folder for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -117,6 +118,7 @@ def list_folder_audit_log_entries(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/folders/{folderId} is deprecated.", DeprecationWarning)

_param = self._list_folder_audit_log_entries_serialize(
folder_id=folder_id,
Expand Down Expand Up @@ -186,7 +188,7 @@ def list_folder_audit_log_entries_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[ListAuditLogEntriesResponse]:
"""Folder - Download audit log entries
"""(Deprecated) Folder - Download audit log entries

Returns all audit log entries of the folder for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -221,6 +223,7 @@ def list_folder_audit_log_entries_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/folders/{folderId} is deprecated.", DeprecationWarning)

_param = self._list_folder_audit_log_entries_serialize(
folder_id=folder_id,
Expand Down Expand Up @@ -290,7 +293,7 @@ def list_folder_audit_log_entries_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Folder - Download audit log entries
"""(Deprecated) Folder - Download audit log entries

Returns all audit log entries of the folder for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -325,6 +328,7 @@ def list_folder_audit_log_entries_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/folders/{folderId} is deprecated.", DeprecationWarning)

_param = self._list_folder_audit_log_entries_serialize(
folder_id=folder_id,
Expand Down Expand Up @@ -470,7 +474,7 @@ def list_organization_audit_log_entries(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ListAuditLogEntriesResponse:
"""Organization - Download audit log entries
"""(Deprecated) Organization - Download audit log entries

Returns all audit log entries of the organization for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -505,6 +509,7 @@ def list_organization_audit_log_entries(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/organizations/{organizationId} is deprecated.", DeprecationWarning)

_param = self._list_organization_audit_log_entries_serialize(
organization_id=organization_id,
Expand Down Expand Up @@ -576,7 +581,7 @@ def list_organization_audit_log_entries_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[ListAuditLogEntriesResponse]:
"""Organization - Download audit log entries
"""(Deprecated) Organization - Download audit log entries

Returns all audit log entries of the organization for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -611,6 +616,7 @@ def list_organization_audit_log_entries_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/organizations/{organizationId} is deprecated.", DeprecationWarning)

_param = self._list_organization_audit_log_entries_serialize(
organization_id=organization_id,
Expand Down Expand Up @@ -682,7 +688,7 @@ def list_organization_audit_log_entries_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Organization - Download audit log entries
"""(Deprecated) Organization - Download audit log entries

Returns all audit log entries of the organization for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -717,6 +723,7 @@ def list_organization_audit_log_entries_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/organizations/{organizationId} is deprecated.", DeprecationWarning)

_param = self._list_organization_audit_log_entries_serialize(
organization_id=organization_id,
Expand Down Expand Up @@ -860,7 +867,7 @@ def list_project_audit_log_entries(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ListAuditLogEntriesResponse:
"""Project - Download audit log entries
"""(Deprecated) Project - Download audit log entries

Returns all audit log entries of the project for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -895,6 +902,7 @@ def list_project_audit_log_entries(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/projects/{projectId} is deprecated.", DeprecationWarning)

_param = self._list_project_audit_log_entries_serialize(
project_id=project_id,
Expand Down Expand Up @@ -964,7 +972,7 @@ def list_project_audit_log_entries_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[ListAuditLogEntriesResponse]:
"""Project - Download audit log entries
"""(Deprecated) Project - Download audit log entries

Returns all audit log entries of the project for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -999,6 +1007,7 @@ def list_project_audit_log_entries_with_http_info(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/projects/{projectId} is deprecated.", DeprecationWarning)

_param = self._list_project_audit_log_entries_serialize(
project_id=project_id,
Expand Down Expand Up @@ -1068,7 +1077,7 @@ def list_project_audit_log_entries_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Project - Download audit log entries
"""(Deprecated) Project - Download audit log entries

Returns all audit log entries of the project for the specified period. \\ Period must not be longer than 24 hours within the last 90 days.

Expand Down Expand Up @@ -1103,6 +1112,7 @@ def list_project_audit_log_entries_without_preload_content(
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501
warnings.warn("GET /v2/projects/{projectId} is deprecated.", DeprecationWarning)

_param = self._list_project_audit_log_entries_serialize(
project_id=project_id,
Expand Down
2 changes: 1 addition & 1 deletion services/auditlog/src/stackit/auditlog/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion services/auditlog/src/stackit/auditlog/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
10 changes: 5 additions & 5 deletions services/auditlog/src/stackit/auditlog/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -45,7 +45,7 @@ def __init__(self, msg, path_to_item=None, valid_classes=None, key_type=None) ->
full_msg = msg
if path_to_item:
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
super(ApiTypeError, self).__init__(full_msg)
super(ApiTypeError, self).__init__(full_msg, path_to_item, valid_classes, key_type)


class ApiValueError(OpenApiException, ValueError):
Expand All @@ -63,7 +63,7 @@ def __init__(self, msg, path_to_item=None) -> None:
full_msg = msg
if path_to_item:
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
super(ApiValueError, self).__init__(full_msg)
super(ApiValueError, self).__init__(full_msg, path_to_item)


class ApiAttributeError(OpenApiException, AttributeError):
Expand All @@ -82,7 +82,7 @@ def __init__(self, msg, path_to_item=None) -> None:
full_msg = msg
if path_to_item:
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
super(ApiAttributeError, self).__init__(full_msg)
super(ApiAttributeError, self).__init__(full_msg, path_to_item)


class ApiKeyError(OpenApiException, KeyError):
Expand All @@ -99,7 +99,7 @@ def __init__(self, msg, path_to_item=None) -> None:
full_msg = msg
if path_to_item:
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
super(ApiKeyError, self).__init__(full_msg)
super(ApiKeyError, self).__init__(full_msg, path_to_item)


class ApiException(OpenApiException):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Audit Log API

API Endpoints to retrieve recorded actions and resulting changes in the system. ### Documentation The user documentation with explanations how to use the api can be found [here](https://docs.stackit.cloud/stackit/en/retrieve-audit-log-per-api-request-134415907.html). ### Audit Logging Changes on organizations, folders and projects and respective cloud resources are logged and collected in the audit log. ### API Constraints The audit log API allows to download messages from the last 90 days. The maximum duration that can be queried at once is 24 hours. Requests are rate limited - the current maximum is 60 requests per minute.
**Deprecated:** The auditlog API is deprecated and will be removed shortly. Please use the [telemetry-router](https://docs.stackit.cloud/products/logging-and-monitoring/telemetry-router/) to retrieve audit log messages in the future.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Loading
Loading