pangea-sdk 6.2.0b2__py3-none-any.whl → 6.4.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.
- pangea/__init__.py +1 -1
- pangea/asyncio/request.py +25 -154
- pangea/asyncio/services/__init__.py +0 -1
- pangea/asyncio/services/ai_guard.py +40 -130
- pangea/asyncio/services/audit.py +1 -301
- pangea/asyncio/services/authn.py +7 -9
- pangea/asyncio/services/authz.py +45 -11
- pangea/asyncio/services/intel.py +20 -26
- pangea/asyncio/services/prompt_guard.py +2 -112
- pangea/asyncio/services/redact.py +4 -265
- pangea/asyncio/services/vault.py +52 -40
- pangea/request.py +30 -167
- pangea/response.py +6 -6
- pangea/services/__init__.py +0 -1
- pangea/services/ai_guard.py +96 -542
- pangea/services/audit/audit.py +2 -301
- pangea/services/audit/models.py +65 -307
- pangea/services/authn/authn.py +6 -8
- pangea/services/authn/models.py +183 -151
- pangea/services/authz.py +101 -57
- pangea/services/base.py +2 -3
- pangea/services/intel.py +32 -19
- pangea/services/prompt_guard.py +2 -193
- pangea/services/redact.py +7 -473
- pangea/services/vault/models/common.py +11 -12
- pangea/services/vault/models/keys.py +4 -9
- pangea/services/vault/models/secret.py +3 -8
- pangea/services/vault/vault.py +52 -40
- {pangea_sdk-6.2.0b2.dist-info → pangea_sdk-6.4.0.dist-info}/METADATA +34 -15
- pangea_sdk-6.4.0.dist-info/RECORD +60 -0
- pangea/asyncio/services/management.py +0 -576
- pangea/services/management.py +0 -720
- pangea_sdk-6.2.0b2.dist-info/RECORD +0 -62
- {pangea_sdk-6.2.0b2.dist-info → pangea_sdk-6.4.0.dist-info}/WHEEL +0 -0
@@ -1,17 +1,12 @@
|
|
1
1
|
# Copyright 2022 Pangea Cyber Corporation
|
2
2
|
# Author: Pangea Cyber Corporation
|
3
|
+
from collections.abc import Mapping
|
3
4
|
from typing import Optional
|
4
5
|
|
5
6
|
from typing_extensions import Literal
|
6
7
|
|
7
8
|
from pangea.response import APIRequestModel, PangeaDateTime
|
8
|
-
from pangea.services.vault.models.common import
|
9
|
-
CommonRotateRequest,
|
10
|
-
CommonRotateResult,
|
11
|
-
CommonStoreResult,
|
12
|
-
Metadata,
|
13
|
-
Tags,
|
14
|
-
)
|
9
|
+
from pangea.services.vault.models.common import CommonRotateRequest, CommonRotateResult, CommonStoreResult, Tags
|
15
10
|
|
16
11
|
|
17
12
|
class SecretStoreRequest(APIRequestModel):
|
@@ -31,7 +26,7 @@ class SecretStoreRequest(APIRequestModel):
|
|
31
26
|
# Optional.
|
32
27
|
name: Optional[str] = None
|
33
28
|
folder: Optional[str] = None
|
34
|
-
metadata: Optional[
|
29
|
+
metadata: Optional[Mapping[str, str]] = None
|
35
30
|
tags: Optional[Tags] = None
|
36
31
|
disabled_at: Optional[PangeaDateTime] = None
|
37
32
|
|
pangea/services/vault/vault.py
CHANGED
@@ -52,7 +52,6 @@ from pangea.services.vault.models.common import (
|
|
52
52
|
JWTVerifyResult,
|
53
53
|
ListRequest,
|
54
54
|
ListResult,
|
55
|
-
Metadata,
|
56
55
|
PangeaToken,
|
57
56
|
PangeaTokenRotateRequest,
|
58
57
|
RequestManualRotationState,
|
@@ -312,7 +311,7 @@ class Vault(ServiceBase):
|
|
312
311
|
*,
|
313
312
|
name: str | None = None,
|
314
313
|
folder: str | None = None,
|
315
|
-
metadata:
|
314
|
+
metadata: Mapping[str, str] | None = None,
|
316
315
|
tags: Tags | None = None,
|
317
316
|
disabled_at: str | None = None,
|
318
317
|
enabled: bool | None = None,
|
@@ -388,7 +387,7 @@ class Vault(ServiceBase):
|
|
388
387
|
result_class: type[TResult] = SecretStoreResult, # type: ignore[assignment]
|
389
388
|
name: str | None = None,
|
390
389
|
folder: str | None = None,
|
391
|
-
metadata:
|
390
|
+
metadata: Mapping[str, str] | None = None,
|
392
391
|
tags: Tags | None = None,
|
393
392
|
disabled_at: datetime.datetime | None = None,
|
394
393
|
**kwargs: Any,
|
@@ -413,22 +412,22 @@ class Vault(ServiceBase):
|
|
413
412
|
*,
|
414
413
|
name: str | None = None,
|
415
414
|
folder: str | None = None,
|
416
|
-
metadata:
|
415
|
+
metadata: Mapping[str, str] | None = None,
|
417
416
|
tags: Tags | None = None,
|
418
417
|
disabled_at: datetime.datetime | None = None,
|
419
418
|
) -> PangeaResponse[Secret]:
|
420
419
|
"""
|
421
420
|
Store secret
|
422
421
|
|
423
|
-
Store a secret.
|
422
|
+
Store a secret as a Vault item.
|
424
423
|
|
425
424
|
Args:
|
426
|
-
secret:
|
427
|
-
name:
|
428
|
-
folder:
|
429
|
-
metadata:
|
430
|
-
tags:
|
431
|
-
disabled_at: Timestamp indicating when the item will be disabled
|
425
|
+
secret: Secret value
|
426
|
+
name: Name of the item
|
427
|
+
folder: Folder where the item is stored
|
428
|
+
metadata: Metadata provided by the user
|
429
|
+
tags: List of user-defined tags
|
430
|
+
disabled_at: Timestamp indicating when the item will be disabled
|
432
431
|
|
433
432
|
Raises:
|
434
433
|
PangeaAPIException: If an API Error happens
|
@@ -454,25 +453,38 @@ class Vault(ServiceBase):
|
|
454
453
|
*,
|
455
454
|
name: str | None = None,
|
456
455
|
folder: str | None = None,
|
457
|
-
metadata:
|
456
|
+
metadata: Mapping[str, str] | None = None,
|
458
457
|
tags: Tags | None = None,
|
459
458
|
disabled_at: datetime.datetime | None = None,
|
460
459
|
rotation_frequency: str | None = None,
|
461
|
-
rotation_state:
|
460
|
+
rotation_state: Literal["deactivated", "destroyed", "inherited"] | None = None,
|
462
461
|
rotation_grace_period: str | None = None,
|
463
462
|
) -> PangeaResponse[PangeaToken]:
|
464
463
|
"""
|
465
464
|
Store secret
|
466
465
|
|
467
|
-
Store a Pangea token.
|
466
|
+
Store a Pangea token as a Vault item.
|
468
467
|
|
469
468
|
Args:
|
470
|
-
token:
|
471
|
-
name:
|
472
|
-
folder:
|
473
|
-
metadata:
|
474
|
-
tags:
|
475
|
-
disabled_at: Timestamp indicating when the item will be disabled
|
469
|
+
token: Pangea token value
|
470
|
+
name: Name of the item
|
471
|
+
folder: Folder where the item is stored
|
472
|
+
metadata: Metadata provided by the user
|
473
|
+
tags: List of user-defined tags
|
474
|
+
disabled_at: Timestamp indicating when the item will be disabled
|
475
|
+
rotation_frequency: Time interval between item rotations, provided
|
476
|
+
as a positive number followed by a time unit: `secs`, `mins`, `hrs`,
|
477
|
+
`days`, `weeks`, `months`, or `years`. You can use abbreviations
|
478
|
+
like `1d`. Omit to inherit from the parent folder or default
|
479
|
+
settings. Set to `never` to disable rotation.
|
480
|
+
rotation_state: Target state for the previous version after
|
481
|
+
rotation. Set to `inherited` to inherit from the parent folder
|
482
|
+
or default settings.
|
483
|
+
rotation_grace_period: Grace period for the previous version,
|
484
|
+
provided as a positive number followed by a time unit: `secs`,
|
485
|
+
`mins`, `hrs`, `days`, `weeks`, `months`, or `years`. You can use
|
486
|
+
abbreviations like `1d`. Omit to inherit from the parent folder or
|
487
|
+
default settings.
|
476
488
|
|
477
489
|
Raises:
|
478
490
|
PangeaAPIException: If an API Error happens
|
@@ -503,7 +515,7 @@ class Vault(ServiceBase):
|
|
503
515
|
*,
|
504
516
|
name: str | None = None,
|
505
517
|
folder: str | None = None,
|
506
|
-
metadata:
|
518
|
+
metadata: Mapping[str, str] | None = None,
|
507
519
|
tags: Tags | None = None,
|
508
520
|
disabled_at: datetime.datetime | None = None,
|
509
521
|
rotation_frequency: str | None = None,
|
@@ -665,7 +677,7 @@ class Vault(ServiceBase):
|
|
665
677
|
algorithm: AsymmetricKeySigningAlgorithm,
|
666
678
|
name: str | None = None,
|
667
679
|
folder: str | None = None,
|
668
|
-
metadata:
|
680
|
+
metadata: Mapping[str, str] | None = None,
|
669
681
|
tags: Tags | None = None,
|
670
682
|
rotation_frequency: str | None = None,
|
671
683
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -711,7 +723,7 @@ class Vault(ServiceBase):
|
|
711
723
|
algorithm: AsymmetricKeyEncryptionAlgorithm,
|
712
724
|
name: str | None = None,
|
713
725
|
folder: str | None = None,
|
714
|
-
metadata:
|
726
|
+
metadata: Mapping[str, str] | None = None,
|
715
727
|
tags: Tags | None = None,
|
716
728
|
rotation_frequency: str | None = None,
|
717
729
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -757,7 +769,7 @@ class Vault(ServiceBase):
|
|
757
769
|
algorithm: AsymmetricKeyJwtAlgorithm,
|
758
770
|
name: str | None = None,
|
759
771
|
folder: str | None = None,
|
760
|
-
metadata:
|
772
|
+
metadata: Mapping[str, str] | None = None,
|
761
773
|
tags: Tags | None = None,
|
762
774
|
rotation_frequency: str | None = None,
|
763
775
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -803,7 +815,7 @@ class Vault(ServiceBase):
|
|
803
815
|
algorithm: AsymmetricKeyPkiAlgorithm,
|
804
816
|
name: str | None = None,
|
805
817
|
folder: str | None = None,
|
806
|
-
metadata:
|
818
|
+
metadata: Mapping[str, str] | None = None,
|
807
819
|
tags: Tags | None = None,
|
808
820
|
rotation_frequency: str | None = None,
|
809
821
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -849,7 +861,7 @@ class Vault(ServiceBase):
|
|
849
861
|
algorithm: AsymmetricKeyAlgorithm,
|
850
862
|
name: str | None = None,
|
851
863
|
folder: str | None = None,
|
852
|
-
metadata:
|
864
|
+
metadata: Mapping[str, str] | None = None,
|
853
865
|
tags: Tags | None = None,
|
854
866
|
rotation_frequency: str | None = None,
|
855
867
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -895,7 +907,7 @@ class Vault(ServiceBase):
|
|
895
907
|
algorithm: SymmetricKeyEncryptionAlgorithm,
|
896
908
|
name: str | None = None,
|
897
909
|
folder: str | None = None,
|
898
|
-
metadata:
|
910
|
+
metadata: Mapping[str, str] | None = None,
|
899
911
|
tags: Tags | None = None,
|
900
912
|
rotation_frequency: str | None = None,
|
901
913
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -941,7 +953,7 @@ class Vault(ServiceBase):
|
|
941
953
|
algorithm: SymmetricKeyJwtAlgorithm,
|
942
954
|
name: str | None = None,
|
943
955
|
folder: str | None = None,
|
944
|
-
metadata:
|
956
|
+
metadata: Mapping[str, str] | None = None,
|
945
957
|
tags: Tags | None = None,
|
946
958
|
rotation_frequency: str | None = None,
|
947
959
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -987,7 +999,7 @@ class Vault(ServiceBase):
|
|
987
999
|
algorithm: SymmetricKeyFpeAlgorithm,
|
988
1000
|
name: str | None = None,
|
989
1001
|
folder: str | None = None,
|
990
|
-
metadata:
|
1002
|
+
metadata: Mapping[str, str] | None = None,
|
991
1003
|
tags: Tags | None = None,
|
992
1004
|
rotation_frequency: str | None = None,
|
993
1005
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1033,7 +1045,7 @@ class Vault(ServiceBase):
|
|
1033
1045
|
algorithm: SymmetricKeyAlgorithm,
|
1034
1046
|
name: str | None = None,
|
1035
1047
|
folder: str | None = None,
|
1036
|
-
metadata:
|
1048
|
+
metadata: Mapping[str, str] | None = None,
|
1037
1049
|
tags: Tags | None = None,
|
1038
1050
|
rotation_frequency: str | None = None,
|
1039
1051
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1078,7 +1090,7 @@ class Vault(ServiceBase):
|
|
1078
1090
|
algorithm: AsymmetricKeyAlgorithm | SymmetricKeyAlgorithm,
|
1079
1091
|
name: str | None = None,
|
1080
1092
|
folder: str | None = None,
|
1081
|
-
metadata:
|
1093
|
+
metadata: Mapping[str, str] | None = None,
|
1082
1094
|
tags: Tags | None = None,
|
1083
1095
|
rotation_frequency: str | None = None,
|
1084
1096
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1144,7 +1156,7 @@ class Vault(ServiceBase):
|
|
1144
1156
|
private_key: str,
|
1145
1157
|
name: str | None = None,
|
1146
1158
|
folder: str | None = None,
|
1147
|
-
metadata:
|
1159
|
+
metadata: Mapping[str, str] | None = None,
|
1148
1160
|
tags: Tags | None = None,
|
1149
1161
|
rotation_frequency: str | None = None,
|
1150
1162
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1194,7 +1206,7 @@ class Vault(ServiceBase):
|
|
1194
1206
|
private_key: str,
|
1195
1207
|
name: str | None = None,
|
1196
1208
|
folder: str | None = None,
|
1197
|
-
metadata:
|
1209
|
+
metadata: Mapping[str, str] | None = None,
|
1198
1210
|
tags: Tags | None = None,
|
1199
1211
|
rotation_frequency: str | None = None,
|
1200
1212
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1244,7 +1256,7 @@ class Vault(ServiceBase):
|
|
1244
1256
|
private_key: str,
|
1245
1257
|
name: str | None = None,
|
1246
1258
|
folder: str | None = None,
|
1247
|
-
metadata:
|
1259
|
+
metadata: Mapping[str, str] | None = None,
|
1248
1260
|
tags: Tags | None = None,
|
1249
1261
|
rotation_frequency: str | None = None,
|
1250
1262
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1294,7 +1306,7 @@ class Vault(ServiceBase):
|
|
1294
1306
|
private_key: str,
|
1295
1307
|
name: str | None = None,
|
1296
1308
|
folder: str | None = None,
|
1297
|
-
metadata:
|
1309
|
+
metadata: Mapping[str, str] | None = None,
|
1298
1310
|
tags: Tags | None = None,
|
1299
1311
|
rotation_frequency: str | None = None,
|
1300
1312
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1343,7 +1355,7 @@ class Vault(ServiceBase):
|
|
1343
1355
|
key: str,
|
1344
1356
|
name: str | None = None,
|
1345
1357
|
folder: str | None = None,
|
1346
|
-
metadata:
|
1358
|
+
metadata: Mapping[str, str] | None = None,
|
1347
1359
|
tags: Tags | None = None,
|
1348
1360
|
rotation_frequency: str | None = None,
|
1349
1361
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1391,7 +1403,7 @@ class Vault(ServiceBase):
|
|
1391
1403
|
key: str,
|
1392
1404
|
name: str | None = None,
|
1393
1405
|
folder: str | None = None,
|
1394
|
-
metadata:
|
1406
|
+
metadata: Mapping[str, str] | None = None,
|
1395
1407
|
tags: Tags | None = None,
|
1396
1408
|
rotation_frequency: str | None = None,
|
1397
1409
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1439,7 +1451,7 @@ class Vault(ServiceBase):
|
|
1439
1451
|
key: str,
|
1440
1452
|
name: str | None = None,
|
1441
1453
|
folder: str | None = None,
|
1442
|
-
metadata:
|
1454
|
+
metadata: Mapping[str, str] | None = None,
|
1443
1455
|
tags: Tags | None = None,
|
1444
1456
|
rotation_frequency: str | None = None,
|
1445
1457
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1496,7 +1508,7 @@ class Vault(ServiceBase):
|
|
1496
1508
|
key: str | None = None,
|
1497
1509
|
name: str | None = None,
|
1498
1510
|
folder: str | None = None,
|
1499
|
-
metadata:
|
1511
|
+
metadata: Mapping[str, str] | None = None,
|
1500
1512
|
tags: Tags | None = None,
|
1501
1513
|
rotation_frequency: str | None = None,
|
1502
1514
|
rotation_state: RequestRotationState | None = RequestRotationState.INHERITED,
|
@@ -1932,7 +1944,7 @@ class Vault(ServiceBase):
|
|
1932
1944
|
name: str,
|
1933
1945
|
folder: str,
|
1934
1946
|
*,
|
1935
|
-
metadata:
|
1947
|
+
metadata: Mapping[str, str] | None = None,
|
1936
1948
|
tags: Tags | None = None,
|
1937
1949
|
rotation_frequency: str | None = None,
|
1938
1950
|
rotation_state: RequestRotationState = RequestRotationState.INHERITED,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: pangea-sdk
|
3
|
-
Version: 6.
|
3
|
+
Version: 6.4.0
|
4
4
|
Summary: Pangea API SDK
|
5
5
|
License: MIT
|
6
6
|
Keywords: Pangea,SDK,Audit
|
@@ -9,16 +9,16 @@ Author-email: glenn.gallien@pangea.cloud
|
|
9
9
|
Requires-Python: >=3.9.2,<4.0.0
|
10
10
|
Classifier: Topic :: Software Development
|
11
11
|
Classifier: Topic :: Software Development :: Libraries
|
12
|
-
Requires-Dist: aiohttp (>=3.
|
13
|
-
Requires-Dist: cryptography (>=45.0.
|
12
|
+
Requires-Dist: aiohttp (>=3.12.14,<4.0.0)
|
13
|
+
Requires-Dist: cryptography (>=45.0.5,<46.0.0)
|
14
14
|
Requires-Dist: deprecated (>=1.2.18,<2.0.0)
|
15
15
|
Requires-Dist: google-crc32c (>=1.7.1,<2.0.0)
|
16
|
-
Requires-Dist: pydantic (>=2.11.
|
16
|
+
Requires-Dist: pydantic (>=2.11.7,<3.0.0)
|
17
17
|
Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0)
|
18
|
-
Requires-Dist: requests (>=2.32.
|
18
|
+
Requires-Dist: requests (>=2.32.4,<3.0.0)
|
19
19
|
Requires-Dist: requests-toolbelt (>=1.0.0,<2.0.0)
|
20
|
-
Requires-Dist: typing-extensions (>=4.
|
21
|
-
Requires-Dist: yarl (>=1.20.
|
20
|
+
Requires-Dist: typing-extensions (>=4.14.1,<5.0.0)
|
21
|
+
Requires-Dist: yarl (>=1.20.1,<2.0.0)
|
22
22
|
Description-Content-Type: text/markdown
|
23
23
|
|
24
24
|
<a href="https://pangea.cloud?utm_source=github&utm_medium=python-sdk" target="_blank" rel="noopener noreferrer">
|
@@ -102,6 +102,26 @@ audit = Audit(token, config)
|
|
102
102
|
response = audit.log(message="Hello, World!")
|
103
103
|
```
|
104
104
|
|
105
|
+
## Configuration
|
106
|
+
|
107
|
+
The SDK supports the following configuration options via `PangeaConfig`:
|
108
|
+
|
109
|
+
- `base_url_template` — Template for constructing the base URL for API requests.
|
110
|
+
The placeholder `{SERVICE_NAME}` will be replaced with the service name slug.
|
111
|
+
This is a more powerful version of `domain` that allows for setting more than
|
112
|
+
just the host of the API server. Defaults to
|
113
|
+
`https://{SERVICE_NAME}.aws.us.pangea.cloud`.
|
114
|
+
- `domain` — Base domain for API requests. This is a weaker version of
|
115
|
+
`base_url_template` that only allows for setting the host of the API server.
|
116
|
+
Use `base_url_template` for more control over the URL, such as setting
|
117
|
+
service-specific paths. Defaults to `aws.us.pangea.cloud`.
|
118
|
+
- `request_retries` — Number of retries on the initial request.
|
119
|
+
- `request_backoff` — Backoff strategy passed to 'requests'.
|
120
|
+
- `request_timeout` — Timeout used on initial request attempts.
|
121
|
+
- `poll_result_timeout` — Timeout used to poll results after 202 (in secs).
|
122
|
+
- `queued_retry_enabled` — Enable queued request retry support.
|
123
|
+
- `custom_user_agent` — Custom user agent to be used in the request headers.
|
124
|
+
|
105
125
|
## asyncio support
|
106
126
|
|
107
127
|
asyncio support is available through the `pangea.asyncio.services` module. The
|
@@ -156,6 +176,7 @@ options:
|
|
156
176
|
```
|
157
177
|
|
158
178
|
It accepts multiple file formats:
|
179
|
+
|
159
180
|
- a Verification Artifact from the Pangea User Console
|
160
181
|
- a search response from the REST API:
|
161
182
|
|
@@ -163,7 +184,6 @@ It accepts multiple file formats:
|
|
163
184
|
$ curl -H "Authorization: Bearer ${PANGEA_TOKEN}" -X POST -H 'Content-Type: application/json' --data '{"verbose": true}' https://audit.aws.us.pangea.cloud/v1/search
|
164
185
|
```
|
165
186
|
|
166
|
-
|
167
187
|
### Bulk Download Audit Data
|
168
188
|
|
169
189
|
Download all audit logs for a given time range. Start and end date should be provided,
|
@@ -213,15 +233,14 @@ options:
|
|
213
233
|
```
|
214
234
|
|
215
235
|
It accepts multiple file formats:
|
236
|
+
|
216
237
|
- a Verification Artifact from the Pangea User Console
|
217
238
|
- a file generated by the `dump_audit` command
|
218
239
|
- a search response from the REST API (see `verify_audit`)
|
219
240
|
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
[Pangea Console]: https://console.pangea.cloud/
|
226
|
-
[Secure Audit Log]: https://pangea.cloud/docs/audit
|
241
|
+
[Documentation]: https://pangea.cloud/docs/sdk/python/
|
242
|
+
[GA Examples]: https://github.com/pangeacyber/pangea-python/tree/main/examples
|
243
|
+
[Beta Examples]: https://github.com/pangeacyber/pangea-python/tree/beta/examples
|
244
|
+
[Pangea Console]: https://console.pangea.cloud/
|
245
|
+
[Secure Audit Log]: https://pangea.cloud/docs/audit
|
227
246
|
|
@@ -0,0 +1,60 @@
|
|
1
|
+
pangea/__init__.py,sha256=J0qhI0ptz7FPIJY-yKSjuceh0Hccq3jEEC-4W05GT20,370
|
2
|
+
pangea/asyncio/__init__.py,sha256=TIiYYY-DR4X6d3rGBqpCBQkPMFkogzYLXYvi_RvmCEM,64
|
3
|
+
pangea/asyncio/file_uploader.py,sha256=FwR-p-Xgtmq3UDW6_ptRQLTL4_2AIzdaY358WjxwJBw,1436
|
4
|
+
pangea/asyncio/request.py,sha256=VX5e7xIUmtP8TBan6efiAcc9cCdXGUJOAYZN-mhgRqQ,19395
|
5
|
+
pangea/asyncio/services/__init__.py,sha256=m0nqw9_7mlachetzNxyJKZDOtEe2j2_UHFCELAE3Irg,484
|
6
|
+
pangea/asyncio/services/ai_guard.py,sha256=4s2yVn8k8d74AOPh5VMqDOpmA-DEZ0_A7AryWTlj1Eg,6393
|
7
|
+
pangea/asyncio/services/audit.py,sha256=smZwzCKa37Wzo7yNqa-Rp7WCWNXXQCfjKA25PvxL8fo,26127
|
8
|
+
pangea/asyncio/services/authn.py,sha256=z22Q0ym87Sf1_X9oQzj2kiQ5Lbb0KmK4iBNEdr3XfRo,52291
|
9
|
+
pangea/asyncio/services/authz.py,sha256=vtSQ3iEYUGL7aSn4S-UjiwzXHlMeAW0vp1fbU7rx6Y8,10796
|
10
|
+
pangea/asyncio/services/base.py,sha256=ntvuwfyAuhyfrptlBg1NFViGlFb3tf9uqxnC1PiBX6U,3206
|
11
|
+
pangea/asyncio/services/embargo.py,sha256=ctzj3kip6xos-Eu3JuOskrCGYC8T3JlsgAopZHiPSXM,3068
|
12
|
+
pangea/asyncio/services/file_scan.py,sha256=OCKvrTZgsTCKA6P261PSRl4anWcU-CvDPtXfrTqAxgE,7210
|
13
|
+
pangea/asyncio/services/intel.py,sha256=SKDOye-b73SSmnvepuRQ_ej4on71uCeChtIfM0mcwTM,40193
|
14
|
+
pangea/asyncio/services/prompt_guard.py,sha256=NbYt-0tRtO5VH7kLmC1lJ5JSV-ztlb9dNFaKKs_fZUM,2553
|
15
|
+
pangea/asyncio/services/redact.py,sha256=356Kd5sww6wJsxA6DFIJvVEJle00n7HijdINb61YX9E,8014
|
16
|
+
pangea/asyncio/services/sanitize.py,sha256=OybTAUfh_7vYRwb6Cjp4aHZoeHhIlg8caJ_BVrdbA1A,8691
|
17
|
+
pangea/asyncio/services/share.py,sha256=AV9FbA-IMU5TFhcBtUHoXKDQYfOIWAJJZKW6vFohBbs,30816
|
18
|
+
pangea/asyncio/services/vault.py,sha256=bYIUYmWYH8LqycfyDyNoS83BRWMd56t-RMt0B-TU8cQ,78564
|
19
|
+
pangea/audit_logger.py,sha256=DOzL5oyXwaPlsuK6VRHXn_lPdNc4Z7LHGj78RArXs5A,3861
|
20
|
+
pangea/config.py,sha256=Z2WT_UG0qBQzzVzBfloXYFxS21mSg1YXQ36cAVCqrJk,1963
|
21
|
+
pangea/crypto/rsa.py,sha256=mwSiNy571KAGr3F6oEM0CXWkl9D023ch8ldbZZeLj_4,4747
|
22
|
+
pangea/deep_verify.py,sha256=Z8vnrxEiwa3hcTJO6ckZpdSerQHjtgnUUllaWTAMdwI,8637
|
23
|
+
pangea/deprecated.py,sha256=3yiM7WnSOHq55ROtJvhjiTDSmOEIa0B85YPctVfp-WU,597
|
24
|
+
pangea/dump_audit.py,sha256=b89jKV3ewy77WA_AzVMIT04_E1CUxTplj94IURJM7nc,7081
|
25
|
+
pangea/exceptions.py,sha256=EiH7NiNDyN69ZYlVikF8d1tAO3_Do0bKl8dFXghY8t0,5585
|
26
|
+
pangea/file_uploader.py,sha256=bDX9jZTw4h_gwFf9AjtfJYxQchLM2lVMgH93WhgCXsY,1275
|
27
|
+
pangea/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
|
+
pangea/request.py,sha256=g5kQiV_hB4A38FVQnPX5Y64Y-N9LePWnf7QiFbxleOw,25541
|
29
|
+
pangea/response.py,sha256=gE5m82v8BruKwGTMZlT_Krv1YwYAmp6dhpKnVWGZpWg,7597
|
30
|
+
pangea/services/__init__.py,sha256=CzgsgeO-wR4xTn7OUE2DhoIF4HoYQO-uA-yBhjNSF4g,428
|
31
|
+
pangea/services/ai_guard.py,sha256=oHdde43WK6n_Ug_lQAbn-Kq_d4uWxl4vQ862H4xl7U4,16922
|
32
|
+
pangea/services/audit/audit.py,sha256=sBRghIhGscR46CxvWYN7FGHjZyqqtFOB4xH8CwxAsw4,39172
|
33
|
+
pangea/services/audit/exceptions.py,sha256=bhVuYe4ammacOVxwg98CChxvwZf5FKgR2DcgqILOcwc,471
|
34
|
+
pangea/services/audit/models.py,sha256=pE4jtYAn_c5JdPrXBfpKHwpRAqO_DTSCOy-QHkPMajw,15471
|
35
|
+
pangea/services/audit/signing.py,sha256=VsQkstQL1vxIdN2Ghxp4P-FLBpV_BIvDsBCkRAZQpk8,5593
|
36
|
+
pangea/services/audit/util.py,sha256=dna9AKodlJ-C_VAXFebMu2r57Fl1DdRWdb1SyG7VLpA,7651
|
37
|
+
pangea/services/authn/authn.py,sha256=vQUwf9wKKF0o-bcsyiBHky0cZ1UTqfqRCGeWPqNXdck,51206
|
38
|
+
pangea/services/authn/models.py,sha256=Vrez5m_IvBvSN3ujrcsJ388u7rDyQUdMU8p3snqPZck,27218
|
39
|
+
pangea/services/authz.py,sha256=DJx41B5W8UrGP3Ea9t-qB4DSdIi1tvjtDMWONV5gdFg,16191
|
40
|
+
pangea/services/base.py,sha256=ShkR0elPiYPln323x4L4F_hGhjQ5fB0zpGZ9J4SLk4g,3835
|
41
|
+
pangea/services/embargo.py,sha256=3rE3ImjBg2VUXQljGZICedsr14psWdymC2pmmdJF2co,4000
|
42
|
+
pangea/services/file_scan.py,sha256=DzFYJyBrByWZHUQN8ll8OvzsynT8qegMzaEMXJfiP2Q,7934
|
43
|
+
pangea/services/intel.py,sha256=UronzgnzG5ZsmG9Km12Jw_at5bYAXoF-NqgYkH7WWfg,56958
|
44
|
+
pangea/services/prompt_guard.py,sha256=Cq8ume2_YPfHre4iN6FYkyTV7NrdwLXlr_wnilfKotE,3446
|
45
|
+
pangea/services/redact.py,sha256=LJMHPK8hDxPLEVNfRgESAWgL4GBMiJC_pr1wXGb79W8,13225
|
46
|
+
pangea/services/sanitize.py,sha256=0ZlCrEg8imJtRyovy4qZJb1ZAZ8ppIOQTj_nocBJ2CM,13019
|
47
|
+
pangea/services/share/file_format.py,sha256=1svO1ee_aenA9zoO_AaU-Rk5Ulp7kcPOc_KwNoluyQE,2797
|
48
|
+
pangea/services/share/share.py,sha256=IhTilqWcQ2GlsJ7kHHuVbXfNu8jvFtPBnEeM26SNsY8,52403
|
49
|
+
pangea/services/vault/models/asymmetric.py,sha256=F6JMd9BlYJZSjfhJRavqcadmQJAbcd5drezLLQ_ZJEs,5058
|
50
|
+
pangea/services/vault/models/common.py,sha256=Vw0yCLEMymiDrFEkKlmPrYEejUJ_JonFeMEvy7wwZg0,18050
|
51
|
+
pangea/services/vault/models/keys.py,sha256=2Aiwv6UCbTeFykvGYW6eXd7J3hgImGCd8f5dYoHJ2cE,2805
|
52
|
+
pangea/services/vault/models/secret.py,sha256=Rz6cKTRWolbW8WW33-F7RWB29GI_lXiD72helbplvFk,1152
|
53
|
+
pangea/services/vault/models/symmetric.py,sha256=VqJ_C3xj2e4OtnFiPyngX6_sOcXKFf1yhatSF9PmB90,2629
|
54
|
+
pangea/services/vault/vault.py,sha256=dYkaDleCeJIiDVdwMeJXYnvKFICKI8U0uLdfX1BZYr4,77572
|
55
|
+
pangea/tools.py,sha256=JkwVplvx7MCPRSdPhFTLvOl6h7btaUbXEuHgUy0EHBU,6452
|
56
|
+
pangea/utils.py,sha256=QwTODI_D8by86uXeA0MpdhJICvz5baKUtfv1rguQshU,4943
|
57
|
+
pangea/verify_audit.py,sha256=-VepQKHtSqZRqhIKiUtLufa7ywwdMNLN2SuhingMooU,17288
|
58
|
+
pangea_sdk-6.4.0.dist-info/METADATA,sha256=Y9OSZJtTR3Mp40101PKeKGRn3BEm2Tavoy7KE5MaYZo,8015
|
59
|
+
pangea_sdk-6.4.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
60
|
+
pangea_sdk-6.4.0.dist-info/RECORD,,
|