@structured-id/ui-core 2.0.0 → 3.0.0
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/README.md +22 -10
- package/package.json +25 -43
- package/src/components/SidStatusBadge.vue +1 -5
- package/src/composables/useAccountTransport.test.ts +2 -1
- package/src/composables/useGrpc.test.ts +17 -14
- package/src/composables/useGrpc.ts +4 -2
- package/src/index.ts +2 -120
- package/src/profile/components/ConsentManager.vue +5 -1
- package/src/profile/components/ProfileEditor.vue +1 -1
- package/src/profile/components/SecuritySettings.vue +5 -1
- package/src/profile/components/SessionList.vue +2 -1
- package/src/profile/components/SidRegistrationForm.test.ts +173 -1
- package/src/profile/components/SidRegistrationForm.vue +88 -32
- package/src/profile/components/index.ts +1 -4
- package/src/profile/composables/index.ts +1 -0
- package/src/profile/composables/operationPlan.test.ts +155 -0
- package/src/profile/composables/operationPlan.ts +218 -0
- package/src/profile/composables/useAccountApi.ts +4 -4
- package/src/profile/composables/useAuth.test.ts +312 -31
- package/src/profile/composables/useAuth.ts +176 -30
- package/src/profile/composables/useAuthApi.opaque.test.ts +13 -6
- package/src/profile/composables/useAuthApi.ts +40 -18
- package/src/profile/composables/useCurrentPasswordRequirement.test.ts +196 -0
- package/src/profile/composables/useCurrentPasswordRequirement.ts +95 -0
- package/src/profile/composables/useEnrollmentApi.test.ts +7 -3
- package/src/profile/composables/useEnrollmentApi.ts +3 -5
- package/src/profile/composables/useIdentityApi.ts +4 -4
- package/src/profile/composables/useSecurityLevel.test.ts +1 -1
- package/src/profile/composables/useSecurityLevel.ts +1 -1
- package/src/quasar/SidPasswordCeremony.test.ts +253 -0
- package/src/quasar/SidPasswordCeremony.vue +456 -0
- package/src/quasar/index.ts +2 -0
- package/src/utils/rpcRefusal.test.ts +4 -4
- package/src/utils/rpcRefusal.ts +8 -4
- package/dist/browser-vp/index.cjs +0 -349
- package/dist/browser-vp/index.d.cts +0 -276
- package/dist/browser-vp/index.d.ts +0 -276
- package/dist/browser-vp/index.js +0 -349
- package/dist/chunk-C3Q766CY.cjs +0 -125
- package/dist/chunk-J5YXRXB5.js +0 -125
- package/dist/index.cjs +0 -23581
- package/dist/index.d.cts +0 -11539
- package/dist/index.d.ts +0 -11539
- package/dist/index.js +0 -23581
- package/dist/storage-4CB2JTLW.cjs +0 -22
- package/dist/storage-THRWREZP.js +0 -22
- package/src/browser-vp/crypto.ts +0 -253
- package/src/browser-vp/index.test.ts +0 -10
- package/src/browser-vp/index.ts +0 -116
- package/src/browser-vp/prf.ts +0 -179
- package/src/browser-vp/storage.test.ts +0 -9
- package/src/browser-vp/storage.ts +0 -163
- package/src/browser-vp/types.ts +0 -95
- package/src/browser-vp/vp.test.ts +0 -43
- package/src/browser-vp/vp.ts +0 -111
- package/src/generated/google/api/http.ts +0 -687
- package/src/generated/google/api/httpbody.ts +0 -159
- package/src/generated/google/protobuf/any.ts +0 -326
- package/src/generated/google/protobuf/descriptor.ts +0 -4865
- package/src/generated/google/protobuf/duration.ts +0 -230
- package/src/generated/google/protobuf/empty.ts +0 -94
- package/src/generated/google/protobuf/struct.ts +0 -484
- package/src/generated/google/protobuf/timestamp.ts +0 -287
- package/src/generated/google/rpc/error_details.ts +0 -1386
- package/src/generated/google/rpc/status.ts +0 -127
- package/src/generated/sid/v1/account/account.client.ts +0 -527
- package/src/generated/sid/v1/account/account.ts +0 -3261
- package/src/generated/sid/v1/admin/admin.client.ts +0 -139
- package/src/generated/sid/v1/admin/admin.ts +0 -781
- package/src/generated/sid/v1/admin/admin_roles.client.ts +0 -181
- package/src/generated/sid/v1/admin/admin_roles.ts +0 -1606
- package/src/generated/sid/v1/admin/analytics.client.ts +0 -106
- package/src/generated/sid/v1/admin/analytics.ts +0 -1017
- package/src/generated/sid/v1/admin/branding.client.ts +0 -166
- package/src/generated/sid/v1/admin/branding.ts +0 -1906
- package/src/generated/sid/v1/admin/enrollment.client.ts +0 -177
- package/src/generated/sid/v1/admin/enrollment.ts +0 -1766
- package/src/generated/sid/v1/admin/events.client.ts +0 -195
- package/src/generated/sid/v1/admin/events.ts +0 -1900
- package/src/generated/sid/v1/admin/flow.client.ts +0 -183
- package/src/generated/sid/v1/admin/flow.ts +0 -1552
- package/src/generated/sid/v1/admin/keys.client.ts +0 -107
- package/src/generated/sid/v1/admin/keys.ts +0 -931
- package/src/generated/sid/v1/admin/login_experience.client.ts +0 -160
- package/src/generated/sid/v1/admin/login_experience.ts +0 -1061
- package/src/generated/sid/v1/admin/migration.client.ts +0 -127
- package/src/generated/sid/v1/admin/migration.ts +0 -1948
- package/src/generated/sid/v1/admin/notifications.client.ts +0 -134
- package/src/generated/sid/v1/admin/notifications.ts +0 -1273
- package/src/generated/sid/v1/admin/operations.client.ts +0 -241
- package/src/generated/sid/v1/admin/operations.ts +0 -2633
- package/src/generated/sid/v1/admin/organizations.client.ts +0 -57
- package/src/generated/sid/v1/admin/organizations.ts +0 -332
- package/src/generated/sid/v1/admin/provisioning.client.ts +0 -232
- package/src/generated/sid/v1/admin/provisioning.ts +0 -1383
- package/src/generated/sid/v1/admin/scopes.client.ts +0 -171
- package/src/generated/sid/v1/admin/scopes.ts +0 -1324
- package/src/generated/sid/v1/admin/security.client.ts +0 -410
- package/src/generated/sid/v1/admin/security.ts +0 -4077
- package/src/generated/sid/v1/admin/sessions.client.ts +0 -114
- package/src/generated/sid/v1/admin/sessions.ts +0 -923
- package/src/generated/sid/v1/admin/settings.client.ts +0 -351
- package/src/generated/sid/v1/admin/settings.ts +0 -2458
- package/src/generated/sid/v1/admin/user_profile.client.ts +0 -57
- package/src/generated/sid/v1/admin/user_profile.ts +0 -730
- package/src/generated/sid/v1/admin/webhooks.client.ts +0 -269
- package/src/generated/sid/v1/admin/webhooks.ts +0 -2804
- package/src/generated/sid/v1/attestation/attestation.client.ts +0 -115
- package/src/generated/sid/v1/attestation/attestation.ts +0 -813
- package/src/generated/sid/v1/authn/auth.client.ts +0 -943
- package/src/generated/sid/v1/authn/auth.ts +0 -9719
- package/src/generated/sid/v1/authn/flows.client.ts +0 -413
- package/src/generated/sid/v1/authn/flows.ts +0 -3205
- package/src/generated/sid/v1/authn/issuer.client.ts +0 -489
- package/src/generated/sid/v1/authn/issuer.ts +0 -1600
- package/src/generated/sid/v1/authn/password_history.client.ts +0 -57
- package/src/generated/sid/v1/authn/password_history.ts +0 -578
- package/src/generated/sid/v1/authn/system_integration.client.ts +0 -73
- package/src/generated/sid/v1/authn/system_integration.ts +0 -218
- package/src/generated/sid/v1/authz/authz.client.ts +0 -459
- package/src/generated/sid/v1/authz/authz.ts +0 -6524
- package/src/generated/sid/v1/authz/forward_auth.client.ts +0 -97
- package/src/generated/sid/v1/authz/forward_auth.ts +0 -79
- package/src/generated/sid/v1/authz/governance.client.ts +0 -102
- package/src/generated/sid/v1/authz/governance.ts +0 -875
- package/src/generated/sid/v1/common/errors.ts +0 -710
- package/src/generated/sid/v1/common/pagination.ts +0 -152
- package/src/generated/sid/v1/common/transport.ts +0 -227
- package/src/generated/sid/v1/common/types.ts +0 -151
- package/src/generated/sid/v1/events/event_stream.client.ts +0 -67
- package/src/generated/sid/v1/events/event_stream.ts +0 -375
- package/src/generated/sid/v1/federation/upstream.client.ts +0 -142
- package/src/generated/sid/v1/federation/upstream.ts +0 -1736
- package/src/generated/sid/v1/identity/identity.client.ts +0 -467
- package/src/generated/sid/v1/identity/identity.ts +0 -5676
- package/src/generated/sid/v1/ids/ids.ts +0 -395
- package/src/generated/sid/v1/machine/machine_user.client.ts +0 -219
- package/src/generated/sid/v1/machine/machine_user.ts +0 -2364
- package/src/generated/sid/v1/machine/pat.client.ts +0 -130
- package/src/generated/sid/v1/machine/pat.ts +0 -1083
- package/src/generated/sid/v1/projects/projects.client.ts +0 -404
- package/src/generated/sid/v1/projects/projects.ts +0 -4446
- package/src/generated/sid/v1/scim/scim.client.ts +0 -520
- package/src/generated/sid/v1/scim/scim.ts +0 -3182
- package/src/generated/sid/v1/test/test.client.ts +0 -232
- package/src/generated/sid/v1/test/test.ts +0 -1136
- package/src/transport/adaptive.test.ts +0 -728
- package/src/transport/adaptive.ts +0 -308
- package/src/transport/framing.test.ts +0 -227
- package/src/transport/framing.ts +0 -98
- package/src/transport/webtransport.test.ts +0 -728
- package/src/transport/webtransport.ts +0 -323
|
@@ -1,410 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.11.1 with parameter client_generic,generate_dependencies
|
|
2
|
-
// @generated from protobuf file "sid/v1/admin/security.proto" (package "sid.v1.admin", syntax proto3)
|
|
3
|
-
// tslint:disable
|
|
4
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import { SecurityService } from "./security";
|
|
7
|
-
import type { RemoveIpAllowlistEntryRequest } from "./security";
|
|
8
|
-
import type { AddIpAllowlistEntryRequest } from "./security";
|
|
9
|
-
import type { IpAllowlistResponse } from "./security";
|
|
10
|
-
import type { ListIpAllowlistEntriesRequest } from "./security";
|
|
11
|
-
import type { IntegrityCheckResponse } from "./security";
|
|
12
|
-
import type { RunIntegrityCheckRequest } from "./security";
|
|
13
|
-
import type { BreachDetectionConfig } from "./security";
|
|
14
|
-
import type { GetBreachDetectionConfigRequest } from "./security";
|
|
15
|
-
import type { NetworkPolicy } from "./security";
|
|
16
|
-
import type { GetNetworkPolicyRequest } from "./security";
|
|
17
|
-
import type { EvaluateEnforcementResponse } from "./security";
|
|
18
|
-
import type { EvaluateEnforcementRequest } from "./security";
|
|
19
|
-
import type { GetEffectivePolicyRequest } from "./security";
|
|
20
|
-
import type { ListApplicationOverridesResponse } from "./security";
|
|
21
|
-
import type { ListApplicationOverridesRequest } from "./security";
|
|
22
|
-
import type { SecurityPolicyResponse } from "./security";
|
|
23
|
-
import type { GetSecurityPolicyRequest } from "./security";
|
|
24
|
-
import type { TestCaptchaProviderResponse } from "./security";
|
|
25
|
-
import type { TestCaptchaProviderRequest } from "./security";
|
|
26
|
-
import type { CaptchaConfig } from "./security";
|
|
27
|
-
import type { GetCaptchaConfigRequest } from "./security";
|
|
28
|
-
import type { AnomalyEventLog } from "./security";
|
|
29
|
-
import type { GetAnomalyEventLogRequest } from "./security";
|
|
30
|
-
import type { ListAnomalyRulesResponse } from "./security";
|
|
31
|
-
import type { ListAnomalyRulesRequest } from "./security";
|
|
32
|
-
import type { RateLimitDashboard } from "./security";
|
|
33
|
-
import type { GetRateLimitDashboardRequest } from "./security";
|
|
34
|
-
import type { RateLimitConfig } from "./security";
|
|
35
|
-
import type { GetRateLimitConfigRequest } from "./security";
|
|
36
|
-
import type { SecurityHeaders } from "./security";
|
|
37
|
-
import type { GetSecurityHeadersRequest } from "./security";
|
|
38
|
-
import type { BruteForceConfig } from "./security";
|
|
39
|
-
import type { GetBruteForceConfigRequest } from "./security";
|
|
40
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
41
|
-
import type { PasswordPolicy } from "./security";
|
|
42
|
-
import type { GetPasswordPolicyRequest } from "./security";
|
|
43
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
44
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
45
|
-
/**
|
|
46
|
-
* ── Password Policy ──
|
|
47
|
-
*
|
|
48
|
-
* @generated from protobuf service sid.v1.admin.SecurityService
|
|
49
|
-
*/
|
|
50
|
-
export interface ISecurityServiceClient {
|
|
51
|
-
/**
|
|
52
|
-
* @generated from protobuf rpc: GetPasswordPolicy
|
|
53
|
-
*/
|
|
54
|
-
getPasswordPolicy(input: GetPasswordPolicyRequest, options?: RpcOptions): UnaryCall<GetPasswordPolicyRequest, PasswordPolicy>;
|
|
55
|
-
/**
|
|
56
|
-
* @generated from protobuf rpc: UpdatePasswordPolicy
|
|
57
|
-
*/
|
|
58
|
-
updatePasswordPolicy(input: PasswordPolicy, options?: RpcOptions): UnaryCall<PasswordPolicy, PasswordPolicy>;
|
|
59
|
-
// ── Brute Force Protection ──
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @generated from protobuf rpc: GetBruteForceConfig
|
|
63
|
-
*/
|
|
64
|
-
getBruteForceConfig(input: GetBruteForceConfigRequest, options?: RpcOptions): UnaryCall<GetBruteForceConfigRequest, BruteForceConfig>;
|
|
65
|
-
/**
|
|
66
|
-
* @generated from protobuf rpc: UpdateBruteForceConfig
|
|
67
|
-
*/
|
|
68
|
-
updateBruteForceConfig(input: BruteForceConfig, options?: RpcOptions): UnaryCall<BruteForceConfig, BruteForceConfig>;
|
|
69
|
-
// ── Security Headers ──
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @generated from protobuf rpc: GetSecurityHeaders
|
|
73
|
-
*/
|
|
74
|
-
getSecurityHeaders(input: GetSecurityHeadersRequest, options?: RpcOptions): UnaryCall<GetSecurityHeadersRequest, SecurityHeaders>;
|
|
75
|
-
/**
|
|
76
|
-
* @generated from protobuf rpc: UpdateSecurityHeaders
|
|
77
|
-
*/
|
|
78
|
-
updateSecurityHeaders(input: SecurityHeaders, options?: RpcOptions): UnaryCall<SecurityHeaders, SecurityHeaders>;
|
|
79
|
-
// ── Rate Limits ──
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* @generated from protobuf rpc: GetRateLimitConfig
|
|
83
|
-
*/
|
|
84
|
-
getRateLimitConfig(input: GetRateLimitConfigRequest, options?: RpcOptions): UnaryCall<GetRateLimitConfigRequest, RateLimitConfig>;
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf rpc: GetRateLimitDashboard
|
|
87
|
-
*/
|
|
88
|
-
getRateLimitDashboard(input: GetRateLimitDashboardRequest, options?: RpcOptions): UnaryCall<GetRateLimitDashboardRequest, RateLimitDashboard>;
|
|
89
|
-
// ── Anomaly Rules ──
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* @generated from protobuf rpc: ListAnomalyRules
|
|
93
|
-
*/
|
|
94
|
-
listAnomalyRules(input: ListAnomalyRulesRequest, options?: RpcOptions): UnaryCall<ListAnomalyRulesRequest, ListAnomalyRulesResponse>;
|
|
95
|
-
/**
|
|
96
|
-
* @generated from protobuf rpc: GetAnomalyEventLog
|
|
97
|
-
*/
|
|
98
|
-
getAnomalyEventLog(input: GetAnomalyEventLogRequest, options?: RpcOptions): UnaryCall<GetAnomalyEventLogRequest, AnomalyEventLog>;
|
|
99
|
-
// ── CAPTCHA ──
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @generated from protobuf rpc: GetCaptchaConfig
|
|
103
|
-
*/
|
|
104
|
-
getCaptchaConfig(input: GetCaptchaConfigRequest, options?: RpcOptions): UnaryCall<GetCaptchaConfigRequest, CaptchaConfig>;
|
|
105
|
-
/**
|
|
106
|
-
* @generated from protobuf rpc: UpdateCaptchaConfig
|
|
107
|
-
*/
|
|
108
|
-
updateCaptchaConfig(input: CaptchaConfig, options?: RpcOptions): UnaryCall<CaptchaConfig, CaptchaConfig>;
|
|
109
|
-
/**
|
|
110
|
-
* @generated from protobuf rpc: TestCaptchaProvider
|
|
111
|
-
*/
|
|
112
|
-
testCaptchaProvider(input: TestCaptchaProviderRequest, options?: RpcOptions): UnaryCall<TestCaptchaProviderRequest, TestCaptchaProviderResponse>;
|
|
113
|
-
// ── Security Policy ──
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @generated from protobuf rpc: GetSecurityPolicy
|
|
117
|
-
*/
|
|
118
|
-
getSecurityPolicy(input: GetSecurityPolicyRequest, options?: RpcOptions): UnaryCall<GetSecurityPolicyRequest, SecurityPolicyResponse>;
|
|
119
|
-
/**
|
|
120
|
-
* @generated from protobuf rpc: ListApplicationOverrides
|
|
121
|
-
*/
|
|
122
|
-
listApplicationOverrides(input: ListApplicationOverridesRequest, options?: RpcOptions): UnaryCall<ListApplicationOverridesRequest, ListApplicationOverridesResponse>;
|
|
123
|
-
/**
|
|
124
|
-
* Get effective policy for a specific application (org policy + app overrides merged).
|
|
125
|
-
* Returns the combined policy that would be applied when a user logs in to this app.
|
|
126
|
-
*
|
|
127
|
-
* @generated from protobuf rpc: GetEffectivePolicy
|
|
128
|
-
*/
|
|
129
|
-
getEffectivePolicy(input: GetEffectivePolicyRequest, options?: RpcOptions): UnaryCall<GetEffectivePolicyRequest, SecurityPolicyResponse>;
|
|
130
|
-
/**
|
|
131
|
-
* Evaluate enforcement decision for a profile + application.
|
|
132
|
-
* Returns what would happen if this user tried to log in to this app right now.
|
|
133
|
-
* Used for admin debugging and policy preview.
|
|
134
|
-
*
|
|
135
|
-
* @generated from protobuf rpc: EvaluateEnforcement
|
|
136
|
-
*/
|
|
137
|
-
evaluateEnforcement(input: EvaluateEnforcementRequest, options?: RpcOptions): UnaryCall<EvaluateEnforcementRequest, EvaluateEnforcementResponse>;
|
|
138
|
-
// ── Network Policy ──
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* @generated from protobuf rpc: GetNetworkPolicy
|
|
142
|
-
*/
|
|
143
|
-
getNetworkPolicy(input: GetNetworkPolicyRequest, options?: RpcOptions): UnaryCall<GetNetworkPolicyRequest, NetworkPolicy>;
|
|
144
|
-
/**
|
|
145
|
-
* @generated from protobuf rpc: UpdateNetworkPolicy
|
|
146
|
-
*/
|
|
147
|
-
updateNetworkPolicy(input: NetworkPolicy, options?: RpcOptions): UnaryCall<NetworkPolicy, NetworkPolicy>;
|
|
148
|
-
// ── Breach Detection ──
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @generated from protobuf rpc: GetBreachDetectionConfig
|
|
152
|
-
*/
|
|
153
|
-
getBreachDetectionConfig(input: GetBreachDetectionConfigRequest, options?: RpcOptions): UnaryCall<GetBreachDetectionConfigRequest, BreachDetectionConfig>;
|
|
154
|
-
/**
|
|
155
|
-
* @generated from protobuf rpc: UpdateBreachDetectionConfig
|
|
156
|
-
*/
|
|
157
|
-
updateBreachDetectionConfig(input: BreachDetectionConfig, options?: RpcOptions): UnaryCall<BreachDetectionConfig, BreachDetectionConfig>;
|
|
158
|
-
// ── Data Integrity ──
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* Run integrity verification across the layers this server checks.
|
|
162
|
-
*
|
|
163
|
-
* @generated from protobuf rpc: RunIntegrityCheck
|
|
164
|
-
*/
|
|
165
|
-
runIntegrityCheck(input: RunIntegrityCheckRequest, options?: RpcOptions): UnaryCall<RunIntegrityCheckRequest, IntegrityCheckResponse>;
|
|
166
|
-
// ── IP Allowlist (IP Intelligence) ──
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* List all admin-configured IP allowlist entries.
|
|
170
|
-
* Allowlisted IPs/CIDRs override ALL negative IP intelligence labels.
|
|
171
|
-
*
|
|
172
|
-
* @generated from protobuf rpc: ListIpAllowlistEntries
|
|
173
|
-
*/
|
|
174
|
-
listIpAllowlistEntries(input: ListIpAllowlistEntriesRequest, options?: RpcOptions): UnaryCall<ListIpAllowlistEntriesRequest, IpAllowlistResponse>;
|
|
175
|
-
/**
|
|
176
|
-
* Add an IP or CIDR to the allowlist.
|
|
177
|
-
*
|
|
178
|
-
* @generated from protobuf rpc: AddIpAllowlistEntry
|
|
179
|
-
*/
|
|
180
|
-
addIpAllowlistEntry(input: AddIpAllowlistEntryRequest, options?: RpcOptions): UnaryCall<AddIpAllowlistEntryRequest, IpAllowlistResponse>;
|
|
181
|
-
/**
|
|
182
|
-
* Remove an IP or CIDR from the allowlist.
|
|
183
|
-
*
|
|
184
|
-
* @generated from protobuf rpc: RemoveIpAllowlistEntry
|
|
185
|
-
*/
|
|
186
|
-
removeIpAllowlistEntry(input: RemoveIpAllowlistEntryRequest, options?: RpcOptions): UnaryCall<RemoveIpAllowlistEntryRequest, IpAllowlistResponse>;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* ── Password Policy ──
|
|
190
|
-
*
|
|
191
|
-
* @generated from protobuf service sid.v1.admin.SecurityService
|
|
192
|
-
*/
|
|
193
|
-
export class SecurityServiceClient implements ISecurityServiceClient, ServiceInfo {
|
|
194
|
-
typeName = SecurityService.typeName;
|
|
195
|
-
methods = SecurityService.methods;
|
|
196
|
-
options = SecurityService.options;
|
|
197
|
-
constructor(private readonly _transport: RpcTransport) {
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* @generated from protobuf rpc: GetPasswordPolicy
|
|
201
|
-
*/
|
|
202
|
-
getPasswordPolicy(input: GetPasswordPolicyRequest, options?: RpcOptions): UnaryCall<GetPasswordPolicyRequest, PasswordPolicy> {
|
|
203
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
204
|
-
return stackIntercept<GetPasswordPolicyRequest, PasswordPolicy>("unary", this._transport, method, opt, input);
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* @generated from protobuf rpc: UpdatePasswordPolicy
|
|
208
|
-
*/
|
|
209
|
-
updatePasswordPolicy(input: PasswordPolicy, options?: RpcOptions): UnaryCall<PasswordPolicy, PasswordPolicy> {
|
|
210
|
-
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
211
|
-
return stackIntercept<PasswordPolicy, PasswordPolicy>("unary", this._transport, method, opt, input);
|
|
212
|
-
}
|
|
213
|
-
// ── Brute Force Protection ──
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* @generated from protobuf rpc: GetBruteForceConfig
|
|
217
|
-
*/
|
|
218
|
-
getBruteForceConfig(input: GetBruteForceConfigRequest, options?: RpcOptions): UnaryCall<GetBruteForceConfigRequest, BruteForceConfig> {
|
|
219
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
220
|
-
return stackIntercept<GetBruteForceConfigRequest, BruteForceConfig>("unary", this._transport, method, opt, input);
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* @generated from protobuf rpc: UpdateBruteForceConfig
|
|
224
|
-
*/
|
|
225
|
-
updateBruteForceConfig(input: BruteForceConfig, options?: RpcOptions): UnaryCall<BruteForceConfig, BruteForceConfig> {
|
|
226
|
-
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
227
|
-
return stackIntercept<BruteForceConfig, BruteForceConfig>("unary", this._transport, method, opt, input);
|
|
228
|
-
}
|
|
229
|
-
// ── Security Headers ──
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* @generated from protobuf rpc: GetSecurityHeaders
|
|
233
|
-
*/
|
|
234
|
-
getSecurityHeaders(input: GetSecurityHeadersRequest, options?: RpcOptions): UnaryCall<GetSecurityHeadersRequest, SecurityHeaders> {
|
|
235
|
-
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
236
|
-
return stackIntercept<GetSecurityHeadersRequest, SecurityHeaders>("unary", this._transport, method, opt, input);
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* @generated from protobuf rpc: UpdateSecurityHeaders
|
|
240
|
-
*/
|
|
241
|
-
updateSecurityHeaders(input: SecurityHeaders, options?: RpcOptions): UnaryCall<SecurityHeaders, SecurityHeaders> {
|
|
242
|
-
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
243
|
-
return stackIntercept<SecurityHeaders, SecurityHeaders>("unary", this._transport, method, opt, input);
|
|
244
|
-
}
|
|
245
|
-
// ── Rate Limits ──
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* @generated from protobuf rpc: GetRateLimitConfig
|
|
249
|
-
*/
|
|
250
|
-
getRateLimitConfig(input: GetRateLimitConfigRequest, options?: RpcOptions): UnaryCall<GetRateLimitConfigRequest, RateLimitConfig> {
|
|
251
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
252
|
-
return stackIntercept<GetRateLimitConfigRequest, RateLimitConfig>("unary", this._transport, method, opt, input);
|
|
253
|
-
}
|
|
254
|
-
/**
|
|
255
|
-
* @generated from protobuf rpc: GetRateLimitDashboard
|
|
256
|
-
*/
|
|
257
|
-
getRateLimitDashboard(input: GetRateLimitDashboardRequest, options?: RpcOptions): UnaryCall<GetRateLimitDashboardRequest, RateLimitDashboard> {
|
|
258
|
-
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
259
|
-
return stackIntercept<GetRateLimitDashboardRequest, RateLimitDashboard>("unary", this._transport, method, opt, input);
|
|
260
|
-
}
|
|
261
|
-
// ── Anomaly Rules ──
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* @generated from protobuf rpc: ListAnomalyRules
|
|
265
|
-
*/
|
|
266
|
-
listAnomalyRules(input: ListAnomalyRulesRequest, options?: RpcOptions): UnaryCall<ListAnomalyRulesRequest, ListAnomalyRulesResponse> {
|
|
267
|
-
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
268
|
-
return stackIntercept<ListAnomalyRulesRequest, ListAnomalyRulesResponse>("unary", this._transport, method, opt, input);
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* @generated from protobuf rpc: GetAnomalyEventLog
|
|
272
|
-
*/
|
|
273
|
-
getAnomalyEventLog(input: GetAnomalyEventLogRequest, options?: RpcOptions): UnaryCall<GetAnomalyEventLogRequest, AnomalyEventLog> {
|
|
274
|
-
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
|
275
|
-
return stackIntercept<GetAnomalyEventLogRequest, AnomalyEventLog>("unary", this._transport, method, opt, input);
|
|
276
|
-
}
|
|
277
|
-
// ── CAPTCHA ──
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* @generated from protobuf rpc: GetCaptchaConfig
|
|
281
|
-
*/
|
|
282
|
-
getCaptchaConfig(input: GetCaptchaConfigRequest, options?: RpcOptions): UnaryCall<GetCaptchaConfigRequest, CaptchaConfig> {
|
|
283
|
-
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
|
284
|
-
return stackIntercept<GetCaptchaConfigRequest, CaptchaConfig>("unary", this._transport, method, opt, input);
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* @generated from protobuf rpc: UpdateCaptchaConfig
|
|
288
|
-
*/
|
|
289
|
-
updateCaptchaConfig(input: CaptchaConfig, options?: RpcOptions): UnaryCall<CaptchaConfig, CaptchaConfig> {
|
|
290
|
-
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
|
291
|
-
return stackIntercept<CaptchaConfig, CaptchaConfig>("unary", this._transport, method, opt, input);
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* @generated from protobuf rpc: TestCaptchaProvider
|
|
295
|
-
*/
|
|
296
|
-
testCaptchaProvider(input: TestCaptchaProviderRequest, options?: RpcOptions): UnaryCall<TestCaptchaProviderRequest, TestCaptchaProviderResponse> {
|
|
297
|
-
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
|
298
|
-
return stackIntercept<TestCaptchaProviderRequest, TestCaptchaProviderResponse>("unary", this._transport, method, opt, input);
|
|
299
|
-
}
|
|
300
|
-
// ── Security Policy ──
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* @generated from protobuf rpc: GetSecurityPolicy
|
|
304
|
-
*/
|
|
305
|
-
getSecurityPolicy(input: GetSecurityPolicyRequest, options?: RpcOptions): UnaryCall<GetSecurityPolicyRequest, SecurityPolicyResponse> {
|
|
306
|
-
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
|
307
|
-
return stackIntercept<GetSecurityPolicyRequest, SecurityPolicyResponse>("unary", this._transport, method, opt, input);
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* @generated from protobuf rpc: ListApplicationOverrides
|
|
311
|
-
*/
|
|
312
|
-
listApplicationOverrides(input: ListApplicationOverridesRequest, options?: RpcOptions): UnaryCall<ListApplicationOverridesRequest, ListApplicationOverridesResponse> {
|
|
313
|
-
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
|
314
|
-
return stackIntercept<ListApplicationOverridesRequest, ListApplicationOverridesResponse>("unary", this._transport, method, opt, input);
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
* Get effective policy for a specific application (org policy + app overrides merged).
|
|
318
|
-
* Returns the combined policy that would be applied when a user logs in to this app.
|
|
319
|
-
*
|
|
320
|
-
* @generated from protobuf rpc: GetEffectivePolicy
|
|
321
|
-
*/
|
|
322
|
-
getEffectivePolicy(input: GetEffectivePolicyRequest, options?: RpcOptions): UnaryCall<GetEffectivePolicyRequest, SecurityPolicyResponse> {
|
|
323
|
-
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
|
324
|
-
return stackIntercept<GetEffectivePolicyRequest, SecurityPolicyResponse>("unary", this._transport, method, opt, input);
|
|
325
|
-
}
|
|
326
|
-
/**
|
|
327
|
-
* Evaluate enforcement decision for a profile + application.
|
|
328
|
-
* Returns what would happen if this user tried to log in to this app right now.
|
|
329
|
-
* Used for admin debugging and policy preview.
|
|
330
|
-
*
|
|
331
|
-
* @generated from protobuf rpc: EvaluateEnforcement
|
|
332
|
-
*/
|
|
333
|
-
evaluateEnforcement(input: EvaluateEnforcementRequest, options?: RpcOptions): UnaryCall<EvaluateEnforcementRequest, EvaluateEnforcementResponse> {
|
|
334
|
-
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
|
335
|
-
return stackIntercept<EvaluateEnforcementRequest, EvaluateEnforcementResponse>("unary", this._transport, method, opt, input);
|
|
336
|
-
}
|
|
337
|
-
// ── Network Policy ──
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* @generated from protobuf rpc: GetNetworkPolicy
|
|
341
|
-
*/
|
|
342
|
-
getNetworkPolicy(input: GetNetworkPolicyRequest, options?: RpcOptions): UnaryCall<GetNetworkPolicyRequest, NetworkPolicy> {
|
|
343
|
-
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
|
344
|
-
return stackIntercept<GetNetworkPolicyRequest, NetworkPolicy>("unary", this._transport, method, opt, input);
|
|
345
|
-
}
|
|
346
|
-
/**
|
|
347
|
-
* @generated from protobuf rpc: UpdateNetworkPolicy
|
|
348
|
-
*/
|
|
349
|
-
updateNetworkPolicy(input: NetworkPolicy, options?: RpcOptions): UnaryCall<NetworkPolicy, NetworkPolicy> {
|
|
350
|
-
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
|
351
|
-
return stackIntercept<NetworkPolicy, NetworkPolicy>("unary", this._transport, method, opt, input);
|
|
352
|
-
}
|
|
353
|
-
// ── Breach Detection ──
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* @generated from protobuf rpc: GetBreachDetectionConfig
|
|
357
|
-
*/
|
|
358
|
-
getBreachDetectionConfig(input: GetBreachDetectionConfigRequest, options?: RpcOptions): UnaryCall<GetBreachDetectionConfigRequest, BreachDetectionConfig> {
|
|
359
|
-
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
|
360
|
-
return stackIntercept<GetBreachDetectionConfigRequest, BreachDetectionConfig>("unary", this._transport, method, opt, input);
|
|
361
|
-
}
|
|
362
|
-
/**
|
|
363
|
-
* @generated from protobuf rpc: UpdateBreachDetectionConfig
|
|
364
|
-
*/
|
|
365
|
-
updateBreachDetectionConfig(input: BreachDetectionConfig, options?: RpcOptions): UnaryCall<BreachDetectionConfig, BreachDetectionConfig> {
|
|
366
|
-
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
|
367
|
-
return stackIntercept<BreachDetectionConfig, BreachDetectionConfig>("unary", this._transport, method, opt, input);
|
|
368
|
-
}
|
|
369
|
-
// ── Data Integrity ──
|
|
370
|
-
|
|
371
|
-
/**
|
|
372
|
-
* Run integrity verification across the layers this server checks.
|
|
373
|
-
*
|
|
374
|
-
* @generated from protobuf rpc: RunIntegrityCheck
|
|
375
|
-
*/
|
|
376
|
-
runIntegrityCheck(input: RunIntegrityCheckRequest, options?: RpcOptions): UnaryCall<RunIntegrityCheckRequest, IntegrityCheckResponse> {
|
|
377
|
-
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
|
378
|
-
return stackIntercept<RunIntegrityCheckRequest, IntegrityCheckResponse>("unary", this._transport, method, opt, input);
|
|
379
|
-
}
|
|
380
|
-
// ── IP Allowlist (IP Intelligence) ──
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* List all admin-configured IP allowlist entries.
|
|
384
|
-
* Allowlisted IPs/CIDRs override ALL negative IP intelligence labels.
|
|
385
|
-
*
|
|
386
|
-
* @generated from protobuf rpc: ListIpAllowlistEntries
|
|
387
|
-
*/
|
|
388
|
-
listIpAllowlistEntries(input: ListIpAllowlistEntriesRequest, options?: RpcOptions): UnaryCall<ListIpAllowlistEntriesRequest, IpAllowlistResponse> {
|
|
389
|
-
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
|
390
|
-
return stackIntercept<ListIpAllowlistEntriesRequest, IpAllowlistResponse>("unary", this._transport, method, opt, input);
|
|
391
|
-
}
|
|
392
|
-
/**
|
|
393
|
-
* Add an IP or CIDR to the allowlist.
|
|
394
|
-
*
|
|
395
|
-
* @generated from protobuf rpc: AddIpAllowlistEntry
|
|
396
|
-
*/
|
|
397
|
-
addIpAllowlistEntry(input: AddIpAllowlistEntryRequest, options?: RpcOptions): UnaryCall<AddIpAllowlistEntryRequest, IpAllowlistResponse> {
|
|
398
|
-
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
|
399
|
-
return stackIntercept<AddIpAllowlistEntryRequest, IpAllowlistResponse>("unary", this._transport, method, opt, input);
|
|
400
|
-
}
|
|
401
|
-
/**
|
|
402
|
-
* Remove an IP or CIDR from the allowlist.
|
|
403
|
-
*
|
|
404
|
-
* @generated from protobuf rpc: RemoveIpAllowlistEntry
|
|
405
|
-
*/
|
|
406
|
-
removeIpAllowlistEntry(input: RemoveIpAllowlistEntryRequest, options?: RpcOptions): UnaryCall<RemoveIpAllowlistEntryRequest, IpAllowlistResponse> {
|
|
407
|
-
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
|
408
|
-
return stackIntercept<RemoveIpAllowlistEntryRequest, IpAllowlistResponse>("unary", this._transport, method, opt, input);
|
|
409
|
-
}
|
|
410
|
-
}
|