audithub-sdk 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- audithub_sdk/__init__.py +410 -0
- audithub_sdk/api/__init__.py +22 -0
- audithub_sdk/api/admin_api.py +6117 -0
- audithub_sdk/api/configuration_api.py +520 -0
- audithub_sdk/api/custom_detectors_org_lib_api.py +1461 -0
- audithub_sdk/api/custom_detectors_std_lib_api.py +546 -0
- audithub_sdk/api/editor_languages_api.py +1383 -0
- audithub_sdk/api/generic_api.py +1275 -0
- audithub_sdk/api/hints_org_lib_api.py +2049 -0
- audithub_sdk/api/hints_std_lib_api.py +546 -0
- audithub_sdk/api/issues_api.py +2742 -0
- audithub_sdk/api/organizations_api.py +12148 -0
- audithub_sdk/api/projects_api.py +7069 -0
- audithub_sdk/api/subscriptions_api.py +1490 -0
- audithub_sdk/api/tasks_api.py +4276 -0
- audithub_sdk/api/tools_api.py +2298 -0
- audithub_sdk/api/users_api.py +2657 -0
- audithub_sdk/api/v_specs_org_lib_api.py +1461 -0
- audithub_sdk/api/v_specs_std_lib_api.py +546 -0
- audithub_sdk/api/versions_api.py +5419 -0
- audithub_sdk/api_client.py +808 -0
- audithub_sdk/api_response.py +21 -0
- audithub_sdk/configuration.py +572 -0
- audithub_sdk/exceptions.py +218 -0
- audithub_sdk/models/__init__.py +180 -0
- audithub_sdk/models/accounting_data.py +138 -0
- audithub_sdk/models/active_organization_users.py +120 -0
- audithub_sdk/models/admin_resource_patch.py +94 -0
- audithub_sdk/models/api_blacklisted_hint.py +96 -0
- audithub_sdk/models/api_key.py +89 -0
- audithub_sdk/models/api_key_base.py +87 -0
- audithub_sdk/models/api_key_with_secret.py +91 -0
- audithub_sdk/models/application_function.py +97 -0
- audithub_sdk/models/archive_input.py +104 -0
- audithub_sdk/models/artifact.py +102 -0
- audithub_sdk/models/comment.py +121 -0
- audithub_sdk/models/comment_with_mutations.py +121 -0
- audithub_sdk/models/container_resources.py +93 -0
- audithub_sdk/models/contents_inner.py +136 -0
- audithub_sdk/models/custom_detector.py +101 -0
- audithub_sdk/models/custom_detector_from_organization_library.py +99 -0
- audithub_sdk/models/custom_detector_from_standard_library.py +108 -0
- audithub_sdk/models/custom_detector_from_version.py +99 -0
- audithub_sdk/models/custom_detector_with_id.py +103 -0
- audithub_sdk/models/data.py +134 -0
- audithub_sdk/models/defi_vanguard_v2_input.py +93 -0
- audithub_sdk/models/defi_vanguard_v2_parameters.py +132 -0
- audithub_sdk/models/directory.py +111 -0
- audithub_sdk/models/editor_language.py +99 -0
- audithub_sdk/models/editor_language_with_id.py +101 -0
- audithub_sdk/models/effective_user_access_restriction.py +94 -0
- audithub_sdk/models/env_var.py +89 -0
- audithub_sdk/models/extra_function_arguments.py +107 -0
- audithub_sdk/models/favorite_project_assignment.py +87 -0
- audithub_sdk/models/file.py +101 -0
- audithub_sdk/models/file_thread_subject.py +103 -0
- audithub_sdk/models/finding_action.py +101 -0
- audithub_sdk/models/finding_action_base.py +96 -0
- audithub_sdk/models/finding_reference.py +91 -0
- audithub_sdk/models/finding_thread_subject.py +103 -0
- audithub_sdk/models/fio_data.py +113 -0
- audithub_sdk/models/fork_network_public.py +89 -0
- audithub_sdk/models/fuzzing_blacklist_entry.py +89 -0
- audithub_sdk/models/git_input.py +113 -0
- audithub_sdk/models/hint.py +101 -0
- audithub_sdk/models/hint_ad_hoc.py +113 -0
- audithub_sdk/models/hint_from_organization_library.py +99 -0
- audithub_sdk/models/hint_from_standard_library.py +108 -0
- audithub_sdk/models/hint_from_version.py +99 -0
- audithub_sdk/models/hint_with_id.py +103 -0
- audithub_sdk/models/http_validation_error.py +95 -0
- audithub_sdk/models/id_and_message_response.py +89 -0
- audithub_sdk/models/included_user_info.py +87 -0
- audithub_sdk/models/input_info.py +134 -0
- audithub_sdk/models/invitation.py +128 -0
- audithub_sdk/models/invitation_patch.py +94 -0
- audithub_sdk/models/invited_user.py +101 -0
- audithub_sdk/models/issue.py +138 -0
- audithub_sdk/models/issue_action.py +93 -0
- audithub_sdk/models/issue_batch_announce.py +88 -0
- audithub_sdk/models/issue_complete.py +167 -0
- audithub_sdk/models/issue_configuration_options.py +125 -0
- audithub_sdk/models/issue_details.py +110 -0
- audithub_sdk/models/issue_for_list.py +118 -0
- audithub_sdk/models/issue_impact.py +89 -0
- audithub_sdk/models/issue_info_base_complete.py +126 -0
- audithub_sdk/models/issue_info_editable.py +142 -0
- audithub_sdk/models/issue_likelihood.py +89 -0
- audithub_sdk/models/issue_patch.py +103 -0
- audithub_sdk/models/issue_resolution.py +100 -0
- audithub_sdk/models/issue_severity.py +89 -0
- audithub_sdk/models/issue_state_transition_function.py +110 -0
- audithub_sdk/models/issue_status.py +91 -0
- audithub_sdk/models/issue_status_transition.py +104 -0
- audithub_sdk/models/issue_thread_subject.py +99 -0
- audithub_sdk/models/issue_type.py +91 -0
- audithub_sdk/models/issue_type_info.py +87 -0
- audithub_sdk/models/machine_info.py +109 -0
- audithub_sdk/models/model_tool_input.py +102 -0
- audithub_sdk/models/model_tool_phase_parameters.py +169 -0
- audithub_sdk/models/new_invitation.py +103 -0
- audithub_sdk/models/new_organization.py +101 -0
- audithub_sdk/models/new_organization_package.py +132 -0
- audithub_sdk/models/new_organization_subscription.py +125 -0
- audithub_sdk/models/npm_project_dependency.py +103 -0
- audithub_sdk/models/onboarding_request.py +113 -0
- audithub_sdk/models/or_ca_input.py +134 -0
- audithub_sdk/models/or_ca_parameters.py +149 -0
- audithub_sdk/models/orca_value.py +138 -0
- audithub_sdk/models/organization.py +108 -0
- audithub_sdk/models/organization_access_restriction.py +101 -0
- audithub_sdk/models/organization_active_quota.py +104 -0
- audithub_sdk/models/organization_admin.py +110 -0
- audithub_sdk/models/organization_consumption.py +104 -0
- audithub_sdk/models/organization_quota.py +96 -0
- audithub_sdk/models/organization_subscription.py +135 -0
- audithub_sdk/models/package_data.py +140 -0
- audithub_sdk/models/package_subscription.py +103 -0
- audithub_sdk/models/patch_user.py +108 -0
- audithub_sdk/models/pending_finding_actions.py +99 -0
- audithub_sdk/models/picus_input.py +93 -0
- audithub_sdk/models/picus_parameters.py +111 -0
- audithub_sdk/models/picus_v2_input.py +93 -0
- audithub_sdk/models/picus_v2_parameters.py +195 -0
- audithub_sdk/models/project.py +200 -0
- audithub_sdk/models/project_admin.py +206 -0
- audithub_sdk/models/project_data.py +97 -0
- audithub_sdk/models/project_dependency.py +103 -0
- audithub_sdk/models/project_git_hub_link.py +87 -0
- audithub_sdk/models/project_info_input.py +186 -0
- audithub_sdk/models/project_info_output.py +186 -0
- audithub_sdk/models/project_thread_subject.py +97 -0
- audithub_sdk/models/project_update_response.py +93 -0
- audithub_sdk/models/psa.py +96 -0
- audithub_sdk/models/psa_message.py +94 -0
- audithub_sdk/models/public_configuration.py +216 -0
- audithub_sdk/models/put_user.py +91 -0
- audithub_sdk/models/registered_user.py +94 -0
- audithub_sdk/models/resource_patch.py +94 -0
- audithub_sdk/models/resources.py +87 -0
- audithub_sdk/models/root_model_list_union_custom_detector_from_version_custom_detector_from_standard_library_custom_detector_from_organization_library_inner.py +149 -0
- audithub_sdk/models/root_model_list_union_hint_from_version_hint_from_standard_library_hint_from_organization_library_hint_ad_hoc_inner.py +164 -0
- audithub_sdk/models/root_model_list_union_v_spec_from_version_v_spec_from_standard_library_v_spec_from_organization_library_v_spec_ad_hoc_inner.py +164 -0
- audithub_sdk/models/security_tool.py +89 -0
- audithub_sdk/models/self_onboard_request.py +94 -0
- audithub_sdk/models/source_reference.py +103 -0
- audithub_sdk/models/step_definition.py +91 -0
- audithub_sdk/models/step_resources.py +103 -0
- audithub_sdk/models/subject.py +168 -0
- audithub_sdk/models/success_and_message_response.py +93 -0
- audithub_sdk/models/task.py +184 -0
- audithub_sdk/models/task_admin.py +144 -0
- audithub_sdk/models/task_creation.py +89 -0
- audithub_sdk/models/task_fio_data.py +97 -0
- audithub_sdk/models/task_patch.py +94 -0
- audithub_sdk/models/task_resources.py +103 -0
- audithub_sdk/models/task_status.py +94 -0
- audithub_sdk/models/task_step.py +145 -0
- audithub_sdk/models/temp_version.py +93 -0
- audithub_sdk/models/thread.py +146 -0
- audithub_sdk/models/thread_comment.py +87 -0
- audithub_sdk/models/thread_patch.py +101 -0
- audithub_sdk/models/user.py +106 -0
- audithub_sdk/models/user_access_restriction.py +108 -0
- audithub_sdk/models/user_for_admin.py +108 -0
- audithub_sdk/models/user_group.py +89 -0
- audithub_sdk/models/user_information.py +89 -0
- audithub_sdk/models/user_organization_setting.py +89 -0
- audithub_sdk/models/user_patch.py +103 -0
- audithub_sdk/models/user_project_setting.py +89 -0
- audithub_sdk/models/user_thread_setting.py +89 -0
- audithub_sdk/models/user_to_organization_assignment.py +87 -0
- audithub_sdk/models/v_spec.py +101 -0
- audithub_sdk/models/v_spec_ad_hoc.py +113 -0
- audithub_sdk/models/v_spec_from_organization_library.py +99 -0
- audithub_sdk/models/v_spec_from_standard_library.py +108 -0
- audithub_sdk/models/v_spec_from_version.py +99 -0
- audithub_sdk/models/v_spec_with_id.py +103 -0
- audithub_sdk/models/validation_error.py +108 -0
- audithub_sdk/models/vanguard_detector.py +91 -0
- audithub_sdk/models/version.py +134 -0
- audithub_sdk/models/version_admin.py +142 -0
- audithub_sdk/models/version_data.py +103 -0
- audithub_sdk/models/version_patch.py +120 -0
- audithub_sdk/models/version_resources.py +103 -0
- audithub_sdk/models/zk_vanguard_input.py +93 -0
- audithub_sdk/models/zk_vanguard_parameters.py +108 -0
- audithub_sdk/models/zk_vanguard_v2_input.py +93 -0
- audithub_sdk/models/zk_vanguard_v2_parameters.py +108 -0
- audithub_sdk/py.typed +0 -0
- audithub_sdk/rest.py +199 -0
- audithub_sdk-0.1.0.dist-info/METADATA +129 -0
- audithub_sdk-0.1.0.dist-info/RECORD +197 -0
- audithub_sdk-0.1.0.dist-info/WHEEL +5 -0
- audithub_sdk-0.1.0.dist-info/top_level.txt +2 -0
- audithub_sdk_ext/__init__.py +11 -0
- audithub_sdk_ext/auth.py +207 -0
audithub_sdk/rest.py
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
FastAPI
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import io
|
|
16
|
+
import json
|
|
17
|
+
import re
|
|
18
|
+
import ssl
|
|
19
|
+
from typing import Optional, Union
|
|
20
|
+
|
|
21
|
+
import httpx
|
|
22
|
+
|
|
23
|
+
from audithub_sdk.exceptions import ApiException, ApiValueError
|
|
24
|
+
|
|
25
|
+
RESTResponseType = httpx.Response
|
|
26
|
+
|
|
27
|
+
class RESTResponse(io.IOBase):
|
|
28
|
+
|
|
29
|
+
def __init__(self, resp) -> None:
|
|
30
|
+
self.response = resp
|
|
31
|
+
self.status = resp.status_code
|
|
32
|
+
self.reason = resp.reason_phrase
|
|
33
|
+
self.data = None
|
|
34
|
+
|
|
35
|
+
async def read(self):
|
|
36
|
+
if self.data is None:
|
|
37
|
+
self.data = await self.response.aread()
|
|
38
|
+
return self.data
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
def headers(self):
|
|
42
|
+
"""Returns a CIMultiDictProxy of response headers."""
|
|
43
|
+
return self.response.headers
|
|
44
|
+
|
|
45
|
+
def getheaders(self):
|
|
46
|
+
"""Returns a CIMultiDictProxy of the response headers; use ``headers`` instead."""
|
|
47
|
+
return self.response.headers
|
|
48
|
+
|
|
49
|
+
def getheader(self, name, default=None):
|
|
50
|
+
"""Returns a given response header; use ``headers`` instead."""
|
|
51
|
+
return self.response.headers.get(name, default)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class RESTClientObject:
|
|
55
|
+
|
|
56
|
+
def __init__(self, configuration) -> None:
|
|
57
|
+
|
|
58
|
+
# maxsize is number of requests to host that are allowed in parallel
|
|
59
|
+
self.maxsize = configuration.connection_pool_maxsize
|
|
60
|
+
|
|
61
|
+
self.ssl_context = ssl.create_default_context(
|
|
62
|
+
cafile=configuration.ssl_ca_cert,
|
|
63
|
+
cadata=configuration.ca_cert_data,
|
|
64
|
+
)
|
|
65
|
+
if configuration.cert_file:
|
|
66
|
+
self.ssl_context.load_cert_chain(
|
|
67
|
+
configuration.cert_file, keyfile=configuration.key_file
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
if not configuration.verify_ssl:
|
|
71
|
+
self.ssl_context.check_hostname = False
|
|
72
|
+
self.ssl_context.verify_mode = ssl.CERT_NONE
|
|
73
|
+
|
|
74
|
+
self.proxy = configuration.proxy
|
|
75
|
+
self.proxy_headers = configuration.proxy_headers
|
|
76
|
+
|
|
77
|
+
self.pool_manager: Optional[httpx.AsyncClient] = None
|
|
78
|
+
|
|
79
|
+
async def close(self):
|
|
80
|
+
if self.pool_manager is not None:
|
|
81
|
+
await self.pool_manager.aclose()
|
|
82
|
+
|
|
83
|
+
async def request(
|
|
84
|
+
self,
|
|
85
|
+
method,
|
|
86
|
+
url,
|
|
87
|
+
headers=None,
|
|
88
|
+
body=None,
|
|
89
|
+
post_params=None,
|
|
90
|
+
_request_timeout=None):
|
|
91
|
+
"""Execute request
|
|
92
|
+
|
|
93
|
+
:param method: http request method
|
|
94
|
+
:param url: http request url
|
|
95
|
+
:param headers: http request headers
|
|
96
|
+
:param body: request json body, for `application/json`
|
|
97
|
+
:param post_params: request post parameters,
|
|
98
|
+
`application/x-www-form-urlencoded`
|
|
99
|
+
and `multipart/form-data`
|
|
100
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
101
|
+
number provided, it will be total request
|
|
102
|
+
timeout. It can also be a pair (tuple) of
|
|
103
|
+
(connection, read) timeouts.
|
|
104
|
+
"""
|
|
105
|
+
method = method.upper()
|
|
106
|
+
assert method in [
|
|
107
|
+
'GET',
|
|
108
|
+
'HEAD',
|
|
109
|
+
'DELETE',
|
|
110
|
+
'POST',
|
|
111
|
+
'PUT',
|
|
112
|
+
'PATCH',
|
|
113
|
+
'OPTIONS'
|
|
114
|
+
]
|
|
115
|
+
|
|
116
|
+
if post_params and body:
|
|
117
|
+
raise ApiValueError(
|
|
118
|
+
"body parameter cannot be used with post_params parameter."
|
|
119
|
+
)
|
|
120
|
+
|
|
121
|
+
post_params = post_params or {}
|
|
122
|
+
headers = headers or {}
|
|
123
|
+
timeout = _request_timeout or 5 * 60
|
|
124
|
+
|
|
125
|
+
if 'Content-Type' not in headers:
|
|
126
|
+
headers['Content-Type'] = 'application/json'
|
|
127
|
+
|
|
128
|
+
args = {
|
|
129
|
+
"method": method,
|
|
130
|
+
"url": url,
|
|
131
|
+
"timeout": timeout,
|
|
132
|
+
"headers": headers
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
# For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
|
|
136
|
+
if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
|
|
137
|
+
if re.search('json', headers['Content-Type'], re.IGNORECASE):
|
|
138
|
+
if body is not None:
|
|
139
|
+
args["json"] = body
|
|
140
|
+
elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501
|
|
141
|
+
args["data"] = dict(post_params)
|
|
142
|
+
elif headers['Content-Type'] == 'multipart/form-data':
|
|
143
|
+
# must del headers['Content-Type'], or the correct
|
|
144
|
+
# Content-Type which generated by httpx
|
|
145
|
+
del headers['Content-Type']
|
|
146
|
+
|
|
147
|
+
files = []
|
|
148
|
+
data = {}
|
|
149
|
+
for param in post_params:
|
|
150
|
+
k, v = param
|
|
151
|
+
if isinstance(v, tuple) and len(v) == 3:
|
|
152
|
+
files.append((k, v))
|
|
153
|
+
else:
|
|
154
|
+
# Ensures that dict objects are serialized
|
|
155
|
+
if isinstance(v, dict):
|
|
156
|
+
v = json.dumps(v)
|
|
157
|
+
elif isinstance(v, int):
|
|
158
|
+
v = str(v)
|
|
159
|
+
data[k] = v
|
|
160
|
+
|
|
161
|
+
if files:
|
|
162
|
+
args["files"] = files
|
|
163
|
+
if data:
|
|
164
|
+
args["data"] = data
|
|
165
|
+
|
|
166
|
+
# Pass a `bytes` parameter directly in the body to support
|
|
167
|
+
# other content types than Json when `body` argument is provided
|
|
168
|
+
# in serialized form
|
|
169
|
+
elif isinstance(body, str) or isinstance(body, bytes):
|
|
170
|
+
args["data"] = body
|
|
171
|
+
else:
|
|
172
|
+
# Cannot generate the request from given parameters
|
|
173
|
+
msg = """Cannot prepare a request message for provided
|
|
174
|
+
arguments. Please check that your arguments match
|
|
175
|
+
declared content type."""
|
|
176
|
+
raise ApiException(status=0, reason=msg)
|
|
177
|
+
|
|
178
|
+
if self.pool_manager is None:
|
|
179
|
+
self.pool_manager = self._create_pool_manager()
|
|
180
|
+
|
|
181
|
+
r = await self.pool_manager.request(**args)
|
|
182
|
+
return RESTResponse(r)
|
|
183
|
+
|
|
184
|
+
def _create_pool_manager(self) -> httpx.AsyncClient:
|
|
185
|
+
limits = httpx.Limits(max_connections=self.maxsize)
|
|
186
|
+
|
|
187
|
+
proxy = None
|
|
188
|
+
if self.proxy:
|
|
189
|
+
proxy = httpx.Proxy(
|
|
190
|
+
url=self.proxy,
|
|
191
|
+
headers=self.proxy_headers
|
|
192
|
+
)
|
|
193
|
+
|
|
194
|
+
return httpx.AsyncClient(
|
|
195
|
+
limits=limits,
|
|
196
|
+
proxy=proxy,
|
|
197
|
+
verify=self.ssl_context,
|
|
198
|
+
trust_env=True
|
|
199
|
+
)
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: audithub-sdk
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Generated Python SDK for the AuditHub API.
|
|
5
|
+
Home-page: https://github.com/Veridise/audithub-sdk
|
|
6
|
+
Author: Veridise
|
|
7
|
+
Project-URL: Homepage, https://audithub.dev.veridise.tools/
|
|
8
|
+
Project-URL: Documentation, https://audithub.dev.veridise.tools/api/v1/openapi.json
|
|
9
|
+
Project-URL: Repository, https://github.com/Veridise/audithub-sdk
|
|
10
|
+
Keywords: AuditHub,OpenAPI,SDK,API client
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Requires-Python: >= 3.9
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
23
|
+
Requires-Dist: httpx>=0.28.1
|
|
24
|
+
Requires-Dist: pydantic>=2
|
|
25
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: requires-python
|
|
28
|
+
|
|
29
|
+
# audithub-sdk
|
|
30
|
+
|
|
31
|
+
`audithub-sdk` is the generated Python SDK for the AuditHub API at `https://audithub.dev.veridise.tools/api/v1`.
|
|
32
|
+
This repository is intended to be the core dependency used by other Python repos that need a typed client for interacting with AuditHub.
|
|
33
|
+
|
|
34
|
+
## Generation
|
|
35
|
+
|
|
36
|
+
The client code in this repository is generated from the live OpenAPI document:
|
|
37
|
+
|
|
38
|
+
`https://audithub.dev.veridise.tools/api/v1/openapi.json`
|
|
39
|
+
|
|
40
|
+
The repository contents are produced with OpenAPI Generator 7.20.0 using:
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
openapi-generator generate \
|
|
44
|
+
-i https://audithub.dev.veridise.tools/api/v1/openapi.json \
|
|
45
|
+
-g python \
|
|
46
|
+
-o . \
|
|
47
|
+
--additional-properties=packageName=audithub_sdk,projectName=audithub-sdk,packageVersion=0.1.0,hideGenerationTimestamp=true,library=httpx
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Regenerating
|
|
51
|
+
|
|
52
|
+
When the AuditHub API schema changes, regenerate the SDK from the repository root with the command above.
|
|
53
|
+
|
|
54
|
+
Manual changes in this repo should stay limited to repository-specific files such as:
|
|
55
|
+
|
|
56
|
+
- `README.md`
|
|
57
|
+
- packaging metadata
|
|
58
|
+
- CI workflows
|
|
59
|
+
|
|
60
|
+
Generated source, models, docs, and tests should be replaced by regeneration rather than edited by hand.
|
|
61
|
+
|
|
62
|
+
## Installation
|
|
63
|
+
|
|
64
|
+
From PyPI:
|
|
65
|
+
|
|
66
|
+
```sh
|
|
67
|
+
pip install audithub-sdk
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
From the repository:
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
pip install .
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Usage
|
|
77
|
+
|
|
78
|
+
```python
|
|
79
|
+
import audithub_sdk
|
|
80
|
+
|
|
81
|
+
configuration = audithub_sdk.Configuration(
|
|
82
|
+
host="https://audithub.dev.veridise.tools/api/v1"
|
|
83
|
+
)
|
|
84
|
+
|
|
85
|
+
async with audithub_sdk.ApiClient(configuration) as api_client:
|
|
86
|
+
api = audithub_sdk.AdminApi(api_client)
|
|
87
|
+
print(await api.about_admin_about_get())
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
For OIDC client-credentials authentication, use the handwritten extension package:
|
|
91
|
+
|
|
92
|
+
```python
|
|
93
|
+
import audithub_sdk
|
|
94
|
+
from audithub_sdk_ext import AuthenticatedApiClient, OIDCClientCredentialsContext
|
|
95
|
+
|
|
96
|
+
configuration = audithub_sdk.Configuration(
|
|
97
|
+
host="https://audithub.dev.veridise.tools/api/v1"
|
|
98
|
+
)
|
|
99
|
+
auth_context = OIDCClientCredentialsContext(
|
|
100
|
+
oidc_configuration_url="https://issuer.example/.well-known/openid-configuration",
|
|
101
|
+
client_id="your-client-id",
|
|
102
|
+
client_secret="your-client-secret",
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
async with AuthenticatedApiClient(configuration, auth_context=auth_context) as api_client:
|
|
106
|
+
api = audithub_sdk.AdminApi(api_client)
|
|
107
|
+
print(await api.about_admin_about_get())
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Testing
|
|
111
|
+
|
|
112
|
+
Install dependencies and run the generated test suite:
|
|
113
|
+
|
|
114
|
+
```sh
|
|
115
|
+
python -m pip install --upgrade pip
|
|
116
|
+
pip install -r requirements.txt
|
|
117
|
+
pip install -r test-requirements.txt
|
|
118
|
+
pytest --cov=audithub_sdk
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Publishing
|
|
122
|
+
|
|
123
|
+
The repository includes `pyproject.toml` and `setup.py` so the package can be built and published to PyPI with standard Python packaging tools.
|
|
124
|
+
|
|
125
|
+
To build distributions locally:
|
|
126
|
+
|
|
127
|
+
```sh
|
|
128
|
+
python -m build
|
|
129
|
+
```
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
audithub_sdk/__init__.py,sha256=zNiRAnWXY5QnQoivEBL2BIlpXvcys83ix7N4S3pUkYA,21896
|
|
2
|
+
audithub_sdk/api_client.py,sha256=4wKZ9U8l36tQ_dVRfE11rCy95gxgEhQZLnWwP2L2xiQ,28042
|
|
3
|
+
audithub_sdk/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
+
audithub_sdk/configuration.py,sha256=Xep_ZsEvz-rWfD5ozLaEcfVwBfEnw2nXgNjv6ZT21JI,17906
|
|
5
|
+
audithub_sdk/exceptions.py,sha256=ZjtZmUmj_MMrwplP8m_Yf0D2zx9SGvPrBasS3HUPU3A,6522
|
|
6
|
+
audithub_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
audithub_sdk/rest.py,sha256=XUGKrouGad23GWajcrQDryHsGHStbBiNJgHS5x1aXa8,6484
|
|
8
|
+
audithub_sdk/api/__init__.py,sha256=mHq8YHjmr8jQdKv06wllKrRdgpTN8Ifwp9aYj_kx1rY,1131
|
|
9
|
+
audithub_sdk/api/admin_api.py,sha256=zleLPGNcPYZtUl_pVRc3JFW6CmaAcI2te-I0MzqzAN0,270419
|
|
10
|
+
audithub_sdk/api/configuration_api.py,sha256=G9FE5OighQ7RN09b5Plr5PoO8YXn8ZDNGT6qI9mSZ0Y,19729
|
|
11
|
+
audithub_sdk/api/custom_detectors_org_lib_api.py,sha256=OtqJQ2dkDkkKMouyDjQuvURNvwFZYzaNpit_5pW6pZ0,58757
|
|
12
|
+
audithub_sdk/api/custom_detectors_std_lib_api.py,sha256=_eMuwEOtT6sbr5q-R_19lkZn3Y_d_tcmXoXkkepeBrg,21328
|
|
13
|
+
audithub_sdk/api/editor_languages_api.py,sha256=-ljxqITibNXpMa0hbNZBRfVB6xdFEAGYJuDqUOMyrPs,53331
|
|
14
|
+
audithub_sdk/api/generic_api.py,sha256=Q7rOBEu1WOCvThXwL5TQvEJQfPl51FNmGs0Lul_o4Dk,47799
|
|
15
|
+
audithub_sdk/api/hints_org_lib_api.py,sha256=o_j5l5tVPFbJCO8fBBWrhwHDsYGhx_8aOZbZ77DvLkA,79908
|
|
16
|
+
audithub_sdk/api/hints_std_lib_api.py,sha256=yVFKGFFOMNm9QiM1ye4flbfD8IrtjEehgmnbmJiD1mY,20983
|
|
17
|
+
audithub_sdk/api/issues_api.py,sha256=wrrxP9Eful3RJkyTo3BkslJ1ExSj6Aku_CQ7y0xbA2g,108646
|
|
18
|
+
audithub_sdk/api/organizations_api.py,sha256=_3U5jPyBZJTvHGKtKJk3NTEHgxMgtXIwoJ5ymVBlFso,488014
|
|
19
|
+
audithub_sdk/api/projects_api.py,sha256=uVl0rST9d_-pMGkvHToxuQsR5jkNt3doVomEOBGPsj0,286876
|
|
20
|
+
audithub_sdk/api/subscriptions_api.py,sha256=HblkbAHssU_eRCy6ONNHtEHMgKGjviwxoJqTBDN0p1g,60609
|
|
21
|
+
audithub_sdk/api/tasks_api.py,sha256=VB7PK60yxEhiqXZaFvDoLmtg5Y9dBdUPAMiXT50Qvf4,173756
|
|
22
|
+
audithub_sdk/api/tools_api.py,sha256=qfEAq3Rr-5qyp24R1MRW37LGVC23ObK08C2Kesmt5WI,98186
|
|
23
|
+
audithub_sdk/api/users_api.py,sha256=qrT80OspkyPBHUvFb90_rOsq7r3M8kT7pm_HSXm3w7I,102578
|
|
24
|
+
audithub_sdk/api/v_specs_org_lib_api.py,sha256=fA5cssWeHlb5m9npThnvhqC3JyHQhLsFvF_F5u-Jtl8,56330
|
|
25
|
+
audithub_sdk/api/v_specs_std_lib_api.py,sha256=hwjpDGxNPmu-Z-qITaJo01eQj3nPWNbhlUqEzy7LTXA,21159
|
|
26
|
+
audithub_sdk/api/versions_api.py,sha256=RA9dQzhtOSJ6ZCSn1fPZSu2V3CnfjhgyEJKfYPg9yYc,223251
|
|
27
|
+
audithub_sdk/models/__init__.py,sha256=jdpdHG5rqh9IuzWhmSiRB3DhpTuTWxR_yELkGdC5Gd8,11742
|
|
28
|
+
audithub_sdk/models/accounting_data.py,sha256=8xW7dKa4ZfdC60K7CrexUUyGqiUO9hVVJiDWUyIrj4o,5086
|
|
29
|
+
audithub_sdk/models/active_organization_users.py,sha256=Gxs49OeEiMf7gLuJNY-Ia5_C2R8ak-fjopxbBLbPWHE,4276
|
|
30
|
+
audithub_sdk/models/admin_resource_patch.py,sha256=8LCs6m0dyDb7ecmUAdQXUtaHnK3ND5Rcsxt6FFwf0PM,2754
|
|
31
|
+
audithub_sdk/models/api_blacklisted_hint.py,sha256=PukwJaKV2AHneFOYh6j-O518BeOyRL08XRtIenCFQjU,2879
|
|
32
|
+
audithub_sdk/models/api_key.py,sha256=r05xFn93qBDhaW4OqThdm67Wm79GaGxMsesCEBCRBXk,2525
|
|
33
|
+
audithub_sdk/models/api_key_base.py,sha256=gj8nApTFAoENqVhPMdTfH1cfEWIzvVsDBTAtr6cnCyE,2456
|
|
34
|
+
audithub_sdk/models/api_key_with_secret.py,sha256=Mj1myA2a5YZtgdZUTSuIswM30t2GqCzqp_OFdEuTN9k,2666
|
|
35
|
+
audithub_sdk/models/application_function.py,sha256=MizDAdOkwq3GwI31CklAqJV7i2OG5z2N6BXhf-8s8aI,2971
|
|
36
|
+
audithub_sdk/models/archive_input.py,sha256=_2Tl0mDsnmACz3N33W-IFd2rAQ5QG7KsIVXjBL49ZT8,3163
|
|
37
|
+
audithub_sdk/models/artifact.py,sha256=OjzVy_r9sYI1fATf0GoQxj17yh-Ug3X3enpN8qY0yqk,3354
|
|
38
|
+
audithub_sdk/models/comment.py,sha256=15xCt5EPgHgEZUOrWc5F7V49JATINSf8MBmIQ8O4jPw,4015
|
|
39
|
+
audithub_sdk/models/comment_with_mutations.py,sha256=i9k14oxju4CtfcDdKDdUZOMeqMDcmkNdxZ2Y04YVVlc,4015
|
|
40
|
+
audithub_sdk/models/container_resources.py,sha256=gELiwMWt5rwDaQSizimGKtBYx2SglhuBep6Ex1NVzWM,2861
|
|
41
|
+
audithub_sdk/models/contents_inner.py,sha256=hfbvhbQRymiylyTNNOpXMD2iDnys7scwbgA77U7_zxU,4769
|
|
42
|
+
audithub_sdk/models/custom_detector.py,sha256=YC7IU8BM4eQONQov9VlRqaMDHwwwEcmSwXjRepQrE3Y,3321
|
|
43
|
+
audithub_sdk/models/custom_detector_from_organization_library.py,sha256=6VDGiCTzAeZcdCJ1T082m5-LbBsWpncP73UgPpqRABI,3105
|
|
44
|
+
audithub_sdk/models/custom_detector_from_standard_library.py,sha256=5nfNVkfefRwBvenc2lGUZL7yjHV9Lbm07nY4lGMBHvU,3443
|
|
45
|
+
audithub_sdk/models/custom_detector_from_version.py,sha256=i_WN3pCj4l2XC1GnJOxXeDFV730RZPYjGa80qSZ1aqI,3077
|
|
46
|
+
audithub_sdk/models/custom_detector_with_id.py,sha256=8CWF9HFutkWkAghP0YwpsNZyus7oI0s3l3XsCscxesA,3467
|
|
47
|
+
audithub_sdk/models/data.py,sha256=losO3y7aPHZRUbI1ukqYFQWwgIbAyNwqFs5oIt490us,4703
|
|
48
|
+
audithub_sdk/models/defi_vanguard_v2_input.py,sha256=Bf2tQmA8Rb6qGaSzed7ap0LOZYZYBXQy60JyNRvDh3Y,3155
|
|
49
|
+
audithub_sdk/models/defi_vanguard_v2_parameters.py,sha256=Q0oxxhX4ssGAjPY0-8t1yl37HgZga0Lks46dZH-Lq1Q,5641
|
|
50
|
+
audithub_sdk/models/directory.py,sha256=5VjRXuMDjkbtC5apqovqbaFFnQ1T9Dy5Hjit7tGHnsg,3553
|
|
51
|
+
audithub_sdk/models/editor_language.py,sha256=ousDd-3uvG9MASoVIHPqepfjOvL6HN3NGy4uiEh8Px8,3383
|
|
52
|
+
audithub_sdk/models/editor_language_with_id.py,sha256=_bvSD6CohO9uwGwrVjf9mVaXjVlrnm1Yz3qdp4z-X8k,3522
|
|
53
|
+
audithub_sdk/models/effective_user_access_restriction.py,sha256=kLFaFMstBs9ICksuiZQ2IrD_Q22ATatlDVPoLO7falc,2862
|
|
54
|
+
audithub_sdk/models/env_var.py,sha256=GLmxbnFJUjc400WfJ-QDwEVa48pI0RyYXtjZTiw2A9c,2509
|
|
55
|
+
audithub_sdk/models/extra_function_arguments.py,sha256=9bO1IcZZqFW8NtW3FLFdgyYd4LbcQgceTRl5ZudeYvw,3454
|
|
56
|
+
audithub_sdk/models/favorite_project_assignment.py,sha256=-MsWAatMtbqrGQO6KK6hTX4stVxauGOsrqKk_s6tEOs,2540
|
|
57
|
+
audithub_sdk/models/file.py,sha256=NesFQ-ENPHM1xvbQ8pRMPe1fMbKRJ0pmS5ZOtIKoAys,2933
|
|
58
|
+
audithub_sdk/models/file_thread_subject.py,sha256=zQrCTpvpDra54yxb7-4_9WZIClRMi5neFQhghpInG38,3138
|
|
59
|
+
audithub_sdk/models/finding_action.py,sha256=IGb7AQvLD0YPJHob6752VIhvhJIqLC_GXkBxpJLlmzg,3087
|
|
60
|
+
audithub_sdk/models/finding_action_base.py,sha256=OoIcl6J3nRWktT_i0hbG8C82M5LU-CfQWpoqFNrrepk,2896
|
|
61
|
+
audithub_sdk/models/finding_reference.py,sha256=zeDuCCSDCVB0qiLCIPRTTTUNa0JM86OSnIY05Bqacww,2913
|
|
62
|
+
audithub_sdk/models/finding_thread_subject.py,sha256=EFQdxEevVosPOY-8pjMbJGmxpJnBS16hk8Xrx03xdX4,3178
|
|
63
|
+
audithub_sdk/models/fio_data.py,sha256=SrAPxT5rTDg9OaHhuS3FrGNJr4LCbCYgsbWFkadLa7o,3794
|
|
64
|
+
audithub_sdk/models/fork_network_public.py,sha256=wDU1Ve-8nUS9NOkWZI77HvR_wBqlkuhixnmSo4IQT5M,2561
|
|
65
|
+
audithub_sdk/models/fuzzing_blacklist_entry.py,sha256=N0fn_SgIqRrNTUINzHa-bc-Ky43GmQhvsXodgoJOGok,2748
|
|
66
|
+
audithub_sdk/models/git_input.py,sha256=G6x1P6Qrq_T4C8BxHaicBYCAAfqDlPIpSmikDJLPJdA,3697
|
|
67
|
+
audithub_sdk/models/hint.py,sha256=OD-ecUoMPYpTkSsDeeC4yrUExKUqw0tSpEXy8BwKLNU,3270
|
|
68
|
+
audithub_sdk/models/hint_ad_hoc.py,sha256=2h8lA6KNbHOEE7Tvnl9lJtg-dIluURzj_e4C43jchrQ,3704
|
|
69
|
+
audithub_sdk/models/hint_from_organization_library.py,sha256=6jpZT72cMKfpcG1b8XGB0BD3ofZSJyz5FUVT0SUUQCY,3054
|
|
70
|
+
audithub_sdk/models/hint_from_standard_library.py,sha256=LrYIk2BiEKqJt8BrvNTly15m7jzHzuAVIlP6V8r3jCo,3403
|
|
71
|
+
audithub_sdk/models/hint_from_version.py,sha256=-lywJlabKkubdIztjSc5e8FJ7Iu5OvBmPuiZucWMGbk,3037
|
|
72
|
+
audithub_sdk/models/hint_with_id.py,sha256=VjNlJbdz0FbJjftod0dU6kYHr5Zy8Ql0GDNGOsauJvw,3405
|
|
73
|
+
audithub_sdk/models/http_validation_error.py,sha256=pDEkpPsK0pkY0NQBgwBWQhTPzsb8kVMtDGRQUqjTYSY,3002
|
|
74
|
+
audithub_sdk/models/id_and_message_response.py,sha256=MWIt-uslGsasr2Bdtw0FumVxdiBNdlO6rZrNmtlFSs0,2576
|
|
75
|
+
audithub_sdk/models/included_user_info.py,sha256=qoE5oVtNjkSwr6pd1n5L7kWaSs7mJuSCsNt_1HkZOzc,2480
|
|
76
|
+
audithub_sdk/models/input_info.py,sha256=qSNirei-SXl7ee7X1VnaadxCtuJEaA8ujr8SY9dHcSc,4806
|
|
77
|
+
audithub_sdk/models/invitation.py,sha256=cnxYk0leESSfMcnBiRyDUv48ucQF-jMgtkA8Hh28C90,4443
|
|
78
|
+
audithub_sdk/models/invitation_patch.py,sha256=6smLAGoSkncn83W-jq5S1Wl_jbBACuGTEoibjAFkA2g,2762
|
|
79
|
+
audithub_sdk/models/invited_user.py,sha256=kRUQxXeWqgtwmJJj7a3ugSJXcm8gjttWI9z899JchWk,3043
|
|
80
|
+
audithub_sdk/models/issue.py,sha256=7UtA5EZ1el3UZbQwtN9YYbX6wmcnRxy7ePlqQ_tucaQ,6078
|
|
81
|
+
audithub_sdk/models/issue_action.py,sha256=RYaPoyNCL4_QnaAiaIgiuG_yiReGexcY1UU6iPCGeZk,2879
|
|
82
|
+
audithub_sdk/models/issue_batch_announce.py,sha256=bb6Oz8Z-BXGMCuLRVmx9fNstrm-MEB-RbpSlaR92E-o,2702
|
|
83
|
+
audithub_sdk/models/issue_complete.py,sha256=5vYkbb0eIGWTLjQzhhFPYmmOkRxTsDPtZgqwoUqSZfA,8586
|
|
84
|
+
audithub_sdk/models/issue_configuration_options.py,sha256=Aw63h0geKyUdaI2Rq60Vh2PWYHV0pO3eoRgx7Z92UZY,4708
|
|
85
|
+
audithub_sdk/models/issue_details.py,sha256=4eGlaL5H5D7jbzZXDZsuJ4dQPUs6yLuVF6A_hZL5CbY,4000
|
|
86
|
+
audithub_sdk/models/issue_for_list.py,sha256=kWI4We-H2gz2kqlxD2jwnRWF75U4iPftlgHIO8u9GX8,4645
|
|
87
|
+
audithub_sdk/models/issue_impact.py,sha256=kNlJgWKPFPhkJ_p-O3nU8T1-ziOYeZUYkh8DJyZVPH4,2540
|
|
88
|
+
audithub_sdk/models/issue_info_base_complete.py,sha256=tPGbQcNKJ0Clq3AnwOqhchmiYz0QoEQFYRpE4WCPMWI,5765
|
|
89
|
+
audithub_sdk/models/issue_info_editable.py,sha256=p7vGrG1A7Lm7eQDf16ZODZE1D58QNvR4kjvzfLAFeS4,7059
|
|
90
|
+
audithub_sdk/models/issue_likelihood.py,sha256=EGQr4GuUysOx8IFs3jqwrTVIVVdDxAIUMf7GsnpFGR0,2556
|
|
91
|
+
audithub_sdk/models/issue_patch.py,sha256=dPthlFYvlAK2JHy5GifGpeLBmpqPfj8ziRmbWg3vyPQ,3279
|
|
92
|
+
audithub_sdk/models/issue_resolution.py,sha256=SReu7zToc5pTHNdylFGB8wKvDGCLC9OwKVHZ3gM5EHo,3262
|
|
93
|
+
audithub_sdk/models/issue_severity.py,sha256=WKAuQofd-Qco7j_NEh2HwjRK61EjQuwa5lf8GDPJVlk,2548
|
|
94
|
+
audithub_sdk/models/issue_state_transition_function.py,sha256=8CT0fyRjPNanwxe6sMFH-Hyk6Pk6k-EqBE1B4nsIWcQ,3905
|
|
95
|
+
audithub_sdk/models/issue_status.py,sha256=91okb0bAahzYgXfz94r9ydMQCMutMdiwEfT9O5YGnzE,2631
|
|
96
|
+
audithub_sdk/models/issue_status_transition.py,sha256=bSgjMQYcwHKqpMVehbAg-zb2m3A6Vi2qAk1xJtozoUk,3384
|
|
97
|
+
audithub_sdk/models/issue_thread_subject.py,sha256=Jfyod3eYj1HOyN_An9sy1HJJ5qAVCd8eFItfkQWlXPw,2956
|
|
98
|
+
audithub_sdk/models/issue_type.py,sha256=KJUlo0cNWaGfll6uDWFYu1wEdK4I2kcpPn2a6FRIzIg,2916
|
|
99
|
+
audithub_sdk/models/issue_type_info.py,sha256=MapK6HYaJ8NQAL4Ie4kDI5W0-OEsMjcBsNKpm3Liqt8,2480
|
|
100
|
+
audithub_sdk/models/machine_info.py,sha256=XMI6TNypynSBLOliIVJXDrTlUgrKRahdPCELvCyBOCI,3702
|
|
101
|
+
audithub_sdk/models/model_tool_input.py,sha256=V8hVgj6n2F4QHU6Q0d2iIju59rk9xUJ5iaxC9woH3aw,3375
|
|
102
|
+
audithub_sdk/models/model_tool_phase_parameters.py,sha256=3Hbew0Yy4ZB9YqxgWgA7kUZbzmd_1mcJAHdDo8NcHec,6869
|
|
103
|
+
audithub_sdk/models/new_invitation.py,sha256=xwdOs7pFviRgM0_9L2saaNkdovzJ220xO3OCISaKH2c,3629
|
|
104
|
+
audithub_sdk/models/new_organization.py,sha256=JwNoLYHIUtjDORd6Wu7ewpfobeA8Aut7qF3EIlfCyDc,3195
|
|
105
|
+
audithub_sdk/models/new_organization_package.py,sha256=Qt0wmFENFDXi0vdEEKJv2J7-rqdKIlyzluWLbtkMZYM,5677
|
|
106
|
+
audithub_sdk/models/new_organization_subscription.py,sha256=awTZfXfdh4h0bimwLUjXiqxqueIXdje9ZpqBIYTAzg0,4938
|
|
107
|
+
audithub_sdk/models/npm_project_dependency.py,sha256=qq3QyLt-nKzyHs0LPA62Z00KAeFbZy82o3YvCY7ZiIw,3223
|
|
108
|
+
audithub_sdk/models/onboarding_request.py,sha256=LdneZ0mJSJtV9IAOm32-W77C7uH2EWIfztug3vQJ9yk,3960
|
|
109
|
+
audithub_sdk/models/or_ca_input.py,sha256=EvSrJb562YDnZc9fBo6GjpZMrWswEeH2p0Tc7SvBPus,6545
|
|
110
|
+
audithub_sdk/models/or_ca_parameters.py,sha256=bhVFot3AOHW2RbDC5Db4CKPzZ62s2GIn0byqzfnehiQ,5990
|
|
111
|
+
audithub_sdk/models/orca_value.py,sha256=7kVqcGBTmDfVauQRiRUpa1mIuE3VQnA_p0wBEsorxBY,4801
|
|
112
|
+
audithub_sdk/models/organization.py,sha256=fwZ1UO8ZG_6GMQlg19X0rJolWJiX4J4N6DfhG5pw5WA,3468
|
|
113
|
+
audithub_sdk/models/organization_access_restriction.py,sha256=E7Ltr_VUMILOlFvY9vPPuzkrXJ4IdXVaZMPPf9Kj5uE,3171
|
|
114
|
+
audithub_sdk/models/organization_active_quota.py,sha256=KlCzwAgzsi-dso5yOAX9oRfIR0hXXXxrf2Li4Ye39zk,3295
|
|
115
|
+
audithub_sdk/models/organization_admin.py,sha256=lGZDwFHfsvig05VbTdd8MKeeZECyhPsBkLepohsOxIY,3650
|
|
116
|
+
audithub_sdk/models/organization_consumption.py,sha256=9WKdn0uJaJo8vT0O5-z9Nm1oUD_M7hyztQvTJP81y-o,3289
|
|
117
|
+
audithub_sdk/models/organization_quota.py,sha256=_zMgYfmdrg1C1gJuuazVTDIpAtmWp8fZBasnguE-AGQ,3117
|
|
118
|
+
audithub_sdk/models/organization_subscription.py,sha256=K6wj1o-ry5tRR9JKY-xcxRFat1zZTV3NWP6mAOsgpHU,5377
|
|
119
|
+
audithub_sdk/models/package_data.py,sha256=wR-dUuSy857q_sOax1JheUZle1ItZrl_0Prs9N4ZuCg,5833
|
|
120
|
+
audithub_sdk/models/package_subscription.py,sha256=LRMx4vm0dEKkx95eB5otdoD2q_g7whKmZ8QFMmCcHqk,3858
|
|
121
|
+
audithub_sdk/models/patch_user.py,sha256=tyTZJ47oy6Ig2F7MokfcnUaN6F2rBGQ9YDP3KrZNvTU,3319
|
|
122
|
+
audithub_sdk/models/pending_finding_actions.py,sha256=THcV3xdt6VSvzJWxJtxf7HpMPssifeBRZbjnEfei5hY,3244
|
|
123
|
+
audithub_sdk/models/picus_input.py,sha256=OJytbnrqpsP_8cbQI8uAemF8Fy0tU-LDTNlziWGUCVk,3070
|
|
124
|
+
audithub_sdk/models/picus_parameters.py,sha256=HbgL1qENjqyctkXldgOY95lcvkk05olBx4CwaNOGPis,3920
|
|
125
|
+
audithub_sdk/models/picus_v2_input.py,sha256=bmcFy98v_mwRVChCb5yO9Z7XKXIGzcXuBwK-od_dYic,3089
|
|
126
|
+
audithub_sdk/models/picus_v2_parameters.py,sha256=dyNtu2Wz81dOveufJ72iRzwkDMMMqUkOSQEHt3SqagQ,7700
|
|
127
|
+
audithub_sdk/models/project.py,sha256=udhd3QtDkXxnSiiG2OL3I07MrCMJ063aJQwu9HsZjoc,8229
|
|
128
|
+
audithub_sdk/models/project_admin.py,sha256=ewdmk1HSyGhGOla2ZQLtNhT17YxllQG-ANKNuFTweGg,8597
|
|
129
|
+
audithub_sdk/models/project_data.py,sha256=WihKgv9_bl324ElKozOythoK8ZAwlny9AKPEw8aDK_0,3164
|
|
130
|
+
audithub_sdk/models/project_dependency.py,sha256=gcsAYYwSoS-7H704mtMIcUnNhVWjDQnJRYv1MajItUM,3313
|
|
131
|
+
audithub_sdk/models/project_git_hub_link.py,sha256=7sbB5q4nX6VZrpQlZ-tajSY5819T56X9pkyqMG8lyB4,2496
|
|
132
|
+
audithub_sdk/models/project_info_input.py,sha256=V14sxc5H86xAJYqchTlP1svlnIMynVB4eCfB1Q0txlc,7586
|
|
133
|
+
audithub_sdk/models/project_info_output.py,sha256=LWu_YBmPawnsVCODdVzrzm4glaQbSEI6uaejGjHg9Ac,7590
|
|
134
|
+
audithub_sdk/models/project_thread_subject.py,sha256=4o_ydfUhek2WBWl-NGHzhfgij_5rpvwpWEDR4um9LeA,2880
|
|
135
|
+
audithub_sdk/models/project_update_response.py,sha256=ApUvbTRHdg6wVLN7a5SFjGshk8gZguKE2ywKCGVenLI,2751
|
|
136
|
+
audithub_sdk/models/psa.py,sha256=FoUEQ_dfEKLVakTq99lE5XdrU-B6feKSFoC1kOJbFAo,2891
|
|
137
|
+
audithub_sdk/models/psa_message.py,sha256=NB9UEk4Mx0MGqXsJ8LkALtfeCpQz4R_EnWRN4OFGb7s,2727
|
|
138
|
+
audithub_sdk/models/public_configuration.py,sha256=kSAsZ22I3EIWYyMa59NAZSQH6bEO14qs3PSMHX-fxQ0,11300
|
|
139
|
+
audithub_sdk/models/put_user.py,sha256=2eZ4KByvT4YZuVozyq5XVZhzRVqYdMfdoMoKa7uhYZU,2806
|
|
140
|
+
audithub_sdk/models/registered_user.py,sha256=c58mwlkYbxaO371gG9WUNGuQmaRCkEb2zvxpdgM6IL8,2884
|
|
141
|
+
audithub_sdk/models/resource_patch.py,sha256=i8DKcK1jzy9lvuOxuWpDHw6jtuHa6hZm-U0FKc4ido0,2732
|
|
142
|
+
audithub_sdk/models/resources.py,sha256=HboYjar51xvGVWHUpw3UdoMUs2po4_oqZPdmqcMk2Go,2520
|
|
143
|
+
audithub_sdk/models/root_model_list_union_custom_detector_from_version_custom_detector_from_standard_library_custom_detector_from_organization_library_inner.py,sha256=a6nFZB-CH4c862G7CWnxhqlj5Lz3P5dW2G9MUH01V3Y,7094
|
|
144
|
+
audithub_sdk/models/root_model_list_union_hint_from_version_hint_from_standard_library_hint_from_organization_library_hint_ad_hoc_inner.py,sha256=eDIWevd7h5Dtzuj5ByH6RfOB0Qc_qM6zSrLXMx13xOg,7194
|
|
145
|
+
audithub_sdk/models/root_model_list_union_v_spec_from_version_v_spec_from_standard_library_v_spec_from_organization_library_v_spec_ad_hoc_inner.py,sha256=S3QncZIKODrfNwhyc8Y6QWMe0ocMEcn8Jxs9LPopYaI,7282
|
|
146
|
+
audithub_sdk/models/security_tool.py,sha256=uRyUpdX3AYB4zvSjiHgh6SZwZ_P6tRRXkSMvs6ttUv8,2532
|
|
147
|
+
audithub_sdk/models/self_onboard_request.py,sha256=BrWVQSL-c3pd0Fdl5KSbuzgLwNrZpAzJEvRSGjBQRds,2843
|
|
148
|
+
audithub_sdk/models/source_reference.py,sha256=xKIxvIlbGY1819898XoqaC52HpDfHTdas0pUKc3s1W8,3415
|
|
149
|
+
audithub_sdk/models/step_definition.py,sha256=zi4j-UTvBFZujET7pkCB2E_JM6BHKf09aKZTTfpjziI,2851
|
|
150
|
+
audithub_sdk/models/step_resources.py,sha256=kppMeB60sIt0CJsYEDg0NVh5gW1aE3ACHDxcO4REaJI,3460
|
|
151
|
+
audithub_sdk/models/subject.py,sha256=I5ghaHKxPSPhQRVaam7VT7Vu9TXXo6qef8obmWymsJk,7161
|
|
152
|
+
audithub_sdk/models/success_and_message_response.py,sha256=GxJbwoKxx-QahSfjYW7of7IJv_19kxOsLFrLC2OJu8Q,2897
|
|
153
|
+
audithub_sdk/models/task.py,sha256=kbET04GzKkbuqE7NT6IwxllEEzuE7J9jS0GSxHhI0gg,7264
|
|
154
|
+
audithub_sdk/models/task_admin.py,sha256=XmBJtgZAUByG0w0KWKDSpGkgpCbQxjjaDVmbfswsk1k,5300
|
|
155
|
+
audithub_sdk/models/task_creation.py,sha256=OKvWwouCS53Jwte-usxgFukHCGht0s_xuIyL28tV8n4,2564
|
|
156
|
+
audithub_sdk/models/task_fio_data.py,sha256=kTBm52PrxhlUZaQEZmEgYY6Fb8M9o-Dol_YqnLwZMvY,3119
|
|
157
|
+
audithub_sdk/models/task_patch.py,sha256=NLdKFVN-q6IGDEGU_635rqM2ScVuhJF6AqLEhR0V-Yo,2736
|
|
158
|
+
audithub_sdk/models/task_resources.py,sha256=jdPHYUFDl6EK4bE34oXPPP5JHtI66bIk7E3aC-4c1vM,3372
|
|
159
|
+
audithub_sdk/models/task_status.py,sha256=OZtnZapWQ2qV6cTLSlGT4Nn2bbNqAGqqfhPyf8liUKQ,2920
|
|
160
|
+
audithub_sdk/models/task_step.py,sha256=0Hp9ykUP_aI_bCv1E2lKrPpmUc9iARjqGIZrnUI09ak,5620
|
|
161
|
+
audithub_sdk/models/temp_version.py,sha256=FCITIjUWU4rTWrjDALHGZdaEMaYKYs9PL6PGDxh-jrc,2879
|
|
162
|
+
audithub_sdk/models/thread.py,sha256=APPztHKeuZQ91z5G9gKMbjKZHbBvPETkCUm8mq6aOCs,5301
|
|
163
|
+
audithub_sdk/models/thread_comment.py,sha256=ibLNObBdVHQEO3bHFUigP1TBjtcX_UxBcLI3WhJ-wp8,2468
|
|
164
|
+
audithub_sdk/models/thread_patch.py,sha256=ULE4AQXhhY-5q3fuPeCCQ1m6R1yaRsvBq3JFZkj6Luc,3070
|
|
165
|
+
audithub_sdk/models/user.py,sha256=FoTQsB5086wk7gQI_XoVi2Xs4NDSMC7dmUX1D_O_Oto,3427
|
|
166
|
+
audithub_sdk/models/user_access_restriction.py,sha256=GvCmIv6JUq-k6UuihKr2IBmr-9Uux_qb8UDdWmrChoI,3468
|
|
167
|
+
audithub_sdk/models/user_for_admin.py,sha256=qpIzJXoZ0FqnRZqJVDBTfx_WGxQWxohy9BgvzxeuBAs,3537
|
|
168
|
+
audithub_sdk/models/user_group.py,sha256=HfS78sXJDyv8u1hLOSD2-Ml5dnOHeRS60LnSn-NJt2o,2520
|
|
169
|
+
audithub_sdk/models/user_information.py,sha256=NkUmuNNig2Nuu2I3wxKknSWKSMrS6ebfZ2M5E9pymaU,2533
|
|
170
|
+
audithub_sdk/models/user_organization_setting.py,sha256=DaSJHM9Jd73X0CLssjM4yWSe_hFulhPoSblB0SsrK90,2768
|
|
171
|
+
audithub_sdk/models/user_patch.py,sha256=ep7ahXNvZHZu2Bf98rrMCA9djv8DigqtCv-fgdpT2tA,3076
|
|
172
|
+
audithub_sdk/models/user_project_setting.py,sha256=QkVB7GzyKomKQR-KOBUAo_Mqom-vDMpEcyhnXl-8Vgw,2748
|
|
173
|
+
audithub_sdk/models/user_thread_setting.py,sha256=F8NBec73P2GgPs9nRLT6szJC94f0xk_LNbemNp4d2oM,2744
|
|
174
|
+
audithub_sdk/models/user_to_organization_assignment.py,sha256=vnpj5F2zHf6Ox2-TIqhgZY4HT74gGtjBllM538CCX0M,2540
|
|
175
|
+
audithub_sdk/models/v_spec.py,sha256=q_YmhmAFkLEeirJA5Wwsdo_3ILepFYFPqblheJ0Z2yU,3276
|
|
176
|
+
audithub_sdk/models/v_spec_ad_hoc.py,sha256=mJaMWD2MwBp17vev51LOydvBPIndO3Bl8NAIjNI9LhU,3710
|
|
177
|
+
audithub_sdk/models/v_spec_from_organization_library.py,sha256=HeNHrYrt-kA64bFW36ICPxPtbuRLzDLSsnW44Kj1-c4,3069
|
|
178
|
+
audithub_sdk/models/v_spec_from_standard_library.py,sha256=96UdKt357xFL44eXhJ8r4MogJ7WNOacbbhE6X8-Vzys,3407
|
|
179
|
+
audithub_sdk/models/v_spec_from_version.py,sha256=5DEMYkv5_zqazXjr_H9VUT3Uy2Gks_0y9_WSGtvwhJQ,3041
|
|
180
|
+
audithub_sdk/models/v_spec_with_id.py,sha256=0BNubbK0dAxrdW_GyPi1MZZku7MED5fzdYgjIe-GokQ,3422
|
|
181
|
+
audithub_sdk/models/validation_error.py,sha256=3dpdKLLyjuxsWCYmwZ_NM2BqjBhb6Tm2lcvtECrfDs0,3412
|
|
182
|
+
audithub_sdk/models/vanguard_detector.py,sha256=4nut6ydarziboFo0LkDPRB3y4qdfEjYem1kajFCHQrs,2622
|
|
183
|
+
audithub_sdk/models/version.py,sha256=9kkeNJ5Rb_6bEmHEjrcgiJyX8gASlwIot3BqhMeAeCU,4906
|
|
184
|
+
audithub_sdk/models/version_admin.py,sha256=l0earaPMFfnQfcNIMx0KJtgz2wIlaQ6amqK8iyWL3pM,5370
|
|
185
|
+
audithub_sdk/models/version_data.py,sha256=hgxMr31zCDhEfzRywqKa978cSrP-bJLobZowwKgxTCY,3329
|
|
186
|
+
audithub_sdk/models/version_patch.py,sha256=Wl2jxB8eGyrzCxm8NsSFR6sKcSlVWl6hr8SRPSJ_Y28,4092
|
|
187
|
+
audithub_sdk/models/version_resources.py,sha256=vWXmhAErSbEjNBZRuZQf_2sV1DNyeufJn1DGBlc85Jw,3384
|
|
188
|
+
audithub_sdk/models/zk_vanguard_input.py,sha256=I9kgjOXB9D1TPWMEvH34054_jVStLtcJiHZYvZRe1jo,3117
|
|
189
|
+
audithub_sdk/models/zk_vanguard_parameters.py,sha256=F8h4LXAYbYHDJ_T7EEilak02_oz1kxpIUFU9H6shHag,3665
|
|
190
|
+
audithub_sdk/models/zk_vanguard_v2_input.py,sha256=B7VDgjaYgn5dM1vvroa58SNWi4sCCk4tqIcvKA4-qtA,3137
|
|
191
|
+
audithub_sdk/models/zk_vanguard_v2_parameters.py,sha256=JImB85A5JfQm17l6rhJ28_BOe7zbnOt2BUD9ZQ0aJ7E,3665
|
|
192
|
+
audithub_sdk_ext/__init__.py,sha256=yFMYv-DRW8TxC93sgZavbrzPMJvxDDE54WeOPN-VS5Q,340
|
|
193
|
+
audithub_sdk_ext/auth.py,sha256=LbMx3TLlG8QMTpIYPp52C3bGoJKYyPv5A-7MwSR2MU4,7067
|
|
194
|
+
audithub_sdk-0.1.0.dist-info/METADATA,sha256=Kx_WN_mOCs-8MMlwi1d3UMs509BsIYCLIvnYnWtB3XE,3794
|
|
195
|
+
audithub_sdk-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
196
|
+
audithub_sdk-0.1.0.dist-info/top_level.txt,sha256=w20X6gfueQW3Zqd-9spEp-tD2Vd14o0BDV7LlFIIjk8,30
|
|
197
|
+
audithub_sdk-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"""Handwritten extensions for the generated AuditHub SDK."""
|
|
2
|
+
|
|
3
|
+
from audithub_sdk_ext.auth import AuthenticatedApiClient
|
|
4
|
+
from audithub_sdk_ext.auth import OIDCClientCredentialsContext
|
|
5
|
+
from audithub_sdk_ext.auth import OIDCTokenProvider
|
|
6
|
+
|
|
7
|
+
__all__ = [
|
|
8
|
+
"AuthenticatedApiClient",
|
|
9
|
+
"OIDCClientCredentialsContext",
|
|
10
|
+
"OIDCTokenProvider",
|
|
11
|
+
]
|