@opentdf/sdk 0.3.1 → 0.3.2-beta.1
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.
- package/dist/cjs/src/access/access-fetch.js +155 -0
- package/dist/cjs/src/access/access-rpc.js +131 -0
- package/dist/cjs/src/access.js +81 -107
- package/dist/cjs/src/auth/oidc.js +2 -2
- package/dist/cjs/src/nanotdf/Client.js +17 -13
- package/dist/cjs/src/nanotdf/models/Header.js +2 -2
- package/dist/cjs/src/nanotdf-crypto/keyAgreement.js +2 -2
- package/dist/cjs/src/opentdf.js +42 -8
- package/dist/cjs/src/platform/authorization/authorization_pb.js +138 -0
- package/dist/cjs/src/platform/buf/validate/validate_pb.js +410 -0
- package/dist/cjs/src/platform/common/common_pb.js +79 -0
- package/dist/cjs/src/platform/entityresolution/entity_resolution_pb.js +49 -0
- package/dist/cjs/src/platform/google/api/annotations_pb.js +30 -0
- package/dist/cjs/src/platform/google/api/http_pb.js +37 -0
- package/dist/cjs/src/platform/kas/kas_pb.js +96 -0
- package/dist/cjs/src/platform/policy/actions/actions_pb.js +70 -0
- package/dist/cjs/src/platform/policy/attributes/attributes_pb.js +240 -0
- package/dist/cjs/src/platform/policy/kasregistry/key_access_server_registry_pb.js +236 -0
- package/dist/cjs/src/platform/policy/keymanagement/key_management_pb.js +70 -0
- package/dist/cjs/src/platform/policy/namespaces/namespaces_pb.js +121 -0
- package/dist/cjs/src/platform/policy/objects_pb.js +395 -0
- package/dist/cjs/src/platform/policy/registeredresources/registered_resources_pb.js +132 -0
- package/dist/cjs/src/platform/policy/resourcemapping/resource_mapping_pb.js +139 -0
- package/dist/cjs/src/platform/policy/selectors_pb.js +67 -0
- package/dist/cjs/src/platform/policy/subjectmapping/subject_mapping_pb.js +146 -0
- package/dist/cjs/src/platform/policy/unsafe/unsafe_pb.js +124 -0
- package/dist/cjs/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +68 -0
- package/dist/cjs/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +307 -0
- package/dist/cjs/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +33 -0
- package/dist/cjs/src/platform.js +124 -0
- package/dist/cjs/src/policy/api.js +21 -38
- package/dist/cjs/src/policy/attributes.js +4 -1
- package/dist/cjs/src/policy/granter.js +9 -9
- package/dist/cjs/src/utils.js +31 -1
- package/dist/cjs/src/version.js +2 -2
- package/dist/cjs/tdf3/src/client/index.js +23 -18
- package/dist/cjs/tdf3/src/tdf.js +5 -5
- package/dist/types/src/access/access-fetch.d.ts +21 -0
- package/dist/types/src/access/access-fetch.d.ts.map +1 -0
- package/dist/types/src/access/access-rpc.d.ts +22 -0
- package/dist/types/src/access/access-rpc.d.ts.map +1 -0
- package/dist/types/src/access.d.ts +19 -11
- package/dist/types/src/access.d.ts.map +1 -1
- package/dist/types/src/nanotdf/Client.d.ts +3 -1
- package/dist/types/src/nanotdf/Client.d.ts.map +1 -1
- package/dist/types/src/opentdf.d.ts +5 -1
- package/dist/types/src/opentdf.d.ts.map +1 -1
- package/dist/types/src/platform/authorization/authorization_pb.d.ts +609 -0
- package/dist/types/src/platform/authorization/authorization_pb.d.ts.map +1 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts +4466 -0
- package/dist/types/src/platform/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/types/src/platform/common/common_pb.d.ts +112 -0
- package/dist/types/src/platform/common/common_pb.d.ts.map +1 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts +199 -0
- package/dist/types/src/platform/entityresolution/entity_resolution_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/annotations_pb.d.ts +14 -0
- package/dist/types/src/platform/google/api/annotations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts +441 -0
- package/dist/types/src/platform/google/api/http_pb.d.ts.map +1 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts +404 -0
- package/dist/types/src/platform/kas/kas_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/actions/actions_pb.d.ts +265 -0
- package/dist/types/src/platform/policy/actions/actions_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts +1022 -0
- package/dist/types/src/platform/policy/attributes/attributes_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +1306 -0
- package/dist/types/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts +269 -0
- package/dist/types/src/platform/policy/keymanagement/key_management_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts +448 -0
- package/dist/types/src/platform/policy/namespaces/namespaces_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/objects_pb.d.ts +1112 -0
- package/dist/types/src/platform/policy/objects_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts +539 -0
- package/dist/types/src/platform/policy/registeredresources/registered_resources_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +558 -0
- package/dist/types/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts +221 -0
- package/dist/types/src/platform/policy/selectors_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +582 -0
- package/dist/types/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts.map +1 -0
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts +513 -0
- package/dist/types/src/platform/policy/unsafe/unsafe_pb.d.ts.map +1 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts +62 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/annotations_pb.d.ts.map +1 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1441 -0
- package/dist/types/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.d.ts.map +1 -0
- package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +59 -0
- package/dist/types/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts.map +1 -0
- package/dist/types/src/platform.d.ts +49 -0
- package/dist/types/src/platform.d.ts.map +1 -0
- package/dist/types/src/policy/api.d.ts +1 -1
- package/dist/types/src/policy/api.d.ts.map +1 -1
- package/dist/types/src/policy/attributes.d.ts +10 -87
- package/dist/types/src/policy/attributes.d.ts.map +1 -1
- package/dist/types/src/policy/granter.d.ts.map +1 -1
- package/dist/types/src/utils.d.ts +10 -0
- package/dist/types/src/utils.d.ts.map +1 -1
- package/dist/types/src/version.d.ts +1 -1
- package/dist/types/tdf3/src/client/index.d.ts +8 -3
- package/dist/types/tdf3/src/client/index.d.ts.map +1 -1
- package/dist/types/tdf3/src/tdf.d.ts.map +1 -1
- package/dist/web/src/access/access-fetch.js +150 -0
- package/dist/web/src/access/access-rpc.js +125 -0
- package/dist/web/src/access.js +82 -110
- package/dist/web/src/auth/oidc.js +2 -2
- package/dist/web/src/nanotdf/Client.js +18 -14
- package/dist/web/src/nanotdf/models/Header.js +2 -2
- package/dist/web/src/nanotdf-crypto/keyAgreement.js +2 -2
- package/dist/web/src/opentdf.js +43 -9
- package/dist/web/src/platform/authorization/authorization_pb.js +135 -0
- package/dist/web/src/platform/buf/validate/validate_pb.js +407 -0
- package/dist/web/src/platform/common/common_pb.js +76 -0
- package/dist/web/src/platform/entityresolution/entity_resolution_pb.js +46 -0
- package/dist/web/src/platform/google/api/annotations_pb.js +27 -0
- package/dist/web/src/platform/google/api/http_pb.js +34 -0
- package/dist/web/src/platform/kas/kas_pb.js +93 -0
- package/dist/web/src/platform/policy/actions/actions_pb.js +67 -0
- package/dist/web/src/platform/policy/attributes/attributes_pb.js +237 -0
- package/dist/web/src/platform/policy/kasregistry/key_access_server_registry_pb.js +233 -0
- package/dist/web/src/platform/policy/keymanagement/key_management_pb.js +67 -0
- package/dist/web/src/platform/policy/namespaces/namespaces_pb.js +118 -0
- package/dist/web/src/platform/policy/objects_pb.js +392 -0
- package/dist/web/src/platform/policy/registeredresources/registered_resources_pb.js +129 -0
- package/dist/web/src/platform/policy/resourcemapping/resource_mapping_pb.js +136 -0
- package/dist/web/src/platform/policy/selectors_pb.js +64 -0
- package/dist/web/src/platform/policy/subjectmapping/subject_mapping_pb.js +143 -0
- package/dist/web/src/platform/policy/unsafe/unsafe_pb.js +121 -0
- package/dist/web/src/platform/protoc-gen-openapiv2/options/annotations_pb.js +65 -0
- package/dist/web/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.js +304 -0
- package/dist/web/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +30 -0
- package/dist/web/src/platform.js +87 -0
- package/dist/web/src/policy/api.js +23 -40
- package/dist/web/src/policy/attributes.js +3 -2
- package/dist/web/src/policy/granter.js +9 -9
- package/dist/web/src/utils.js +29 -1
- package/dist/web/src/version.js +2 -2
- package/dist/web/tdf3/src/client/index.js +25 -20
- package/dist/web/tdf3/src/tdf.js +5 -5
- package/package.json +17 -1
- package/src/access/access-fetch.ts +202 -0
- package/src/access/access-rpc.ts +175 -0
- package/src/access.ts +113 -138
- package/src/auth/oidc.ts +1 -1
- package/src/nanotdf/Client.ts +28 -18
- package/src/nanotdf/models/Header.ts +1 -1
- package/src/nanotdf-crypto/keyAgreement.ts +1 -1
- package/src/opentdf.ts +66 -10
- package/src/platform/authorization/authorization_pb.ts +689 -0
- package/src/platform/buf/validate/validate_pb.ts +4626 -0
- package/src/platform/common/common_pb.ts +135 -0
- package/src/platform/entityresolution/entity_resolution_pb.ts +233 -0
- package/src/platform/google/api/annotations_pb.ts +39 -0
- package/src/platform/google/api/http_pb.ts +474 -0
- package/src/platform/kas/kas_pb.ts +484 -0
- package/src/platform/policy/actions/actions_pb.ts +312 -0
- package/src/platform/policy/attributes/attributes_pb.ts +1181 -0
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.ts +1482 -0
- package/src/platform/policy/keymanagement/key_management_pb.ts +316 -0
- package/src/platform/policy/namespaces/namespaces_pb.ts +528 -0
- package/src/platform/policy/objects_pb.ts +1319 -0
- package/src/platform/policy/registeredresources/registered_resources_pb.ts +623 -0
- package/src/platform/policy/resourcemapping/resource_mapping_pb.ts +658 -0
- package/src/platform/policy/selectors_pb.ts +277 -0
- package/src/platform/policy/subjectmapping/subject_mapping_pb.ts +687 -0
- package/src/platform/policy/unsafe/unsafe_pb.ts +593 -0
- package/src/platform/protoc-gen-openapiv2/options/annotations_pb.ts +83 -0
- package/src/platform/protoc-gen-openapiv2/options/openapiv2_pb.ts +1615 -0
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.ts +78 -0
- package/src/platform.ts +122 -0
- package/src/policy/api.ts +29 -42
- package/src/policy/attributes.ts +12 -108
- package/src/policy/granter.ts +7 -8
- package/src/utils.ts +30 -0
- package/src/version.ts +1 -1
- package/tdf3/src/client/index.ts +40 -19
- package/tdf3/src/tdf.ts +5 -6
- package/src/platform/authorization/authorization_connect.d.ts +0 -44
- package/src/platform/authorization/authorization_connect.js +0 -44
- package/src/platform/authorization/authorization_pb.d.ts +0 -707
- package/src/platform/authorization/authorization_pb.js +0 -372
- package/src/platform/common/common_pb.d.ts +0 -129
- package/src/platform/common/common_pb.js +0 -58
- package/src/platform/entityresolution/entity_resolution_connect.d.ts +0 -35
- package/src/platform/entityresolution/entity_resolution_connect.js +0 -35
- package/src/platform/entityresolution/entity_resolution_pb.d.ts +0 -242
- package/src/platform/entityresolution/entity_resolution_pb.js +0 -139
- package/src/platform/kas/kas_connect.d.ts +0 -59
- package/src/platform/kas/kas_connect.js +0 -59
- package/src/platform/kas/kas_pb.d.ts +0 -200
- package/src/platform/kas/kas_pb.js +0 -84
- package/src/platform/policy/attributes/attributes_connect.d.ts +0 -168
- package/src/platform/policy/attributes/attributes_connect.js +0 -168
- package/src/platform/policy/attributes/attributes_pb.d.ts +0 -929
- package/src/platform/policy/attributes/attributes_pb.js +0 -363
- package/src/platform/policy/kasregistry/key_access_server_registry_connect.d.ts +0 -62
- package/src/platform/policy/kasregistry/key_access_server_registry_connect.js +0 -62
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.d.ts +0 -283
- package/src/platform/policy/kasregistry/key_access_server_registry_pb.js +0 -113
- package/src/platform/policy/namespaces/namespaces_connect.d.ts +0 -62
- package/src/platform/policy/namespaces/namespaces_connect.js +0 -62
- package/src/platform/policy/namespaces/namespaces_pb.d.ts +0 -270
- package/src/platform/policy/namespaces/namespaces_pb.js +0 -110
- package/src/platform/policy/objects_pb.d.ts +0 -725
- package/src/platform/policy/objects_pb.js +0 -288
- package/src/platform/policy/resourcemapping/resource_mapping_connect.d.ts +0 -259
- package/src/platform/policy/resourcemapping/resource_mapping_connect.js +0 -259
- package/src/platform/policy/resourcemapping/resource_mapping_pb.d.ts +0 -314
- package/src/platform/policy/resourcemapping/resource_mapping_pb.js +0 -142
- package/src/platform/policy/selectors_pb.d.ts +0 -269
- package/src/platform/policy/selectors_pb.js +0 -110
- package/src/platform/policy/subjectmapping/subject_mapping_connect.d.ts +0 -118
- package/src/platform/policy/subjectmapping/subject_mapping_connect.js +0 -118
- package/src/platform/policy/subjectmapping/subject_mapping_pb.d.ts +0 -672
- package/src/platform/policy/subjectmapping/subject_mapping_pb.js +0 -260
- package/src/platform/wellknownconfiguration/wellknown_configuration_connect.d.ts +0 -26
- package/src/platform/wellknownconfiguration/wellknown_configuration_connect.js +0 -26
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.d.ts +0 -75
- package/src/platform/wellknownconfiguration/wellknown_configuration_pb.js +0 -35
|
@@ -0,0 +1,1319 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file policy/objects.proto (package policy, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../buf/validate/validate_pb.js";
|
|
8
|
+
import type { Metadata } from "../common/common_pb.js";
|
|
9
|
+
import { file_common_common } from "../common/common_pb.js";
|
|
10
|
+
import { file_google_protobuf_wrappers } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Describes the file policy/objects.proto.
|
|
15
|
+
*/
|
|
16
|
+
export const file_policy_objects: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("ChRwb2xpY3kvb2JqZWN0cy5wcm90bxIGcG9saWN5ImYKEUtleVByb3ZpZGVyQ29uZmlnEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSEwoLY29uZmlnX2pzb24YAyABKAwSIgoIbWV0YWRhdGEYZCABKAsyEC5jb21tb24uTWV0YWRhdGEizQEKCU5hbWVzcGFjZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEgsKA2ZxbhgDIAEoCRIqCgZhY3RpdmUYBCABKAsyGi5nb29nbGUucHJvdG9idWYuQm9vbFZhbHVlEiIKCG1ldGFkYXRhGAUgASgLMhAuY29tbW9uLk1ldGFkYXRhEicKBmdyYW50cxgGIAMoCzIXLnBvbGljeS5LZXlBY2Nlc3NTZXJ2ZXISIAoIa2FzX2tleXMYByADKAsyDi5wb2xpY3kuS2FzS2V5IswCCglBdHRyaWJ1dGUSCgoCaWQYASABKAkSJAoJbmFtZXNwYWNlGAIgASgLMhEucG9saWN5Lk5hbWVzcGFjZRIMCgRuYW1lGAMgASgJEjgKBHJ1bGUYBCABKA4yHS5wb2xpY3kuQXR0cmlidXRlUnVsZVR5cGVFbnVtQgu6SAjIAQGCAQIQARIdCgZ2YWx1ZXMYBSADKAsyDS5wb2xpY3kuVmFsdWUSJwoGZ3Jhbn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JAogS0FTX1BVQkxJQ19LRVlfQUxHX0VOVU1fUlNBXzQwOTYQAhIoCiRLQVNfUFVCTElDX0tFWV9BTEdfRU5VTV9FQ19TRUNQMjU2UjEQBRIoCiRLQVNfUFVCTElDX0tFWV9BTEdfRU5VTV9FQ19TRUNQMzg0UjEQBhIoCiRLQVNfUFVCTElDX0tFWV9BTEdfRU5VTV9FQ19TRUNQNTIxUjEQByqbAQoJQWxnb3JpdGhtEhkKFUFMR09SSVRITV9VTlNQRUNJRklFRBAAEhYKEkFMR09SSVRITV9SU0FfMjA0OBABEhYKEkFMR09SSVRITV9SU0FfNDA5NhACEhUKEUFMR09SSVRITV9FQ19QMjU2EAMSFQoRQUxHT1JJVEhNX0VDX1AzODQQBBIVChFBTEdPUklUSE1fRUNfUDUyMRAFKnMKCUtleVN0YXR1cxIaChZLRVlfU1RBVFVTX1VOU1BFQ0lGSUVEEAASFQoRS0VZX1NUQVRVU19BQ1RJVkUQARIXChNLRVlfU1RBVFVTX0lOQUNUSVZFEAISGgoWS0VZX1NUQVRVU19DT01QUk9NSVNFRBADKkwKB0tleU1vZGUSGAoUS0VZX01PREVfVU5TUEVDSUZJRUQQABISCg5LRVlfTU9ERV9MT0NBTBABEhMKD0tFWV9NT0RFX1JFTU9URRACYgZwcm90bzM", [file_buf_validate_validate, file_common_common, file_google_protobuf_wrappers]);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from message policy.KeyProviderConfig
|
|
21
|
+
*/
|
|
22
|
+
export type KeyProviderConfig = Message<"policy.KeyProviderConfig"> & {
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string id = 1;
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: string name = 2;
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: bytes config_json = 3;
|
|
35
|
+
*/
|
|
36
|
+
configJson: Uint8Array;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Common metadata
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
42
|
+
*/
|
|
43
|
+
metadata?: Metadata;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message policy.KeyProviderConfig.
|
|
48
|
+
* Use `create(KeyProviderConfigSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const KeyProviderConfigSchema: GenMessage<KeyProviderConfig> = /*@__PURE__*/
|
|
51
|
+
messageDesc(file_policy_objects, 0);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from message policy.Namespace
|
|
55
|
+
*/
|
|
56
|
+
export type Namespace = Message<"policy.Namespace"> & {
|
|
57
|
+
/**
|
|
58
|
+
* generated uuid in database
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: string id = 1;
|
|
61
|
+
*/
|
|
62
|
+
id: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* used to partition Attribute Definitions, support by namespace AuthN and
|
|
66
|
+
* enable federation
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: string name = 2;
|
|
69
|
+
*/
|
|
70
|
+
name: string;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: string fqn = 3;
|
|
74
|
+
*/
|
|
75
|
+
fqn: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* active by default until explicitly deactivated
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: google.protobuf.BoolValue active = 4;
|
|
81
|
+
*/
|
|
82
|
+
active?: boolean;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: common.Metadata metadata = 5;
|
|
86
|
+
*/
|
|
87
|
+
metadata?: Metadata;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* KAS grants for the namespace
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: repeated policy.KeyAccessServer grants = 6;
|
|
93
|
+
*/
|
|
94
|
+
grants: KeyAccessServer[];
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Keys for the namespace
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: repeated policy.KasKey kas_keys = 7;
|
|
100
|
+
*/
|
|
101
|
+
kasKeys: KasKey[];
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message policy.Namespace.
|
|
106
|
+
* Use `create(NamespaceSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export const NamespaceSchema: GenMessage<Namespace> = /*@__PURE__*/
|
|
109
|
+
messageDesc(file_policy_objects, 1);
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from message policy.Attribute
|
|
113
|
+
*/
|
|
114
|
+
export type Attribute = Message<"policy.Attribute"> & {
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: string id = 1;
|
|
117
|
+
*/
|
|
118
|
+
id: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* namespace of the attribute
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: policy.Namespace namespace = 2;
|
|
124
|
+
*/
|
|
125
|
+
namespace?: Namespace;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* attribute name
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string name = 3;
|
|
131
|
+
*/
|
|
132
|
+
name: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* attribute rule enum
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: policy.AttributeRuleTypeEnum rule = 4;
|
|
138
|
+
*/
|
|
139
|
+
rule: AttributeRuleTypeEnum;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: repeated policy.Value values = 5;
|
|
143
|
+
*/
|
|
144
|
+
values: Value[];
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Deprecated
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: repeated policy.KeyAccessServer grants = 6;
|
|
150
|
+
*/
|
|
151
|
+
grants: KeyAccessServer[];
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: string fqn = 7;
|
|
155
|
+
*/
|
|
156
|
+
fqn: string;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* active by default until explicitly deactivated
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: google.protobuf.BoolValue active = 8;
|
|
162
|
+
*/
|
|
163
|
+
active?: boolean;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Keys associated with the attribute
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: repeated policy.KasKey kas_keys = 9;
|
|
169
|
+
*/
|
|
170
|
+
kasKeys: KasKey[];
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Common metadata
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
176
|
+
*/
|
|
177
|
+
metadata?: Metadata;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Describes the message policy.Attribute.
|
|
182
|
+
* Use `create(AttributeSchema)` to create a new message.
|
|
183
|
+
*/
|
|
184
|
+
export const AttributeSchema: GenMessage<Attribute> = /*@__PURE__*/
|
|
185
|
+
messageDesc(file_policy_objects, 2);
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from message policy.Value
|
|
189
|
+
*/
|
|
190
|
+
export type Value = Message<"policy.Value"> & {
|
|
191
|
+
/**
|
|
192
|
+
* generated uuid in database
|
|
193
|
+
*
|
|
194
|
+
* @generated from field: string id = 1;
|
|
195
|
+
*/
|
|
196
|
+
id: string;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: policy.Attribute attribute = 2;
|
|
200
|
+
*/
|
|
201
|
+
attribute?: Attribute;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: string value = 3;
|
|
205
|
+
*/
|
|
206
|
+
value: string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Deprecated
|
|
210
|
+
* list of key access servers
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: repeated policy.KeyAccessServer grants = 5;
|
|
213
|
+
*/
|
|
214
|
+
grants: KeyAccessServer[];
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* @generated from field: string fqn = 6;
|
|
218
|
+
*/
|
|
219
|
+
fqn: string;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* active by default until explicitly deactivated
|
|
223
|
+
*
|
|
224
|
+
* @generated from field: google.protobuf.BoolValue active = 7;
|
|
225
|
+
*/
|
|
226
|
+
active?: boolean;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* subject mapping
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: repeated policy.SubjectMapping subject_mappings = 8;
|
|
232
|
+
*/
|
|
233
|
+
subjectMappings: SubjectMapping[];
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: repeated policy.KasKey kas_keys = 9;
|
|
237
|
+
*/
|
|
238
|
+
kasKeys: KasKey[];
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Common metadata
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
244
|
+
*/
|
|
245
|
+
metadata?: Metadata;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Describes the message policy.Value.
|
|
250
|
+
* Use `create(ValueSchema)` to create a new message.
|
|
251
|
+
*/
|
|
252
|
+
export const ValueSchema: GenMessage<Value> = /*@__PURE__*/
|
|
253
|
+
messageDesc(file_policy_objects, 3);
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* An action an entity can take
|
|
257
|
+
*
|
|
258
|
+
* @generated from message policy.Action
|
|
259
|
+
*/
|
|
260
|
+
export type Action = Message<"policy.Action"> & {
|
|
261
|
+
/**
|
|
262
|
+
* Generated uuid in database
|
|
263
|
+
*
|
|
264
|
+
* @generated from field: string id = 3;
|
|
265
|
+
*/
|
|
266
|
+
id: string;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Deprecated
|
|
270
|
+
*
|
|
271
|
+
* @generated from oneof policy.Action.value
|
|
272
|
+
*/
|
|
273
|
+
value: {
|
|
274
|
+
/**
|
|
275
|
+
* Deprecated
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: policy.Action.StandardAction standard = 1;
|
|
278
|
+
*/
|
|
279
|
+
value: Action_StandardAction;
|
|
280
|
+
case: "standard";
|
|
281
|
+
} | {
|
|
282
|
+
/**
|
|
283
|
+
* Deprecated
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: string custom = 2;
|
|
286
|
+
*/
|
|
287
|
+
value: string;
|
|
288
|
+
case: "custom";
|
|
289
|
+
} | { case: undefined; value?: undefined };
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @generated from field: string name = 4;
|
|
293
|
+
*/
|
|
294
|
+
name: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
298
|
+
*/
|
|
299
|
+
metadata?: Metadata;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Describes the message policy.Action.
|
|
304
|
+
* Use `create(ActionSchema)` to create a new message.
|
|
305
|
+
*/
|
|
306
|
+
export const ActionSchema: GenMessage<Action> = /*@__PURE__*/
|
|
307
|
+
messageDesc(file_policy_objects, 4);
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* @generated from enum policy.Action.StandardAction
|
|
311
|
+
*/
|
|
312
|
+
export enum Action_StandardAction {
|
|
313
|
+
/**
|
|
314
|
+
* @generated from enum value: STANDARD_ACTION_UNSPECIFIED = 0;
|
|
315
|
+
*/
|
|
316
|
+
UNSPECIFIED = 0,
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Deprecated
|
|
320
|
+
* Migrate to 'read' action name
|
|
321
|
+
*
|
|
322
|
+
* @generated from enum value: STANDARD_ACTION_DECRYPT = 1;
|
|
323
|
+
*/
|
|
324
|
+
DECRYPT = 1,
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Deprecated
|
|
328
|
+
* Migrate to 'create' action name
|
|
329
|
+
*
|
|
330
|
+
* @generated from enum value: STANDARD_ACTION_TRANSMIT = 2;
|
|
331
|
+
*/
|
|
332
|
+
TRANSMIT = 2,
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Describes the enum policy.Action.StandardAction.
|
|
337
|
+
*/
|
|
338
|
+
export const Action_StandardActionSchema: GenEnum<Action_StandardAction> = /*@__PURE__*/
|
|
339
|
+
enumDesc(file_policy_objects, 4, 0);
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* Subject Mapping: A Policy assigning Subject Set(s) to a permitted attribute
|
|
344
|
+
* value + action(s) combination
|
|
345
|
+
*
|
|
346
|
+
* @generated from message policy.SubjectMapping
|
|
347
|
+
*/
|
|
348
|
+
export type SubjectMapping = Message<"policy.SubjectMapping"> & {
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: string id = 1;
|
|
351
|
+
*/
|
|
352
|
+
id: string;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* the Attribute Value mapped to; aka: "The Entity Entitlement Attribute"
|
|
356
|
+
*
|
|
357
|
+
* @generated from field: policy.Value attribute_value = 2;
|
|
358
|
+
*/
|
|
359
|
+
attributeValue?: Value;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* the reusable SubjectConditionSet mapped to the given Attribute Value
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: policy.SubjectConditionSet subject_condition_set = 3;
|
|
365
|
+
*/
|
|
366
|
+
subjectConditionSet?: SubjectConditionSet;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* The actions permitted by subjects in this mapping
|
|
370
|
+
*
|
|
371
|
+
* @generated from field: repeated policy.Action actions = 4;
|
|
372
|
+
*/
|
|
373
|
+
actions: Action[];
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
377
|
+
*/
|
|
378
|
+
metadata?: Metadata;
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Describes the message policy.SubjectMapping.
|
|
383
|
+
* Use `create(SubjectMappingSchema)` to create a new message.
|
|
384
|
+
*/
|
|
385
|
+
export const SubjectMappingSchema: GenMessage<SubjectMapping> = /*@__PURE__*/
|
|
386
|
+
messageDesc(file_policy_objects, 5);
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* *
|
|
390
|
+
* A Condition defines a rule of <the value at the flattened 'selector value'
|
|
391
|
+
* location> <operator> <subject external values>
|
|
392
|
+
*
|
|
393
|
+
* @generated from message policy.Condition
|
|
394
|
+
*/
|
|
395
|
+
export type Condition = Message<"policy.Condition"> & {
|
|
396
|
+
/**
|
|
397
|
+
* a selector for a field value on a flattened Entity Representation (such as
|
|
398
|
+
* from idP/LDAP)
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: string subject_external_selector_value = 1;
|
|
401
|
+
*/
|
|
402
|
+
subjectExternalSelectorValue: string;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* the evaluation operator of relation
|
|
406
|
+
*
|
|
407
|
+
* @generated from field: policy.SubjectMappingOperatorEnum operator = 2;
|
|
408
|
+
*/
|
|
409
|
+
operator: SubjectMappingOperatorEnum;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* list of comparison values for the result of applying the
|
|
413
|
+
* subject_external_selector_value on a flattened Entity Representation
|
|
414
|
+
* (Subject), evaluated by the operator
|
|
415
|
+
*
|
|
416
|
+
* @generated from field: repeated string subject_external_values = 3;
|
|
417
|
+
*/
|
|
418
|
+
subjectExternalValues: string[];
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Describes the message policy.Condition.
|
|
423
|
+
* Use `create(ConditionSchema)` to create a new message.
|
|
424
|
+
*/
|
|
425
|
+
export const ConditionSchema: GenMessage<Condition> = /*@__PURE__*/
|
|
426
|
+
messageDesc(file_policy_objects, 6);
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* A collection of Conditions evaluated by the boolean_operator provided
|
|
430
|
+
*
|
|
431
|
+
* @generated from message policy.ConditionGroup
|
|
432
|
+
*/
|
|
433
|
+
export type ConditionGroup = Message<"policy.ConditionGroup"> & {
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: repeated policy.Condition conditions = 1;
|
|
436
|
+
*/
|
|
437
|
+
conditions: Condition[];
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* the boolean evaluation type across the conditions
|
|
441
|
+
*
|
|
442
|
+
* @generated from field: policy.ConditionBooleanTypeEnum boolean_operator = 2;
|
|
443
|
+
*/
|
|
444
|
+
booleanOperator: ConditionBooleanTypeEnum;
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Describes the message policy.ConditionGroup.
|
|
449
|
+
* Use `create(ConditionGroupSchema)` to create a new message.
|
|
450
|
+
*/
|
|
451
|
+
export const ConditionGroupSchema: GenMessage<ConditionGroup> = /*@__PURE__*/
|
|
452
|
+
messageDesc(file_policy_objects, 7);
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* A collection of Condition Groups
|
|
456
|
+
*
|
|
457
|
+
* @generated from message policy.SubjectSet
|
|
458
|
+
*/
|
|
459
|
+
export type SubjectSet = Message<"policy.SubjectSet"> & {
|
|
460
|
+
/**
|
|
461
|
+
* multiple Condition Groups are evaluated with AND logic
|
|
462
|
+
*
|
|
463
|
+
* @generated from field: repeated policy.ConditionGroup condition_groups = 1;
|
|
464
|
+
*/
|
|
465
|
+
conditionGroups: ConditionGroup[];
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Describes the message policy.SubjectSet.
|
|
470
|
+
* Use `create(SubjectSetSchema)` to create a new message.
|
|
471
|
+
*/
|
|
472
|
+
export const SubjectSetSchema: GenMessage<SubjectSet> = /*@__PURE__*/
|
|
473
|
+
messageDesc(file_policy_objects, 8);
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
*
|
|
477
|
+
* A container for multiple Subject Sets, each containing Condition Groups, each
|
|
478
|
+
* containing Conditions. Multiple Subject Sets in a SubjectConditionSet are
|
|
479
|
+
* evaluated with AND logic. As each Subject Mapping has only one Attribute
|
|
480
|
+
* Value, the SubjectConditionSet is reusable across multiple Subject Mappings /
|
|
481
|
+
* Attribute Values and is an independent unit.
|
|
482
|
+
*
|
|
483
|
+
* @generated from message policy.SubjectConditionSet
|
|
484
|
+
*/
|
|
485
|
+
export type SubjectConditionSet = Message<"policy.SubjectConditionSet"> & {
|
|
486
|
+
/**
|
|
487
|
+
* @generated from field: string id = 1;
|
|
488
|
+
*/
|
|
489
|
+
id: string;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* @generated from field: repeated policy.SubjectSet subject_sets = 3;
|
|
493
|
+
*/
|
|
494
|
+
subjectSets: SubjectSet[];
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
498
|
+
*/
|
|
499
|
+
metadata?: Metadata;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Describes the message policy.SubjectConditionSet.
|
|
504
|
+
* Use `create(SubjectConditionSetSchema)` to create a new message.
|
|
505
|
+
*/
|
|
506
|
+
export const SubjectConditionSetSchema: GenMessage<SubjectConditionSet> = /*@__PURE__*/
|
|
507
|
+
messageDesc(file_policy_objects, 9);
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
*
|
|
512
|
+
* A property of a Subject/Entity as its selector expression -> value result
|
|
513
|
+
* pair. This would mirror external user attributes retrieved from an
|
|
514
|
+
* authoritative source such as an IDP (Identity Provider) or User Store.
|
|
515
|
+
* Examples include such ADFS/LDAP, OKTA, etc. For now, a valid property must
|
|
516
|
+
* contain both a selector expression & a resulting value.
|
|
517
|
+
*
|
|
518
|
+
* The external_selector_value is a specifier to select a value from a flattened
|
|
519
|
+
* external representation of an Entity (such as from idP/LDAP), and the
|
|
520
|
+
* external_value is the value selected by the external_selector_value on that
|
|
521
|
+
* Entity Representation (Subject Context). These mirror the Condition.
|
|
522
|
+
*
|
|
523
|
+
* @generated from message policy.SubjectProperty
|
|
524
|
+
*/
|
|
525
|
+
export type SubjectProperty = Message<"policy.SubjectProperty"> & {
|
|
526
|
+
/**
|
|
527
|
+
* @generated from field: string external_selector_value = 1;
|
|
528
|
+
*/
|
|
529
|
+
externalSelectorValue: string;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* @generated from field: string external_value = 2;
|
|
533
|
+
*/
|
|
534
|
+
externalValue: string;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Describes the message policy.SubjectProperty.
|
|
539
|
+
* Use `create(SubjectPropertySchema)` to create a new message.
|
|
540
|
+
*/
|
|
541
|
+
export const SubjectPropertySchema: GenMessage<SubjectProperty> = /*@__PURE__*/
|
|
542
|
+
messageDesc(file_policy_objects, 10);
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* Resource Mapping Groups are namespaced collections of Resource Mappings
|
|
547
|
+
* associated under a common group name.
|
|
548
|
+
*
|
|
549
|
+
* @generated from message policy.ResourceMappingGroup
|
|
550
|
+
*/
|
|
551
|
+
export type ResourceMappingGroup = Message<"policy.ResourceMappingGroup"> & {
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: string id = 1;
|
|
554
|
+
*/
|
|
555
|
+
id: string;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* the namespace containing the group of resource mappings
|
|
559
|
+
*
|
|
560
|
+
* @generated from field: string namespace_id = 2;
|
|
561
|
+
*/
|
|
562
|
+
namespaceId: string;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* the common name for the group of resource mappings, which must be unique
|
|
566
|
+
* per namespace
|
|
567
|
+
*
|
|
568
|
+
* @generated from field: string name = 3;
|
|
569
|
+
*/
|
|
570
|
+
name: string;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Common metadata
|
|
574
|
+
*
|
|
575
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
576
|
+
*/
|
|
577
|
+
metadata?: Metadata;
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Describes the message policy.ResourceMappingGroup.
|
|
582
|
+
* Use `create(ResourceMappingGroupSchema)` to create a new message.
|
|
583
|
+
*/
|
|
584
|
+
export const ResourceMappingGroupSchema: GenMessage<ResourceMappingGroup> = /*@__PURE__*/
|
|
585
|
+
messageDesc(file_policy_objects, 11);
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
*
|
|
589
|
+
* Resource Mappings (aka Access Control Resource Encodings aka ACRE) are
|
|
590
|
+
* structures supporting the mapping of Resources and Attribute Values
|
|
591
|
+
*
|
|
592
|
+
* @generated from message policy.ResourceMapping
|
|
593
|
+
*/
|
|
594
|
+
export type ResourceMapping = Message<"policy.ResourceMapping"> & {
|
|
595
|
+
/**
|
|
596
|
+
* @generated from field: string id = 1;
|
|
597
|
+
*/
|
|
598
|
+
id: string;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* @generated from field: common.Metadata metadata = 2;
|
|
602
|
+
*/
|
|
603
|
+
metadata?: Metadata;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* @generated from field: policy.Value attribute_value = 3;
|
|
607
|
+
*/
|
|
608
|
+
attributeValue?: Value;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* @generated from field: repeated string terms = 4;
|
|
612
|
+
*/
|
|
613
|
+
terms: string[];
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @generated from field: policy.ResourceMappingGroup group = 5;
|
|
617
|
+
*/
|
|
618
|
+
group?: ResourceMappingGroup;
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Describes the message policy.ResourceMapping.
|
|
623
|
+
* Use `create(ResourceMappingSchema)` to create a new message.
|
|
624
|
+
*/
|
|
625
|
+
export const ResourceMappingSchema: GenMessage<ResourceMapping> = /*@__PURE__*/
|
|
626
|
+
messageDesc(file_policy_objects, 12);
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
*
|
|
630
|
+
* Key Access Server Registry
|
|
631
|
+
*
|
|
632
|
+
* @generated from message policy.KeyAccessServer
|
|
633
|
+
*/
|
|
634
|
+
export type KeyAccessServer = Message<"policy.KeyAccessServer"> & {
|
|
635
|
+
/**
|
|
636
|
+
* @generated from field: string id = 1;
|
|
637
|
+
*/
|
|
638
|
+
id: string;
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Address of a KAS instance
|
|
642
|
+
*
|
|
643
|
+
* @generated from field: string uri = 2;
|
|
644
|
+
*/
|
|
645
|
+
uri: string;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Deprecated
|
|
649
|
+
*
|
|
650
|
+
* @generated from field: policy.PublicKey public_key = 3;
|
|
651
|
+
*/
|
|
652
|
+
publicKey?: PublicKey;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* The source of the KAS: (INTERNAL, EXTERNAL)
|
|
656
|
+
*
|
|
657
|
+
* @generated from field: policy.SourceType source_type = 4;
|
|
658
|
+
*/
|
|
659
|
+
sourceType: SourceType;
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Kas keys associated with this KAS
|
|
663
|
+
*
|
|
664
|
+
* @generated from field: repeated policy.KasKey kas_keys = 5;
|
|
665
|
+
*/
|
|
666
|
+
kasKeys: KasKey[];
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Optional
|
|
670
|
+
* Unique name of the KAS instance
|
|
671
|
+
*
|
|
672
|
+
* @generated from field: string name = 20;
|
|
673
|
+
*/
|
|
674
|
+
name: string;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Common metadata
|
|
678
|
+
*
|
|
679
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
680
|
+
*/
|
|
681
|
+
metadata?: Metadata;
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Describes the message policy.KeyAccessServer.
|
|
686
|
+
* Use `create(KeyAccessServerSchema)` to create a new message.
|
|
687
|
+
*/
|
|
688
|
+
export const KeyAccessServerSchema: GenMessage<KeyAccessServer> = /*@__PURE__*/
|
|
689
|
+
messageDesc(file_policy_objects, 13);
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* @generated from message policy.Key
|
|
693
|
+
*/
|
|
694
|
+
export type Key = Message<"policy.Key"> & {
|
|
695
|
+
/**
|
|
696
|
+
* the database record ID, not the key ID (`kid`)
|
|
697
|
+
*
|
|
698
|
+
* @generated from field: string id = 1;
|
|
699
|
+
*/
|
|
700
|
+
id: string;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: google.protobuf.BoolValue is_active = 2;
|
|
704
|
+
*/
|
|
705
|
+
isActive?: boolean;
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* @generated from field: google.protobuf.BoolValue was_mapped = 3;
|
|
709
|
+
*/
|
|
710
|
+
wasMapped?: boolean;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* @generated from field: policy.KasPublicKey public_key = 4;
|
|
714
|
+
*/
|
|
715
|
+
publicKey?: KasPublicKey;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* @generated from field: policy.KeyAccessServer kas = 5;
|
|
719
|
+
*/
|
|
720
|
+
kas?: KeyAccessServer;
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Common metadata
|
|
724
|
+
*
|
|
725
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
726
|
+
*/
|
|
727
|
+
metadata?: Metadata;
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Describes the message policy.Key.
|
|
732
|
+
* Use `create(KeySchema)` to create a new message.
|
|
733
|
+
*/
|
|
734
|
+
export const KeySchema: GenMessage<Key> = /*@__PURE__*/
|
|
735
|
+
messageDesc(file_policy_objects, 14);
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* Deprecated
|
|
739
|
+
* A KAS public key and some associated metadata for further identifcation
|
|
740
|
+
*
|
|
741
|
+
* @generated from message policy.KasPublicKey
|
|
742
|
+
*/
|
|
743
|
+
export type KasPublicKey = Message<"policy.KasPublicKey"> & {
|
|
744
|
+
/**
|
|
745
|
+
* x509 ASN.1 content in PEM envelope, usually
|
|
746
|
+
*
|
|
747
|
+
* @generated from field: string pem = 1;
|
|
748
|
+
*/
|
|
749
|
+
pem: string;
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* A unique string identifier for this key
|
|
753
|
+
*
|
|
754
|
+
* @generated from field: string kid = 2;
|
|
755
|
+
*/
|
|
756
|
+
kid: string;
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* A known algorithm type with any additional parameters encoded.
|
|
760
|
+
* To start, these may be `rsa:2048` for encrypting ZTDF files and
|
|
761
|
+
* `ec:secp256r1` for nanoTDF, but more formats may be added as needed.
|
|
762
|
+
*
|
|
763
|
+
* @generated from field: policy.KasPublicKeyAlgEnum alg = 3;
|
|
764
|
+
*/
|
|
765
|
+
alg: KasPublicKeyAlgEnum;
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* Describes the message policy.KasPublicKey.
|
|
770
|
+
* Use `create(KasPublicKeySchema)` to create a new message.
|
|
771
|
+
*/
|
|
772
|
+
export const KasPublicKeySchema: GenMessage<KasPublicKey> = /*@__PURE__*/
|
|
773
|
+
messageDesc(file_policy_objects, 15);
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* Deprecated
|
|
777
|
+
* A list of known KAS public keys
|
|
778
|
+
*
|
|
779
|
+
* @generated from message policy.KasPublicKeySet
|
|
780
|
+
*/
|
|
781
|
+
export type KasPublicKeySet = Message<"policy.KasPublicKeySet"> & {
|
|
782
|
+
/**
|
|
783
|
+
* @generated from field: repeated policy.KasPublicKey keys = 1;
|
|
784
|
+
*/
|
|
785
|
+
keys: KasPublicKey[];
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Describes the message policy.KasPublicKeySet.
|
|
790
|
+
* Use `create(KasPublicKeySetSchema)` to create a new message.
|
|
791
|
+
*/
|
|
792
|
+
export const KasPublicKeySetSchema: GenMessage<KasPublicKeySet> = /*@__PURE__*/
|
|
793
|
+
messageDesc(file_policy_objects, 16);
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Deprecated
|
|
797
|
+
*
|
|
798
|
+
* @generated from message policy.PublicKey
|
|
799
|
+
*/
|
|
800
|
+
export type PublicKey = Message<"policy.PublicKey"> & {
|
|
801
|
+
/**
|
|
802
|
+
* @generated from oneof policy.PublicKey.public_key
|
|
803
|
+
*/
|
|
804
|
+
publicKey: {
|
|
805
|
+
/**
|
|
806
|
+
* kas public key url - optional since can also be retrieved via public key
|
|
807
|
+
*
|
|
808
|
+
* @generated from field: string remote = 1;
|
|
809
|
+
*/
|
|
810
|
+
value: string;
|
|
811
|
+
case: "remote";
|
|
812
|
+
} | {
|
|
813
|
+
/**
|
|
814
|
+
* public key with additional information. Current preferred version
|
|
815
|
+
*
|
|
816
|
+
* @generated from field: policy.KasPublicKeySet cached = 3;
|
|
817
|
+
*/
|
|
818
|
+
value: KasPublicKeySet;
|
|
819
|
+
case: "cached";
|
|
820
|
+
} | { case: undefined; value?: undefined };
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Describes the message policy.PublicKey.
|
|
825
|
+
* Use `create(PublicKeySchema)` to create a new message.
|
|
826
|
+
*/
|
|
827
|
+
export const PublicKeySchema: GenMessage<PublicKey> = /*@__PURE__*/
|
|
828
|
+
messageDesc(file_policy_objects, 17);
|
|
829
|
+
|
|
830
|
+
/**
|
|
831
|
+
* @generated from message policy.RegisteredResource
|
|
832
|
+
*/
|
|
833
|
+
export type RegisteredResource = Message<"policy.RegisteredResource"> & {
|
|
834
|
+
/**
|
|
835
|
+
* @generated from field: string id = 1;
|
|
836
|
+
*/
|
|
837
|
+
id: string;
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* @generated from field: string name = 2;
|
|
841
|
+
*/
|
|
842
|
+
name: string;
|
|
843
|
+
|
|
844
|
+
/**
|
|
845
|
+
* @generated from field: repeated policy.RegisteredResourceValue values = 3;
|
|
846
|
+
*/
|
|
847
|
+
values: RegisteredResourceValue[];
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* Common metadata
|
|
851
|
+
*
|
|
852
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
853
|
+
*/
|
|
854
|
+
metadata?: Metadata;
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Describes the message policy.RegisteredResource.
|
|
859
|
+
* Use `create(RegisteredResourceSchema)` to create a new message.
|
|
860
|
+
*/
|
|
861
|
+
export const RegisteredResourceSchema: GenMessage<RegisteredResource> = /*@__PURE__*/
|
|
862
|
+
messageDesc(file_policy_objects, 18);
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* @generated from message policy.RegisteredResourceValue
|
|
866
|
+
*/
|
|
867
|
+
export type RegisteredResourceValue = Message<"policy.RegisteredResourceValue"> & {
|
|
868
|
+
/**
|
|
869
|
+
* @generated from field: string id = 1;
|
|
870
|
+
*/
|
|
871
|
+
id: string;
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* @generated from field: string value = 2;
|
|
875
|
+
*/
|
|
876
|
+
value: string;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* @generated from field: policy.RegisteredResource resource = 3;
|
|
880
|
+
*/
|
|
881
|
+
resource?: RegisteredResource;
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Common metadata
|
|
885
|
+
*
|
|
886
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
887
|
+
*/
|
|
888
|
+
metadata?: Metadata;
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Describes the message policy.RegisteredResourceValue.
|
|
893
|
+
* Use `create(RegisteredResourceValueSchema)` to create a new message.
|
|
894
|
+
*/
|
|
895
|
+
export const RegisteredResourceValueSchema: GenMessage<RegisteredResourceValue> = /*@__PURE__*/
|
|
896
|
+
messageDesc(file_policy_objects, 19);
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* @generated from message policy.KasKey
|
|
900
|
+
*/
|
|
901
|
+
export type KasKey = Message<"policy.KasKey"> & {
|
|
902
|
+
/**
|
|
903
|
+
* @generated from field: string kas_id = 1;
|
|
904
|
+
*/
|
|
905
|
+
kasId: string;
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* @generated from field: policy.AsymmetricKey key = 2;
|
|
909
|
+
*/
|
|
910
|
+
key?: AsymmetricKey;
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Describes the message policy.KasKey.
|
|
915
|
+
* Use `create(KasKeySchema)` to create a new message.
|
|
916
|
+
*/
|
|
917
|
+
export const KasKeySchema: GenMessage<KasKey> = /*@__PURE__*/
|
|
918
|
+
messageDesc(file_policy_objects, 20);
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @generated from message policy.AsymmetricKey
|
|
922
|
+
*/
|
|
923
|
+
export type AsymmetricKey = Message<"policy.AsymmetricKey"> & {
|
|
924
|
+
/**
|
|
925
|
+
* @generated from field: string id = 1;
|
|
926
|
+
*/
|
|
927
|
+
id: string;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @generated from field: string key_id = 2;
|
|
931
|
+
*/
|
|
932
|
+
keyId: string;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* @generated from field: policy.Algorithm key_algorithm = 3;
|
|
936
|
+
*/
|
|
937
|
+
keyAlgorithm: Algorithm;
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* @generated from field: policy.KeyStatus key_status = 4;
|
|
941
|
+
*/
|
|
942
|
+
keyStatus: KeyStatus;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Specifies how the key is managed (local or remote)
|
|
946
|
+
*
|
|
947
|
+
* @generated from field: policy.KeyMode key_mode = 5;
|
|
948
|
+
*/
|
|
949
|
+
keyMode: KeyMode;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Specific structure based on key provider implementation
|
|
953
|
+
*
|
|
954
|
+
* @generated from field: bytes public_key_ctx = 6;
|
|
955
|
+
*/
|
|
956
|
+
publicKeyCtx: Uint8Array;
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* Specific structure based on key provider implementation
|
|
960
|
+
*
|
|
961
|
+
* @generated from field: bytes private_key_ctx = 7;
|
|
962
|
+
*/
|
|
963
|
+
privateKeyCtx: Uint8Array;
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Configuration for the key provider
|
|
967
|
+
*
|
|
968
|
+
* @generated from field: policy.KeyProviderConfig provider_config = 8;
|
|
969
|
+
*/
|
|
970
|
+
providerConfig?: KeyProviderConfig;
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Common metadata fields
|
|
974
|
+
*
|
|
975
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
976
|
+
*/
|
|
977
|
+
metadata?: Metadata;
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Describes the message policy.AsymmetricKey.
|
|
982
|
+
* Use `create(AsymmetricKeySchema)` to create a new message.
|
|
983
|
+
*/
|
|
984
|
+
export const AsymmetricKeySchema: GenMessage<AsymmetricKey> = /*@__PURE__*/
|
|
985
|
+
messageDesc(file_policy_objects, 21);
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* @generated from message policy.SymmetricKey
|
|
989
|
+
*/
|
|
990
|
+
export type SymmetricKey = Message<"policy.SymmetricKey"> & {
|
|
991
|
+
/**
|
|
992
|
+
* @generated from field: string id = 1;
|
|
993
|
+
*/
|
|
994
|
+
id: string;
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* @generated from field: string key_id = 2;
|
|
998
|
+
*/
|
|
999
|
+
keyId: string;
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* @generated from field: policy.KeyStatus key_status = 3;
|
|
1003
|
+
*/
|
|
1004
|
+
keyStatus: KeyStatus;
|
|
1005
|
+
|
|
1006
|
+
/**
|
|
1007
|
+
* Specifies how the key is managed (local or remote)
|
|
1008
|
+
*
|
|
1009
|
+
* @generated from field: policy.KeyMode key_mode = 4;
|
|
1010
|
+
*/
|
|
1011
|
+
keyMode: KeyMode;
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* Specific structure based on key provider implementation
|
|
1015
|
+
*
|
|
1016
|
+
* @generated from field: bytes key_ctx = 5;
|
|
1017
|
+
*/
|
|
1018
|
+
keyCtx: Uint8Array;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Configuration for the key provider
|
|
1022
|
+
*
|
|
1023
|
+
* @generated from field: policy.KeyProviderConfig provider_config = 6;
|
|
1024
|
+
*/
|
|
1025
|
+
providerConfig?: KeyProviderConfig;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Common metadata fields
|
|
1029
|
+
*
|
|
1030
|
+
* @generated from field: common.Metadata metadata = 100;
|
|
1031
|
+
*/
|
|
1032
|
+
metadata?: Metadata;
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Describes the message policy.SymmetricKey.
|
|
1037
|
+
* Use `create(SymmetricKeySchema)` to create a new message.
|
|
1038
|
+
*/
|
|
1039
|
+
export const SymmetricKeySchema: GenMessage<SymmetricKey> = /*@__PURE__*/
|
|
1040
|
+
messageDesc(file_policy_objects, 22);
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* @generated from enum policy.AttributeRuleTypeEnum
|
|
1044
|
+
*/
|
|
1045
|
+
export enum AttributeRuleTypeEnum {
|
|
1046
|
+
/**
|
|
1047
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_UNSPECIFIED = 0;
|
|
1048
|
+
*/
|
|
1049
|
+
UNSPECIFIED = 0,
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_ALL_OF = 1;
|
|
1053
|
+
*/
|
|
1054
|
+
ALL_OF = 1,
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_ANY_OF = 2;
|
|
1058
|
+
*/
|
|
1059
|
+
ANY_OF = 2,
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* @generated from enum value: ATTRIBUTE_RULE_TYPE_ENUM_HIERARCHY = 3;
|
|
1063
|
+
*/
|
|
1064
|
+
HIERARCHY = 3,
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* Describes the enum policy.AttributeRuleTypeEnum.
|
|
1069
|
+
*/
|
|
1070
|
+
export const AttributeRuleTypeEnumSchema: GenEnum<AttributeRuleTypeEnum> = /*@__PURE__*/
|
|
1071
|
+
enumDesc(file_policy_objects, 0);
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* @generated from enum policy.SubjectMappingOperatorEnum
|
|
1075
|
+
*/
|
|
1076
|
+
export enum SubjectMappingOperatorEnum {
|
|
1077
|
+
/**
|
|
1078
|
+
* @generated from enum value: SUBJECT_MAPPING_OPERATOR_ENUM_UNSPECIFIED = 0;
|
|
1079
|
+
*/
|
|
1080
|
+
UNSPECIFIED = 0,
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* operator that returns true if a value in a list matches the string
|
|
1084
|
+
*
|
|
1085
|
+
* @generated from enum value: SUBJECT_MAPPING_OPERATOR_ENUM_IN = 1;
|
|
1086
|
+
*/
|
|
1087
|
+
IN = 1,
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* operator that returns true if a value is not in a list that is matched by
|
|
1091
|
+
* string
|
|
1092
|
+
*
|
|
1093
|
+
* @generated from enum value: SUBJECT_MAPPING_OPERATOR_ENUM_NOT_IN = 2;
|
|
1094
|
+
*/
|
|
1095
|
+
NOT_IN = 2,
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* operator that returns true if a value in a list contains the substring
|
|
1099
|
+
*
|
|
1100
|
+
* @generated from enum value: SUBJECT_MAPPING_OPERATOR_ENUM_IN_CONTAINS = 3;
|
|
1101
|
+
*/
|
|
1102
|
+
IN_CONTAINS = 3,
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* Describes the enum policy.SubjectMappingOperatorEnum.
|
|
1107
|
+
*/
|
|
1108
|
+
export const SubjectMappingOperatorEnumSchema: GenEnum<SubjectMappingOperatorEnum> = /*@__PURE__*/
|
|
1109
|
+
enumDesc(file_policy_objects, 1);
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* @generated from enum policy.ConditionBooleanTypeEnum
|
|
1113
|
+
*/
|
|
1114
|
+
export enum ConditionBooleanTypeEnum {
|
|
1115
|
+
/**
|
|
1116
|
+
* @generated from enum value: CONDITION_BOOLEAN_TYPE_ENUM_UNSPECIFIED = 0;
|
|
1117
|
+
*/
|
|
1118
|
+
UNSPECIFIED = 0,
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* @generated from enum value: CONDITION_BOOLEAN_TYPE_ENUM_AND = 1;
|
|
1122
|
+
*/
|
|
1123
|
+
AND = 1,
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* @generated from enum value: CONDITION_BOOLEAN_TYPE_ENUM_OR = 2;
|
|
1127
|
+
*/
|
|
1128
|
+
OR = 2,
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Describes the enum policy.ConditionBooleanTypeEnum.
|
|
1133
|
+
*/
|
|
1134
|
+
export const ConditionBooleanTypeEnumSchema: GenEnum<ConditionBooleanTypeEnum> = /*@__PURE__*/
|
|
1135
|
+
enumDesc(file_policy_objects, 2);
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Describes whether this kas is managed by the organization or if they imported
|
|
1139
|
+
* the kas information from an external party. These two modes are necessary in order
|
|
1140
|
+
* to encrypt a tdf dek with an external parties kas public key.
|
|
1141
|
+
*
|
|
1142
|
+
* @generated from enum policy.SourceType
|
|
1143
|
+
*/
|
|
1144
|
+
export enum SourceType {
|
|
1145
|
+
/**
|
|
1146
|
+
* @generated from enum value: SOURCE_TYPE_UNSPECIFIED = 0;
|
|
1147
|
+
*/
|
|
1148
|
+
UNSPECIFIED = 0,
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* The kas is managed by the organization.
|
|
1152
|
+
*
|
|
1153
|
+
* @generated from enum value: SOURCE_TYPE_INTERNAL = 1;
|
|
1154
|
+
*/
|
|
1155
|
+
INTERNAL = 1,
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* The kas is managed by an external party.
|
|
1159
|
+
*
|
|
1160
|
+
* @generated from enum value: SOURCE_TYPE_EXTERNAL = 2;
|
|
1161
|
+
*/
|
|
1162
|
+
EXTERNAL = 2,
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Describes the enum policy.SourceType.
|
|
1167
|
+
*/
|
|
1168
|
+
export const SourceTypeSchema: GenEnum<SourceType> = /*@__PURE__*/
|
|
1169
|
+
enumDesc(file_policy_objects, 3);
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* @generated from enum policy.KasPublicKeyAlgEnum
|
|
1173
|
+
*/
|
|
1174
|
+
export enum KasPublicKeyAlgEnum {
|
|
1175
|
+
/**
|
|
1176
|
+
* @generated from enum value: KAS_PUBLIC_KEY_ALG_ENUM_UNSPECIFIED = 0;
|
|
1177
|
+
*/
|
|
1178
|
+
UNSPECIFIED = 0,
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* @generated from enum value: KAS_PUBLIC_KEY_ALG_ENUM_RSA_2048 = 1;
|
|
1182
|
+
*/
|
|
1183
|
+
RSA_2048 = 1,
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* @generated from enum value: KAS_PUBLIC_KEY_ALG_ENUM_RSA_4096 = 2;
|
|
1187
|
+
*/
|
|
1188
|
+
RSA_4096 = 2,
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* @generated from enum value: KAS_PUBLIC_KEY_ALG_ENUM_EC_SECP256R1 = 5;
|
|
1192
|
+
*/
|
|
1193
|
+
EC_SECP256R1 = 5,
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* @generated from enum value: KAS_PUBLIC_KEY_ALG_ENUM_EC_SECP384R1 = 6;
|
|
1197
|
+
*/
|
|
1198
|
+
EC_SECP384R1 = 6,
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* @generated from enum value: KAS_PUBLIC_KEY_ALG_ENUM_EC_SECP521R1 = 7;
|
|
1202
|
+
*/
|
|
1203
|
+
EC_SECP521R1 = 7,
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Describes the enum policy.KasPublicKeyAlgEnum.
|
|
1208
|
+
*/
|
|
1209
|
+
export const KasPublicKeyAlgEnumSchema: GenEnum<KasPublicKeyAlgEnum> = /*@__PURE__*/
|
|
1210
|
+
enumDesc(file_policy_objects, 4);
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Supported key algorithms.
|
|
1214
|
+
*
|
|
1215
|
+
* @generated from enum policy.Algorithm
|
|
1216
|
+
*/
|
|
1217
|
+
export enum Algorithm {
|
|
1218
|
+
/**
|
|
1219
|
+
* @generated from enum value: ALGORITHM_UNSPECIFIED = 0;
|
|
1220
|
+
*/
|
|
1221
|
+
UNSPECIFIED = 0,
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* @generated from enum value: ALGORITHM_RSA_2048 = 1;
|
|
1225
|
+
*/
|
|
1226
|
+
RSA_2048 = 1,
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* @generated from enum value: ALGORITHM_RSA_4096 = 2;
|
|
1230
|
+
*/
|
|
1231
|
+
RSA_4096 = 2,
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* @generated from enum value: ALGORITHM_EC_P256 = 3;
|
|
1235
|
+
*/
|
|
1236
|
+
EC_P256 = 3,
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* @generated from enum value: ALGORITHM_EC_P384 = 4;
|
|
1240
|
+
*/
|
|
1241
|
+
EC_P384 = 4,
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* @generated from enum value: ALGORITHM_EC_P521 = 5;
|
|
1245
|
+
*/
|
|
1246
|
+
EC_P521 = 5,
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Describes the enum policy.Algorithm.
|
|
1251
|
+
*/
|
|
1252
|
+
export const AlgorithmSchema: GenEnum<Algorithm> = /*@__PURE__*/
|
|
1253
|
+
enumDesc(file_policy_objects, 5);
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* The status of the key
|
|
1257
|
+
*
|
|
1258
|
+
* @generated from enum policy.KeyStatus
|
|
1259
|
+
*/
|
|
1260
|
+
export enum KeyStatus {
|
|
1261
|
+
/**
|
|
1262
|
+
* @generated from enum value: KEY_STATUS_UNSPECIFIED = 0;
|
|
1263
|
+
*/
|
|
1264
|
+
UNSPECIFIED = 0,
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* @generated from enum value: KEY_STATUS_ACTIVE = 1;
|
|
1268
|
+
*/
|
|
1269
|
+
ACTIVE = 1,
|
|
1270
|
+
|
|
1271
|
+
/**
|
|
1272
|
+
* @generated from enum value: KEY_STATUS_INACTIVE = 2;
|
|
1273
|
+
*/
|
|
1274
|
+
INACTIVE = 2,
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* @generated from enum value: KEY_STATUS_COMPROMISED = 3;
|
|
1278
|
+
*/
|
|
1279
|
+
COMPROMISED = 3,
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* Describes the enum policy.KeyStatus.
|
|
1284
|
+
*/
|
|
1285
|
+
export const KeyStatusSchema: GenEnum<KeyStatus> = /*@__PURE__*/
|
|
1286
|
+
enumDesc(file_policy_objects, 6);
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Describe how the kas private key is managed.
|
|
1290
|
+
* If the key mode is LOCAL, then the kas private key is stored in the database.
|
|
1291
|
+
* This could be encrypted or unencrypted.
|
|
1292
|
+
* Remote means that the kas private key is stored in a remote key system like KMS or HSM
|
|
1293
|
+
* and all operations are done by the remote key system.
|
|
1294
|
+
*
|
|
1295
|
+
* @generated from enum policy.KeyMode
|
|
1296
|
+
*/
|
|
1297
|
+
export enum KeyMode {
|
|
1298
|
+
/**
|
|
1299
|
+
* @generated from enum value: KEY_MODE_UNSPECIFIED = 0;
|
|
1300
|
+
*/
|
|
1301
|
+
UNSPECIFIED = 0,
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* @generated from enum value: KEY_MODE_LOCAL = 1;
|
|
1305
|
+
*/
|
|
1306
|
+
LOCAL = 1,
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* @generated from enum value: KEY_MODE_REMOTE = 2;
|
|
1310
|
+
*/
|
|
1311
|
+
REMOTE = 2,
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Describes the enum policy.KeyMode.
|
|
1316
|
+
*/
|
|
1317
|
+
export const KeyModeSchema: GenEnum<KeyMode> = /*@__PURE__*/
|
|
1318
|
+
enumDesc(file_policy_objects, 7);
|
|
1319
|
+
|