sdkms.v1.apis.logs_api module

Fortanix DSM REST API

This is a set of REST APIs for accessing the Fortanix Data Security Manager. This includes APIs for managing accounts, and for performing cryptographic and key management operations.

OpenAPI spec version: 1.0.0-20200608 Contact: support@fortanix.com Generated by: https://github.com/swagger-api/swagger-codegen.git

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

class sdkms.v1.apis.logs_api.LogsApi(api_client=None)[source]

Bases: object

__init__(api_client=None)[source]
get_audit_logs(size=None, _from=None, action_type=None, actor_type=None, actor_id=None, object_id=None, severity=None, range_from=None, range_to=None, async_call=False, **kwargs)[source]

Get audit log entries matching the requested filters.

Parameters:
  • async_call (bool) – Whether the call should be performed asynchronously. (Default is False).

  • size (int) – Maximum number of entries to return. The input value can’t be greater than 1000. If a higher value is specifed, only 1000 results are returned.

  • _from (int) – For pagination, starting offset

  • action_type (str) – Event action type

  • actor_type (str) – Event actor type

  • actor_id (str) – Actor (User or App) Identifier

  • object_id (str) – Object (User or App) Identifier for event

  • severity (str) – Event severity type

  • range_from (int) – Starting time for search , this is EPOCH value

  • range_to (int) – Ending time for search , this is EPOCH value

Return type:

AuditLogResponse

Returns:

If the method is called asynchronously, returns the request thread.