credoxa-audit-sdk
Public API contract for the Credoxa Audit service.
Authentication is provider-neutral. Consumers present an external bearer credential which is verified by the configured authentication adapter before Credoxa Audit establishes tenant/platform, actor, and capability authority.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import credoxa_audit
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import credoxa_audit
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import credoxa_audit
from credoxa_audit.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = credoxa_audit.Configuration(
host = "http://localhost"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: bearerAuth
configuration = credoxa_audit.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with credoxa_audit.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = credoxa_audit.AuditEventsApi(api_client)
event_id = 'event_id_example' # str |
try:
# Retrieve the audit record for an event
api_response = api_instance.get_audit_event(event_id)
print("The response of AuditEventsApi->get_audit_event:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AuditEventsApi->get_audit_event: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuditEventsApi | get_audit_event | GET /v1/audit/events/{event_id} | Retrieve the audit record for an event |
| AuditEventsApi | publish_audit_event | POST /v1/audit/events | Publish an audit event |
| AuditIntegrityApi | verify_audit_integrity_range | GET /v1/audit/integrity/ranges | Verify an audit integrity range |
| AuditIntegrityApi | verify_audit_record_integrity | GET /v1/audit/integrity/records/{record_id} | Verify integrity of an audit record |
| AuditRecordsApi | get_audit_record | GET /v1/audit/records/{record_id} | Retrieve an audit record |
| AuditRecordsApi | list_audit_records | GET /v1/audit/records | List audit records |
| AuditSearchApi | search_audit_records | GET /v1/audit/search | Search audit records |
Documentation For Models
- ActorKind
- AuditOutcome
- AuditProvenance
- AuditRecord
- AuditRecordPage
- AuditRecordPageResponse
- AuditRecordResponse
- AuditTarget
- ChainVerificationStatus
- Error
- ErrorResponse
- EvidenceContinuityStatus
- IntegrityPositionResult
- IntegrityPositionStatus
- IntegrityRangeResponse
- IntegrityRangeResult
- PublishAuditEventRequest
- RecordIntegrityResponse
- RecordIntegrityResult
- RecordVerificationStatus
Documentation For Authorization
Authentication schemes defined for the API:
bearerAuth
- Type: Bearer authentication
Author
Release files for credoxa-audit-sdk 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| credoxa_audit_sdk-1.0.0.tar.gz | 42.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| credoxa_audit_sdk-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.4 kB
Release files / credoxa_audit_sdk-1.0.0.tar.gz
| Download URL | credoxa_audit_sdk-1.0.0.tar.gz |
|---|---|
| Size | 42.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c71bfd25a87760317e9f0492009c1712e8f07316961883ad5834431ec444111
|
|
BLAKE2b-256 checksum How to use checksums |
e096662616ffc18811d42f2d8e9b5842a376d9665ab8b75732732d94e36cfe62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / credoxa_audit_sdk-1.0.0-py3-none-any.whl
| Download URL | credoxa_audit_sdk-1.0.0-py3-none-any.whl |
|---|---|
| Size | 59.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
86120f1088941bfcb76a23b68a1a11866a2ca3d45ac09c3b5f81111c61e96cf8
|
|
BLAKE2b-256 checksum How to use checksums |
a9aa7002d0a39e39f257d14fcb361298592021678b51ba5513f40c0ead7c4893
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log