|
54 | 54 | browsers, |
55 | 55 | profiles, |
56 | 56 | projects, |
| 57 | + audit_logs, |
57 | 58 | extensions, |
58 | 59 | credentials, |
59 | 60 | deployments, |
|
67 | 68 | from .resources.api_keys import APIKeysResource, AsyncAPIKeysResource |
68 | 69 | from .resources.profiles import ProfilesResource, AsyncProfilesResource |
69 | 70 | from .resources.auth.auth import AuthResource, AsyncAuthResource |
| 71 | + from .resources.audit_logs import AuditLogsResource, AsyncAuditLogsResource |
70 | 72 | from .resources.extensions import ExtensionsResource, AsyncExtensionsResource |
71 | 73 | from .resources.credentials import CredentialsResource, AsyncCredentialsResource |
72 | 74 | from .resources.deployments import DeploymentsResource, AsyncDeploymentsResource |
@@ -275,6 +277,13 @@ def organization(self) -> OrganizationResource: |
275 | 277 |
|
276 | 278 | return OrganizationResource(self) |
277 | 279 |
|
| 280 | + @cached_property |
| 281 | + def audit_logs(self) -> AuditLogsResource: |
| 282 | + """Read audit log records for the authenticated organization.""" |
| 283 | + from .resources.audit_logs import AuditLogsResource |
| 284 | + |
| 285 | + return AuditLogsResource(self) |
| 286 | + |
278 | 287 | @cached_property |
279 | 288 | def api_keys(self) -> APIKeysResource: |
280 | 289 | """Create and manage API keys for organization and project-scoped access.""" |
@@ -620,6 +629,13 @@ def organization(self) -> AsyncOrganizationResource: |
620 | 629 |
|
621 | 630 | return AsyncOrganizationResource(self) |
622 | 631 |
|
| 632 | + @cached_property |
| 633 | + def audit_logs(self) -> AsyncAuditLogsResource: |
| 634 | + """Read audit log records for the authenticated organization.""" |
| 635 | + from .resources.audit_logs import AsyncAuditLogsResource |
| 636 | + |
| 637 | + return AsyncAuditLogsResource(self) |
| 638 | + |
623 | 639 | @cached_property |
624 | 640 | def api_keys(self) -> AsyncAPIKeysResource: |
625 | 641 | """Create and manage API keys for organization and project-scoped access.""" |
@@ -873,6 +889,13 @@ def organization(self) -> organization.OrganizationResourceWithRawResponse: |
873 | 889 |
|
874 | 890 | return OrganizationResourceWithRawResponse(self._client.organization) |
875 | 891 |
|
| 892 | + @cached_property |
| 893 | + def audit_logs(self) -> audit_logs.AuditLogsResourceWithRawResponse: |
| 894 | + """Read audit log records for the authenticated organization.""" |
| 895 | + from .resources.audit_logs import AuditLogsResourceWithRawResponse |
| 896 | + |
| 897 | + return AuditLogsResourceWithRawResponse(self._client.audit_logs) |
| 898 | + |
876 | 899 | @cached_property |
877 | 900 | def api_keys(self) -> api_keys.APIKeysResourceWithRawResponse: |
878 | 901 | """Create and manage API keys for organization and project-scoped access.""" |
@@ -976,6 +999,13 @@ def organization(self) -> organization.AsyncOrganizationResourceWithRawResponse: |
976 | 999 |
|
977 | 1000 | return AsyncOrganizationResourceWithRawResponse(self._client.organization) |
978 | 1001 |
|
| 1002 | + @cached_property |
| 1003 | + def audit_logs(self) -> audit_logs.AsyncAuditLogsResourceWithRawResponse: |
| 1004 | + """Read audit log records for the authenticated organization.""" |
| 1005 | + from .resources.audit_logs import AsyncAuditLogsResourceWithRawResponse |
| 1006 | + |
| 1007 | + return AsyncAuditLogsResourceWithRawResponse(self._client.audit_logs) |
| 1008 | + |
979 | 1009 | @cached_property |
980 | 1010 | def api_keys(self) -> api_keys.AsyncAPIKeysResourceWithRawResponse: |
981 | 1011 | """Create and manage API keys for organization and project-scoped access.""" |
@@ -1079,6 +1109,13 @@ def organization(self) -> organization.OrganizationResourceWithStreamingResponse |
1079 | 1109 |
|
1080 | 1110 | return OrganizationResourceWithStreamingResponse(self._client.organization) |
1081 | 1111 |
|
| 1112 | + @cached_property |
| 1113 | + def audit_logs(self) -> audit_logs.AuditLogsResourceWithStreamingResponse: |
| 1114 | + """Read audit log records for the authenticated organization.""" |
| 1115 | + from .resources.audit_logs import AuditLogsResourceWithStreamingResponse |
| 1116 | + |
| 1117 | + return AuditLogsResourceWithStreamingResponse(self._client.audit_logs) |
| 1118 | + |
1082 | 1119 | @cached_property |
1083 | 1120 | def api_keys(self) -> api_keys.APIKeysResourceWithStreamingResponse: |
1084 | 1121 | """Create and manage API keys for organization and project-scoped access.""" |
@@ -1182,6 +1219,13 @@ def organization(self) -> organization.AsyncOrganizationResourceWithStreamingRes |
1182 | 1219 |
|
1183 | 1220 | return AsyncOrganizationResourceWithStreamingResponse(self._client.organization) |
1184 | 1221 |
|
| 1222 | + @cached_property |
| 1223 | + def audit_logs(self) -> audit_logs.AsyncAuditLogsResourceWithStreamingResponse: |
| 1224 | + """Read audit log records for the authenticated organization.""" |
| 1225 | + from .resources.audit_logs import AsyncAuditLogsResourceWithStreamingResponse |
| 1226 | + |
| 1227 | + return AsyncAuditLogsResourceWithStreamingResponse(self._client.audit_logs) |
| 1228 | + |
1185 | 1229 | @cached_property |
1186 | 1230 | def api_keys(self) -> api_keys.AsyncAPIKeysResourceWithStreamingResponse: |
1187 | 1231 | """Create and manage API keys for organization and project-scoped access.""" |
|
0 commit comments