@evalops/sdk-ts 0.1.107 → 0.1.108

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.
@@ -0,0 +1,1558 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file core/v1/core.proto.
6
+ */
7
+ export declare const file_core_v1_core: GenFile;
8
+ /**
9
+ * PolicyPack is the reviewed YAML-derived policy bundle.
10
+ *
11
+ * @generated from message core.v1.PolicyPack
12
+ */
13
+ export type PolicyPack = Message<"core.v1.PolicyPack"> & {
14
+ /**
15
+ * @generated from field: string id = 1;
16
+ */
17
+ id: string;
18
+ /**
19
+ * @generated from field: string workspace_id = 2;
20
+ */
21
+ workspaceId: string;
22
+ /**
23
+ * @generated from field: string schema_version = 3;
24
+ */
25
+ schemaVersion: string;
26
+ /**
27
+ * @generated from field: string version = 4;
28
+ */
29
+ version: string;
30
+ /**
31
+ * @generated from field: string display_name = 5;
32
+ */
33
+ displayName: string;
34
+ /**
35
+ * @generated from field: string source_ref = 6;
36
+ */
37
+ sourceRef: string;
38
+ /**
39
+ * @generated from field: repeated core.v1.Policy policies = 7;
40
+ */
41
+ policies: Policy[];
42
+ /**
43
+ * @generated from field: string fingerprint_sha256 = 8;
44
+ */
45
+ fingerprintSha256: string;
46
+ };
47
+ /**
48
+ * Describes the message core.v1.PolicyPack.
49
+ * Use `create(PolicyPackSchema)` to create a new message.
50
+ */
51
+ export declare const PolicyPackSchema: GenMessage<PolicyPack>;
52
+ /**
53
+ * Policy describes one lifecycle, posture, or access invariant.
54
+ *
55
+ * @generated from message core.v1.Policy
56
+ */
57
+ export type Policy = Message<"core.v1.Policy"> & {
58
+ /**
59
+ * @generated from field: string id = 1;
60
+ */
61
+ id: string;
62
+ /**
63
+ * @generated from field: string title = 2;
64
+ */
65
+ title: string;
66
+ /**
67
+ * @generated from field: string description = 3;
68
+ */
69
+ description: string;
70
+ /**
71
+ * @generated from field: core.v1.PolicySelector selector = 4;
72
+ */
73
+ selector?: PolicySelector | undefined;
74
+ /**
75
+ * @generated from field: repeated core.v1.PolicyRequirement requirements = 5;
76
+ */
77
+ requirements: PolicyRequirement[];
78
+ /**
79
+ * @generated from field: repeated core.v1.PolicyRemediation remediations = 6;
80
+ */
81
+ remediations: PolicyRemediation[];
82
+ /**
83
+ * @generated from field: core.v1.PolicyEnforcement enforcement = 7;
84
+ */
85
+ enforcement?: PolicyEnforcement | undefined;
86
+ };
87
+ /**
88
+ * Describes the message core.v1.Policy.
89
+ * Use `create(PolicySchema)` to create a new message.
90
+ */
91
+ export declare const PolicySchema: GenMessage<Policy>;
92
+ /**
93
+ * PolicySelector chooses which subjects and provider signals a policy covers.
94
+ *
95
+ * @generated from message core.v1.PolicySelector
96
+ */
97
+ export type PolicySelector = Message<"core.v1.PolicySelector"> & {
98
+ /**
99
+ * @generated from field: repeated core.v1.LifecycleSubjectKind subject_kinds = 1;
100
+ */
101
+ subjectKinds: LifecycleSubjectKind[];
102
+ /**
103
+ * @generated from field: repeated core.v1.ProviderKind provider_kinds = 2;
104
+ */
105
+ providerKinds: ProviderKind[];
106
+ /**
107
+ * @generated from field: repeated string lifecycle_phases = 3;
108
+ */
109
+ lifecyclePhases: string[];
110
+ /**
111
+ * @generated from field: map<string, string> labels = 4;
112
+ */
113
+ labels: {
114
+ [key: string]: string;
115
+ };
116
+ };
117
+ /**
118
+ * Describes the message core.v1.PolicySelector.
119
+ * Use `create(PolicySelectorSchema)` to create a new message.
120
+ */
121
+ export declare const PolicySelectorSchema: GenMessage<PolicySelector>;
122
+ /**
123
+ * PolicyRequirement describes one signal assertion.
124
+ *
125
+ * @generated from message core.v1.PolicyRequirement
126
+ */
127
+ export type PolicyRequirement = Message<"core.v1.PolicyRequirement"> & {
128
+ /**
129
+ * @generated from field: string id = 1;
130
+ */
131
+ id: string;
132
+ /**
133
+ * @generated from field: string signal = 2;
134
+ */
135
+ signal: string;
136
+ /**
137
+ * @generated from field: core.v1.RequirementOperator operator = 3;
138
+ */
139
+ operator: RequirementOperator;
140
+ /**
141
+ * @generated from field: repeated string values = 4;
142
+ */
143
+ values: string[];
144
+ /**
145
+ * @generated from field: core.v1.PolicySeverity severity = 5;
146
+ */
147
+ severity: PolicySeverity;
148
+ /**
149
+ * @generated from field: string remediation_id = 6;
150
+ */
151
+ remediationId: string;
152
+ /**
153
+ * @generated from field: string rationale = 7;
154
+ */
155
+ rationale: string;
156
+ };
157
+ /**
158
+ * Describes the message core.v1.PolicyRequirement.
159
+ * Use `create(PolicyRequirementSchema)` to create a new message.
160
+ */
161
+ export declare const PolicyRequirementSchema: GenMessage<PolicyRequirement>;
162
+ /**
163
+ * PolicyRemediation is safe operator-facing guidance or workflow routing.
164
+ *
165
+ * @generated from message core.v1.PolicyRemediation
166
+ */
167
+ export type PolicyRemediation = Message<"core.v1.PolicyRemediation"> & {
168
+ /**
169
+ * @generated from field: string id = 1;
170
+ */
171
+ id: string;
172
+ /**
173
+ * @generated from field: string title = 2;
174
+ */
175
+ title: string;
176
+ /**
177
+ * @generated from field: string slack_action = 3;
178
+ */
179
+ slackAction: string;
180
+ /**
181
+ * @generated from field: string workflow_ref = 4;
182
+ */
183
+ workflowRef: string;
184
+ /**
185
+ * @generated from field: string documentation_url = 5;
186
+ */
187
+ documentationUrl: string;
188
+ };
189
+ /**
190
+ * Describes the message core.v1.PolicyRemediation.
191
+ * Use `create(PolicyRemediationSchema)` to create a new message.
192
+ */
193
+ export declare const PolicyRemediationSchema: GenMessage<PolicyRemediation>;
194
+ /**
195
+ * PolicyEnforcement describes the violation handling mode.
196
+ *
197
+ * @generated from message core.v1.PolicyEnforcement
198
+ */
199
+ export type PolicyEnforcement = Message<"core.v1.PolicyEnforcement"> & {
200
+ /**
201
+ * @generated from field: core.v1.EnforcementMode mode = 1;
202
+ */
203
+ mode: EnforcementMode;
204
+ /**
205
+ * @generated from field: bool requires_approval = 2;
206
+ */
207
+ requiresApproval: boolean;
208
+ /**
209
+ * @generated from field: string approval_policy_ref = 3;
210
+ */
211
+ approvalPolicyRef: string;
212
+ };
213
+ /**
214
+ * Describes the message core.v1.PolicyEnforcement.
215
+ * Use `create(PolicyEnforcementSchema)` to create a new message.
216
+ */
217
+ export declare const PolicyEnforcementSchema: GenMessage<PolicyEnforcement>;
218
+ /**
219
+ * LifecycleSubject is the normalized subject being evaluated.
220
+ *
221
+ * @generated from message core.v1.LifecycleSubject
222
+ */
223
+ export type LifecycleSubject = Message<"core.v1.LifecycleSubject"> & {
224
+ /**
225
+ * @generated from field: string id = 1;
226
+ */
227
+ id: string;
228
+ /**
229
+ * @generated from field: core.v1.LifecycleSubjectKind kind = 2;
230
+ */
231
+ kind: LifecycleSubjectKind;
232
+ /**
233
+ * @generated from field: core.v1.ProviderKind provider_kind = 3;
234
+ */
235
+ providerKind: ProviderKind;
236
+ /**
237
+ * @generated from field: string lifecycle_phase = 4;
238
+ */
239
+ lifecyclePhase: string;
240
+ /**
241
+ * @generated from field: string display_name = 5;
242
+ */
243
+ displayName: string;
244
+ /**
245
+ * @generated from field: map<string, string> labels = 6;
246
+ */
247
+ labels: {
248
+ [key: string]: string;
249
+ };
250
+ };
251
+ /**
252
+ * Describes the message core.v1.LifecycleSubject.
253
+ * Use `create(LifecycleSubjectSchema)` to create a new message.
254
+ */
255
+ export declare const LifecycleSubjectSchema: GenMessage<LifecycleSubject>;
256
+ /**
257
+ * EvidenceRef points to safe evidence, never raw secret material.
258
+ *
259
+ * @generated from message core.v1.EvidenceRef
260
+ */
261
+ export type EvidenceRef = Message<"core.v1.EvidenceRef"> & {
262
+ /**
263
+ * @generated from field: string id = 1;
264
+ */
265
+ id: string;
266
+ /**
267
+ * @generated from field: string kind = 2;
268
+ */
269
+ kind: string;
270
+ /**
271
+ * @generated from field: string uri = 3;
272
+ */
273
+ uri: string;
274
+ /**
275
+ * @generated from field: string digest = 4;
276
+ */
277
+ digest: string;
278
+ };
279
+ /**
280
+ * Describes the message core.v1.EvidenceRef.
281
+ * Use `create(EvidenceRefSchema)` to create a new message.
282
+ */
283
+ export declare const EvidenceRefSchema: GenMessage<EvidenceRef>;
284
+ /**
285
+ * PolicyViolation records one failed requirement.
286
+ *
287
+ * @generated from message core.v1.PolicyViolation
288
+ */
289
+ export type PolicyViolation = Message<"core.v1.PolicyViolation"> & {
290
+ /**
291
+ * @generated from field: string policy_id = 1;
292
+ */
293
+ policyId: string;
294
+ /**
295
+ * @generated from field: string requirement_id = 2;
296
+ */
297
+ requirementId: string;
298
+ /**
299
+ * @generated from field: string signal = 3;
300
+ */
301
+ signal: string;
302
+ /**
303
+ * @generated from field: core.v1.PolicySeverity severity = 4;
304
+ */
305
+ severity: PolicySeverity;
306
+ /**
307
+ * @generated from field: string remediation_id = 5;
308
+ */
309
+ remediationId: string;
310
+ /**
311
+ * @generated from field: string message = 6;
312
+ */
313
+ message: string;
314
+ /**
315
+ * @generated from field: string evaluation_id = 7;
316
+ */
317
+ evaluationId: string;
318
+ /**
319
+ * @generated from field: string subject_id = 8;
320
+ */
321
+ subjectId: string;
322
+ /**
323
+ * @generated from field: google.protobuf.Timestamp opened_at = 9;
324
+ */
325
+ openedAt?: Timestamp | undefined;
326
+ };
327
+ /**
328
+ * Describes the message core.v1.PolicyViolation.
329
+ * Use `create(PolicyViolationSchema)` to create a new message.
330
+ */
331
+ export declare const PolicyViolationSchema: GenMessage<PolicyViolation>;
332
+ /**
333
+ * PolicyEvaluation is an auditable policy-pack evaluation.
334
+ *
335
+ * @generated from message core.v1.PolicyEvaluation
336
+ */
337
+ export type PolicyEvaluation = Message<"core.v1.PolicyEvaluation"> & {
338
+ /**
339
+ * @generated from field: string id = 1;
340
+ */
341
+ id: string;
342
+ /**
343
+ * @generated from field: string workspace_id = 2;
344
+ */
345
+ workspaceId: string;
346
+ /**
347
+ * @generated from field: string policy_pack_id = 3;
348
+ */
349
+ policyPackId: string;
350
+ /**
351
+ * @generated from field: string policy_pack_version = 4;
352
+ */
353
+ policyPackVersion: string;
354
+ /**
355
+ * @generated from field: core.v1.LifecycleSubject subject = 5;
356
+ */
357
+ subject?: LifecycleSubject | undefined;
358
+ /**
359
+ * @generated from field: core.v1.PolicyDecision decision = 6;
360
+ */
361
+ decision: PolicyDecision;
362
+ /**
363
+ * @generated from field: repeated core.v1.PolicyViolation violations = 7;
364
+ */
365
+ violations: PolicyViolation[];
366
+ /**
367
+ * @generated from field: repeated core.v1.EvidenceRef evidence = 8;
368
+ */
369
+ evidence: EvidenceRef[];
370
+ /**
371
+ * @generated from field: string lineage_id = 9;
372
+ */
373
+ lineageId: string;
374
+ /**
375
+ * @generated from field: google.protobuf.Timestamp evaluated_at = 10;
376
+ */
377
+ evaluatedAt?: Timestamp | undefined;
378
+ };
379
+ /**
380
+ * Describes the message core.v1.PolicyEvaluation.
381
+ * Use `create(PolicyEvaluationSchema)` to create a new message.
382
+ */
383
+ export declare const PolicyEvaluationSchema: GenMessage<PolicyEvaluation>;
384
+ /**
385
+ * SubjectExplanation is the read-only Core answer for why a subject is blocked,
386
+ * what policy caused it, which evidence supports it, and what safe remediation
387
+ * path is available.
388
+ *
389
+ * @generated from message core.v1.SubjectExplanation
390
+ */
391
+ export type SubjectExplanation = Message<"core.v1.SubjectExplanation"> & {
392
+ /**
393
+ * @generated from field: string workspace_id = 1;
394
+ */
395
+ workspaceId: string;
396
+ /**
397
+ * @generated from field: string subject_id = 2;
398
+ */
399
+ subjectId: string;
400
+ /**
401
+ * @generated from field: core.v1.LifecycleSubject subject = 3;
402
+ */
403
+ subject?: LifecycleSubject | undefined;
404
+ /**
405
+ * @generated from field: string policy_pack_id = 4;
406
+ */
407
+ policyPackId: string;
408
+ /**
409
+ * @generated from field: string policy_pack_version = 5;
410
+ */
411
+ policyPackVersion: string;
412
+ /**
413
+ * @generated from field: core.v1.PolicyDecision decision = 6;
414
+ */
415
+ decision: PolicyDecision;
416
+ /**
417
+ * @generated from field: bool blocked = 7;
418
+ */
419
+ blocked: boolean;
420
+ /**
421
+ * @generated from field: repeated core.v1.PolicyViolation violations = 8;
422
+ */
423
+ violations: PolicyViolation[];
424
+ /**
425
+ * @generated from field: repeated core.v1.EvidenceRef evidence = 9;
426
+ */
427
+ evidence: EvidenceRef[];
428
+ /**
429
+ * @generated from field: repeated core.v1.SourceHealth source_health = 10;
430
+ */
431
+ sourceHealth: SourceHealth[];
432
+ /**
433
+ * @generated from field: repeated string lineage_ids = 11;
434
+ */
435
+ lineageIds: string[];
436
+ /**
437
+ * @generated from field: repeated core.v1.PolicyRemediation remediations = 12;
438
+ */
439
+ remediations: PolicyRemediation[];
440
+ /**
441
+ * @generated from field: string summary = 13;
442
+ */
443
+ summary: string;
444
+ /**
445
+ * @generated from field: google.protobuf.Timestamp evaluated_at = 14;
446
+ */
447
+ evaluatedAt?: Timestamp | undefined;
448
+ };
449
+ /**
450
+ * Describes the message core.v1.SubjectExplanation.
451
+ * Use `create(SubjectExplanationSchema)` to create a new message.
452
+ */
453
+ export declare const SubjectExplanationSchema: GenMessage<SubjectExplanation>;
454
+ /**
455
+ * ProviderResource is one normalized read-only provider inventory item.
456
+ *
457
+ * @generated from message core.v1.ProviderResource
458
+ */
459
+ export type ProviderResource = Message<"core.v1.ProviderResource"> & {
460
+ /**
461
+ * @generated from field: string id = 1;
462
+ */
463
+ id: string;
464
+ /**
465
+ * @generated from field: string workspace_id = 2;
466
+ */
467
+ workspaceId: string;
468
+ /**
469
+ * @generated from field: core.v1.ProviderKind provider_kind = 3;
470
+ */
471
+ providerKind: ProviderKind;
472
+ /**
473
+ * @generated from field: string resource_kind = 4;
474
+ */
475
+ resourceKind: string;
476
+ /**
477
+ * @generated from field: string external_id = 5;
478
+ */
479
+ externalId: string;
480
+ /**
481
+ * @generated from field: string display_name = 6;
482
+ */
483
+ displayName: string;
484
+ /**
485
+ * @generated from field: map<string, string> labels = 7;
486
+ */
487
+ labels: {
488
+ [key: string]: string;
489
+ };
490
+ /**
491
+ * @generated from field: google.protobuf.Struct attributes = 8;
492
+ */
493
+ attributes?: JsonObject | undefined;
494
+ /**
495
+ * @generated from field: repeated core.v1.EvidenceRef evidence = 9;
496
+ */
497
+ evidence: EvidenceRef[];
498
+ /**
499
+ * @generated from field: google.protobuf.Timestamp observed_at = 10;
500
+ */
501
+ observedAt?: Timestamp | undefined;
502
+ };
503
+ /**
504
+ * Describes the message core.v1.ProviderResource.
505
+ * Use `create(ProviderResourceSchema)` to create a new message.
506
+ */
507
+ export declare const ProviderResourceSchema: GenMessage<ProviderResource>;
508
+ /**
509
+ * SourceHealth records freshness and error state for one provider source.
510
+ *
511
+ * @generated from message core.v1.SourceHealth
512
+ */
513
+ export type SourceHealth = Message<"core.v1.SourceHealth"> & {
514
+ /**
515
+ * @generated from field: string workspace_id = 1;
516
+ */
517
+ workspaceId: string;
518
+ /**
519
+ * @generated from field: core.v1.ProviderKind provider_kind = 2;
520
+ */
521
+ providerKind: ProviderKind;
522
+ /**
523
+ * @generated from field: string source_id = 3;
524
+ */
525
+ sourceId: string;
526
+ /**
527
+ * @generated from field: core.v1.SourceHealthStatus status = 4;
528
+ */
529
+ status: SourceHealthStatus;
530
+ /**
531
+ * @generated from field: string message = 5;
532
+ */
533
+ message: string;
534
+ /**
535
+ * @generated from field: google.protobuf.Timestamp last_success_at = 6;
536
+ */
537
+ lastSuccessAt?: Timestamp | undefined;
538
+ /**
539
+ * @generated from field: google.protobuf.Timestamp checked_at = 7;
540
+ */
541
+ checkedAt?: Timestamp | undefined;
542
+ /**
543
+ * @generated from field: google.protobuf.Duration stale_after = 8;
544
+ */
545
+ staleAfter?: Duration | undefined;
546
+ /**
547
+ * @generated from field: repeated core.v1.EvidenceRef evidence = 9;
548
+ */
549
+ evidence: EvidenceRef[];
550
+ };
551
+ /**
552
+ * Describes the message core.v1.SourceHealth.
553
+ * Use `create(SourceHealthSchema)` to create a new message.
554
+ */
555
+ export declare const SourceHealthSchema: GenMessage<SourceHealth>;
556
+ /**
557
+ * CoreStatus is a read-only summary for operator status surfaces such as
558
+ * Core API, Slack, and Cerebro proof readback.
559
+ *
560
+ * @generated from message core.v1.CoreStatus
561
+ */
562
+ export type CoreStatus = Message<"core.v1.CoreStatus"> & {
563
+ /**
564
+ * @generated from field: string workspace_id = 1;
565
+ */
566
+ workspaceId: string;
567
+ /**
568
+ * @generated from field: int32 policy_pack_total = 2;
569
+ */
570
+ policyPackTotal: number;
571
+ /**
572
+ * @generated from field: int32 recorded_violation_total = 3;
573
+ */
574
+ recordedViolationTotal: number;
575
+ /**
576
+ * @generated from field: int32 source_total = 4;
577
+ */
578
+ sourceTotal: number;
579
+ /**
580
+ * @generated from field: int32 healthy_source_total = 5;
581
+ */
582
+ healthySourceTotal: number;
583
+ /**
584
+ * @generated from field: int32 stale_source_total = 6;
585
+ */
586
+ staleSourceTotal: number;
587
+ /**
588
+ * @generated from field: int32 degraded_source_total = 7;
589
+ */
590
+ degradedSourceTotal: number;
591
+ /**
592
+ * @generated from field: int32 missing_source_total = 8;
593
+ */
594
+ missingSourceTotal: number;
595
+ /**
596
+ * @generated from field: core.v1.SourceHealthStatus overall_source_health_status = 9;
597
+ */
598
+ overallSourceHealthStatus: SourceHealthStatus;
599
+ /**
600
+ * @generated from field: core.v1.PolicyDecision overall_policy_decision = 10;
601
+ */
602
+ overallPolicyDecision: PolicyDecision;
603
+ /**
604
+ * @generated from field: repeated core.v1.SourceHealth source_health = 11;
605
+ */
606
+ sourceHealth: SourceHealth[];
607
+ /**
608
+ * @generated from field: repeated core.v1.PolicyViolation recent_violations = 12;
609
+ */
610
+ recentViolations: PolicyViolation[];
611
+ /**
612
+ * @generated from field: string summary = 13;
613
+ */
614
+ summary: string;
615
+ /**
616
+ * @generated from field: google.protobuf.Timestamp checked_at = 14;
617
+ */
618
+ checkedAt?: Timestamp | undefined;
619
+ };
620
+ /**
621
+ * Describes the message core.v1.CoreStatus.
622
+ * Use `create(CoreStatusSchema)` to create a new message.
623
+ */
624
+ export declare const CoreStatusSchema: GenMessage<CoreStatus>;
625
+ /**
626
+ * ProviderSnapshot records one read-only inventory observation batch.
627
+ *
628
+ * @generated from message core.v1.ProviderSnapshot
629
+ */
630
+ export type ProviderSnapshot = Message<"core.v1.ProviderSnapshot"> & {
631
+ /**
632
+ * @generated from field: string id = 1;
633
+ */
634
+ id: string;
635
+ /**
636
+ * @generated from field: string workspace_id = 2;
637
+ */
638
+ workspaceId: string;
639
+ /**
640
+ * @generated from field: core.v1.ProviderKind provider_kind = 3;
641
+ */
642
+ providerKind: ProviderKind;
643
+ /**
644
+ * @generated from field: string source_id = 4;
645
+ */
646
+ sourceId: string;
647
+ /**
648
+ * @generated from field: repeated core.v1.ProviderResource resources = 5;
649
+ */
650
+ resources: ProviderResource[];
651
+ /**
652
+ * @generated from field: core.v1.SourceHealth source_health = 6;
653
+ */
654
+ sourceHealth?: SourceHealth | undefined;
655
+ /**
656
+ * @generated from field: string lineage_id = 7;
657
+ */
658
+ lineageId: string;
659
+ /**
660
+ * @generated from field: google.protobuf.Timestamp observed_at = 8;
661
+ */
662
+ observedAt?: Timestamp | undefined;
663
+ };
664
+ /**
665
+ * Describes the message core.v1.ProviderSnapshot.
666
+ * Use `create(ProviderSnapshotSchema)` to create a new message.
667
+ */
668
+ export declare const ProviderSnapshotSchema: GenMessage<ProviderSnapshot>;
669
+ /**
670
+ * @generated from message core.v1.ValidatePolicyPackRequest
671
+ */
672
+ export type ValidatePolicyPackRequest = Message<"core.v1.ValidatePolicyPackRequest"> & {
673
+ /**
674
+ * @generated from field: core.v1.PolicyPack policy_pack = 1;
675
+ */
676
+ policyPack?: PolicyPack | undefined;
677
+ };
678
+ /**
679
+ * Describes the message core.v1.ValidatePolicyPackRequest.
680
+ * Use `create(ValidatePolicyPackRequestSchema)` to create a new message.
681
+ */
682
+ export declare const ValidatePolicyPackRequestSchema: GenMessage<ValidatePolicyPackRequest>;
683
+ /**
684
+ * @generated from message core.v1.ValidatePolicyPackResponse
685
+ */
686
+ export type ValidatePolicyPackResponse = Message<"core.v1.ValidatePolicyPackResponse"> & {
687
+ /**
688
+ * @generated from field: bool valid = 1;
689
+ */
690
+ valid: boolean;
691
+ /**
692
+ * @generated from field: repeated string diagnostics = 2;
693
+ */
694
+ diagnostics: string[];
695
+ /**
696
+ * @generated from field: string fingerprint_sha256 = 3;
697
+ */
698
+ fingerprintSha256: string;
699
+ };
700
+ /**
701
+ * Describes the message core.v1.ValidatePolicyPackResponse.
702
+ * Use `create(ValidatePolicyPackResponseSchema)` to create a new message.
703
+ */
704
+ export declare const ValidatePolicyPackResponseSchema: GenMessage<ValidatePolicyPackResponse>;
705
+ /**
706
+ * @generated from message core.v1.EvaluatePolicyPackRequest
707
+ */
708
+ export type EvaluatePolicyPackRequest = Message<"core.v1.EvaluatePolicyPackRequest"> & {
709
+ /**
710
+ * @generated from field: core.v1.PolicyPack policy_pack = 1;
711
+ */
712
+ policyPack?: PolicyPack | undefined;
713
+ /**
714
+ * @generated from field: core.v1.LifecycleSubject subject = 2;
715
+ */
716
+ subject?: LifecycleSubject | undefined;
717
+ /**
718
+ * @generated from field: google.protobuf.Struct signals = 3;
719
+ */
720
+ signals?: JsonObject | undefined;
721
+ /**
722
+ * @generated from field: string lineage_id = 4;
723
+ */
724
+ lineageId: string;
725
+ };
726
+ /**
727
+ * Describes the message core.v1.EvaluatePolicyPackRequest.
728
+ * Use `create(EvaluatePolicyPackRequestSchema)` to create a new message.
729
+ */
730
+ export declare const EvaluatePolicyPackRequestSchema: GenMessage<EvaluatePolicyPackRequest>;
731
+ /**
732
+ * @generated from message core.v1.EvaluatePolicyPackResponse
733
+ */
734
+ export type EvaluatePolicyPackResponse = Message<"core.v1.EvaluatePolicyPackResponse"> & {
735
+ /**
736
+ * @generated from field: core.v1.PolicyEvaluation evaluation = 1;
737
+ */
738
+ evaluation?: PolicyEvaluation | undefined;
739
+ };
740
+ /**
741
+ * Describes the message core.v1.EvaluatePolicyPackResponse.
742
+ * Use `create(EvaluatePolicyPackResponseSchema)` to create a new message.
743
+ */
744
+ export declare const EvaluatePolicyPackResponseSchema: GenMessage<EvaluatePolicyPackResponse>;
745
+ /**
746
+ * @generated from message core.v1.ApplyPolicyPackRequest
747
+ */
748
+ export type ApplyPolicyPackRequest = Message<"core.v1.ApplyPolicyPackRequest"> & {
749
+ /**
750
+ * @generated from field: core.v1.PolicyPack policy_pack = 1;
751
+ */
752
+ policyPack?: PolicyPack | undefined;
753
+ /**
754
+ * @generated from field: string idempotency_key = 2;
755
+ */
756
+ idempotencyKey: string;
757
+ };
758
+ /**
759
+ * Describes the message core.v1.ApplyPolicyPackRequest.
760
+ * Use `create(ApplyPolicyPackRequestSchema)` to create a new message.
761
+ */
762
+ export declare const ApplyPolicyPackRequestSchema: GenMessage<ApplyPolicyPackRequest>;
763
+ /**
764
+ * @generated from message core.v1.ApplyPolicyPackResponse
765
+ */
766
+ export type ApplyPolicyPackResponse = Message<"core.v1.ApplyPolicyPackResponse"> & {
767
+ /**
768
+ * @generated from field: core.v1.PolicyPack policy_pack = 1;
769
+ */
770
+ policyPack?: PolicyPack | undefined;
771
+ };
772
+ /**
773
+ * Describes the message core.v1.ApplyPolicyPackResponse.
774
+ * Use `create(ApplyPolicyPackResponseSchema)` to create a new message.
775
+ */
776
+ export declare const ApplyPolicyPackResponseSchema: GenMessage<ApplyPolicyPackResponse>;
777
+ /**
778
+ * @generated from message core.v1.GetPolicyPackRequest
779
+ */
780
+ export type GetPolicyPackRequest = Message<"core.v1.GetPolicyPackRequest"> & {
781
+ /**
782
+ * @generated from field: string workspace_id = 1;
783
+ */
784
+ workspaceId: string;
785
+ /**
786
+ * @generated from field: string id = 2;
787
+ */
788
+ id: string;
789
+ /**
790
+ * @generated from field: string version = 3;
791
+ */
792
+ version: string;
793
+ };
794
+ /**
795
+ * Describes the message core.v1.GetPolicyPackRequest.
796
+ * Use `create(GetPolicyPackRequestSchema)` to create a new message.
797
+ */
798
+ export declare const GetPolicyPackRequestSchema: GenMessage<GetPolicyPackRequest>;
799
+ /**
800
+ * @generated from message core.v1.GetPolicyPackResponse
801
+ */
802
+ export type GetPolicyPackResponse = Message<"core.v1.GetPolicyPackResponse"> & {
803
+ /**
804
+ * @generated from field: core.v1.PolicyPack policy_pack = 1;
805
+ */
806
+ policyPack?: PolicyPack | undefined;
807
+ };
808
+ /**
809
+ * Describes the message core.v1.GetPolicyPackResponse.
810
+ * Use `create(GetPolicyPackResponseSchema)` to create a new message.
811
+ */
812
+ export declare const GetPolicyPackResponseSchema: GenMessage<GetPolicyPackResponse>;
813
+ /**
814
+ * @generated from message core.v1.ListPolicyPacksRequest
815
+ */
816
+ export type ListPolicyPacksRequest = Message<"core.v1.ListPolicyPacksRequest"> & {
817
+ /**
818
+ * @generated from field: string workspace_id = 1;
819
+ */
820
+ workspaceId: string;
821
+ /**
822
+ * @generated from field: int32 limit = 2;
823
+ */
824
+ limit: number;
825
+ /**
826
+ * @generated from field: int32 offset = 3;
827
+ */
828
+ offset: number;
829
+ };
830
+ /**
831
+ * Describes the message core.v1.ListPolicyPacksRequest.
832
+ * Use `create(ListPolicyPacksRequestSchema)` to create a new message.
833
+ */
834
+ export declare const ListPolicyPacksRequestSchema: GenMessage<ListPolicyPacksRequest>;
835
+ /**
836
+ * @generated from message core.v1.ListPolicyPacksResponse
837
+ */
838
+ export type ListPolicyPacksResponse = Message<"core.v1.ListPolicyPacksResponse"> & {
839
+ /**
840
+ * @generated from field: repeated core.v1.PolicyPack policy_packs = 1;
841
+ */
842
+ policyPacks: PolicyPack[];
843
+ /**
844
+ * @generated from field: int32 total = 2;
845
+ */
846
+ total: number;
847
+ };
848
+ /**
849
+ * Describes the message core.v1.ListPolicyPacksResponse.
850
+ * Use `create(ListPolicyPacksResponseSchema)` to create a new message.
851
+ */
852
+ export declare const ListPolicyPacksResponseSchema: GenMessage<ListPolicyPacksResponse>;
853
+ /**
854
+ * @generated from message core.v1.EvaluateSubjectRequest
855
+ */
856
+ export type EvaluateSubjectRequest = Message<"core.v1.EvaluateSubjectRequest"> & {
857
+ /**
858
+ * @generated from field: string workspace_id = 1;
859
+ */
860
+ workspaceId: string;
861
+ /**
862
+ * @generated from field: string policy_pack_id = 2;
863
+ */
864
+ policyPackId: string;
865
+ /**
866
+ * @generated from field: string policy_pack_version = 3;
867
+ */
868
+ policyPackVersion: string;
869
+ /**
870
+ * @generated from field: core.v1.LifecycleSubject subject = 4;
871
+ */
872
+ subject?: LifecycleSubject | undefined;
873
+ /**
874
+ * @generated from field: google.protobuf.Struct signals = 5;
875
+ */
876
+ signals?: JsonObject | undefined;
877
+ /**
878
+ * @generated from field: string lineage_id = 6;
879
+ */
880
+ lineageId: string;
881
+ };
882
+ /**
883
+ * Describes the message core.v1.EvaluateSubjectRequest.
884
+ * Use `create(EvaluateSubjectRequestSchema)` to create a new message.
885
+ */
886
+ export declare const EvaluateSubjectRequestSchema: GenMessage<EvaluateSubjectRequest>;
887
+ /**
888
+ * @generated from message core.v1.EvaluateSubjectResponse
889
+ */
890
+ export type EvaluateSubjectResponse = Message<"core.v1.EvaluateSubjectResponse"> & {
891
+ /**
892
+ * @generated from field: core.v1.PolicyEvaluation evaluation = 1;
893
+ */
894
+ evaluation?: PolicyEvaluation | undefined;
895
+ };
896
+ /**
897
+ * Describes the message core.v1.EvaluateSubjectResponse.
898
+ * Use `create(EvaluateSubjectResponseSchema)` to create a new message.
899
+ */
900
+ export declare const EvaluateSubjectResponseSchema: GenMessage<EvaluateSubjectResponse>;
901
+ /**
902
+ * @generated from message core.v1.ListViolationsRequest
903
+ */
904
+ export type ListViolationsRequest = Message<"core.v1.ListViolationsRequest"> & {
905
+ /**
906
+ * @generated from field: string workspace_id = 1;
907
+ */
908
+ workspaceId: string;
909
+ /**
910
+ * @generated from field: string subject_id = 2;
911
+ */
912
+ subjectId: string;
913
+ /**
914
+ * @generated from field: string policy_pack_id = 3;
915
+ */
916
+ policyPackId: string;
917
+ /**
918
+ * @generated from field: int32 limit = 4;
919
+ */
920
+ limit: number;
921
+ /**
922
+ * @generated from field: int32 offset = 5;
923
+ */
924
+ offset: number;
925
+ };
926
+ /**
927
+ * Describes the message core.v1.ListViolationsRequest.
928
+ * Use `create(ListViolationsRequestSchema)` to create a new message.
929
+ */
930
+ export declare const ListViolationsRequestSchema: GenMessage<ListViolationsRequest>;
931
+ /**
932
+ * @generated from message core.v1.ListViolationsResponse
933
+ */
934
+ export type ListViolationsResponse = Message<"core.v1.ListViolationsResponse"> & {
935
+ /**
936
+ * @generated from field: repeated core.v1.PolicyViolation violations = 1;
937
+ */
938
+ violations: PolicyViolation[];
939
+ /**
940
+ * @generated from field: int32 total = 2;
941
+ */
942
+ total: number;
943
+ };
944
+ /**
945
+ * Describes the message core.v1.ListViolationsResponse.
946
+ * Use `create(ListViolationsResponseSchema)` to create a new message.
947
+ */
948
+ export declare const ListViolationsResponseSchema: GenMessage<ListViolationsResponse>;
949
+ /**
950
+ * @generated from message core.v1.RecordProviderSnapshotRequest
951
+ */
952
+ export type RecordProviderSnapshotRequest = Message<"core.v1.RecordProviderSnapshotRequest"> & {
953
+ /**
954
+ * @generated from field: core.v1.ProviderSnapshot snapshot = 1;
955
+ */
956
+ snapshot?: ProviderSnapshot | undefined;
957
+ /**
958
+ * @generated from field: string idempotency_key = 2;
959
+ */
960
+ idempotencyKey: string;
961
+ };
962
+ /**
963
+ * Describes the message core.v1.RecordProviderSnapshotRequest.
964
+ * Use `create(RecordProviderSnapshotRequestSchema)` to create a new message.
965
+ */
966
+ export declare const RecordProviderSnapshotRequestSchema: GenMessage<RecordProviderSnapshotRequest>;
967
+ /**
968
+ * @generated from message core.v1.RecordProviderSnapshotResponse
969
+ */
970
+ export type RecordProviderSnapshotResponse = Message<"core.v1.RecordProviderSnapshotResponse"> & {
971
+ /**
972
+ * @generated from field: core.v1.ProviderSnapshot snapshot = 1;
973
+ */
974
+ snapshot?: ProviderSnapshot | undefined;
975
+ };
976
+ /**
977
+ * Describes the message core.v1.RecordProviderSnapshotResponse.
978
+ * Use `create(RecordProviderSnapshotResponseSchema)` to create a new message.
979
+ */
980
+ export declare const RecordProviderSnapshotResponseSchema: GenMessage<RecordProviderSnapshotResponse>;
981
+ /**
982
+ * @generated from message core.v1.GetSourceHealthRequest
983
+ */
984
+ export type GetSourceHealthRequest = Message<"core.v1.GetSourceHealthRequest"> & {
985
+ /**
986
+ * @generated from field: string workspace_id = 1;
987
+ */
988
+ workspaceId: string;
989
+ /**
990
+ * @generated from field: core.v1.ProviderKind provider_kind = 2;
991
+ */
992
+ providerKind: ProviderKind;
993
+ /**
994
+ * @generated from field: string source_id = 3;
995
+ */
996
+ sourceId: string;
997
+ };
998
+ /**
999
+ * Describes the message core.v1.GetSourceHealthRequest.
1000
+ * Use `create(GetSourceHealthRequestSchema)` to create a new message.
1001
+ */
1002
+ export declare const GetSourceHealthRequestSchema: GenMessage<GetSourceHealthRequest>;
1003
+ /**
1004
+ * @generated from message core.v1.GetSourceHealthResponse
1005
+ */
1006
+ export type GetSourceHealthResponse = Message<"core.v1.GetSourceHealthResponse"> & {
1007
+ /**
1008
+ * @generated from field: core.v1.SourceHealth source_health = 1;
1009
+ */
1010
+ sourceHealth?: SourceHealth | undefined;
1011
+ };
1012
+ /**
1013
+ * Describes the message core.v1.GetSourceHealthResponse.
1014
+ * Use `create(GetSourceHealthResponseSchema)` to create a new message.
1015
+ */
1016
+ export declare const GetSourceHealthResponseSchema: GenMessage<GetSourceHealthResponse>;
1017
+ /**
1018
+ * @generated from message core.v1.GetStatusRequest
1019
+ */
1020
+ export type GetStatusRequest = Message<"core.v1.GetStatusRequest"> & {
1021
+ /**
1022
+ * @generated from field: string workspace_id = 1;
1023
+ */
1024
+ workspaceId: string;
1025
+ /**
1026
+ * @generated from field: int32 source_limit = 2;
1027
+ */
1028
+ sourceLimit: number;
1029
+ /**
1030
+ * @generated from field: int32 violation_limit = 3;
1031
+ */
1032
+ violationLimit: number;
1033
+ };
1034
+ /**
1035
+ * Describes the message core.v1.GetStatusRequest.
1036
+ * Use `create(GetStatusRequestSchema)` to create a new message.
1037
+ */
1038
+ export declare const GetStatusRequestSchema: GenMessage<GetStatusRequest>;
1039
+ /**
1040
+ * @generated from message core.v1.GetStatusResponse
1041
+ */
1042
+ export type GetStatusResponse = Message<"core.v1.GetStatusResponse"> & {
1043
+ /**
1044
+ * @generated from field: core.v1.CoreStatus status = 1;
1045
+ */
1046
+ status?: CoreStatus | undefined;
1047
+ };
1048
+ /**
1049
+ * Describes the message core.v1.GetStatusResponse.
1050
+ * Use `create(GetStatusResponseSchema)` to create a new message.
1051
+ */
1052
+ export declare const GetStatusResponseSchema: GenMessage<GetStatusResponse>;
1053
+ /**
1054
+ * @generated from message core.v1.ExplainSubjectRequest
1055
+ */
1056
+ export type ExplainSubjectRequest = Message<"core.v1.ExplainSubjectRequest"> & {
1057
+ /**
1058
+ * @generated from field: string workspace_id = 1;
1059
+ */
1060
+ workspaceId: string;
1061
+ /**
1062
+ * @generated from field: string subject_id = 2;
1063
+ */
1064
+ subjectId: string;
1065
+ /**
1066
+ * @generated from field: string policy_pack_id = 3;
1067
+ */
1068
+ policyPackId: string;
1069
+ /**
1070
+ * @generated from field: core.v1.ProviderKind provider_kind = 4;
1071
+ */
1072
+ providerKind: ProviderKind;
1073
+ /**
1074
+ * @generated from field: string source_id = 5;
1075
+ */
1076
+ sourceId: string;
1077
+ };
1078
+ /**
1079
+ * Describes the message core.v1.ExplainSubjectRequest.
1080
+ * Use `create(ExplainSubjectRequestSchema)` to create a new message.
1081
+ */
1082
+ export declare const ExplainSubjectRequestSchema: GenMessage<ExplainSubjectRequest>;
1083
+ /**
1084
+ * @generated from message core.v1.ExplainSubjectResponse
1085
+ */
1086
+ export type ExplainSubjectResponse = Message<"core.v1.ExplainSubjectResponse"> & {
1087
+ /**
1088
+ * @generated from field: core.v1.SubjectExplanation explanation = 1;
1089
+ */
1090
+ explanation?: SubjectExplanation | undefined;
1091
+ };
1092
+ /**
1093
+ * Describes the message core.v1.ExplainSubjectResponse.
1094
+ * Use `create(ExplainSubjectResponseSchema)` to create a new message.
1095
+ */
1096
+ export declare const ExplainSubjectResponseSchema: GenMessage<ExplainSubjectResponse>;
1097
+ /**
1098
+ * LifecycleSubjectKind identifies the company object a policy targets.
1099
+ *
1100
+ * @generated from enum core.v1.LifecycleSubjectKind
1101
+ */
1102
+ export declare enum LifecycleSubjectKind {
1103
+ /**
1104
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_UNSPECIFIED = 0;
1105
+ */
1106
+ UNSPECIFIED = 0,
1107
+ /**
1108
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_PERSON = 1;
1109
+ */
1110
+ PERSON = 1,
1111
+ /**
1112
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_WORKER = 2;
1113
+ */
1114
+ WORKER = 2,
1115
+ /**
1116
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_IDENTITY_ACCOUNT = 3;
1117
+ */
1118
+ IDENTITY_ACCOUNT = 3,
1119
+ /**
1120
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_SAAS_ACCOUNT = 4;
1121
+ */
1122
+ SAAS_ACCOUNT = 4,
1123
+ /**
1124
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_SERVICE_ACCOUNT = 5;
1125
+ */
1126
+ SERVICE_ACCOUNT = 5,
1127
+ /**
1128
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_GROUP = 6;
1129
+ */
1130
+ GROUP = 6,
1131
+ /**
1132
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_DEVICE = 7;
1133
+ */
1134
+ DEVICE = 7,
1135
+ /**
1136
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_RESOURCE = 8;
1137
+ */
1138
+ RESOURCE = 8,
1139
+ /**
1140
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_SERVICE = 9;
1141
+ */
1142
+ SERVICE = 9,
1143
+ /**
1144
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_REPOSITORY = 10;
1145
+ */
1146
+ REPOSITORY = 10,
1147
+ /**
1148
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_POLICY = 11;
1149
+ */
1150
+ POLICY = 11,
1151
+ /**
1152
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_CONTROL = 12;
1153
+ */
1154
+ CONTROL = 12,
1155
+ /**
1156
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_EXCEPTION = 13;
1157
+ */
1158
+ EXCEPTION = 13,
1159
+ /**
1160
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_ACCESS_REQUEST = 14;
1161
+ */
1162
+ ACCESS_REQUEST = 14,
1163
+ /**
1164
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_ACCESS_GRANT = 15;
1165
+ */
1166
+ ACCESS_GRANT = 15,
1167
+ /**
1168
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_CHECKLIST_RUN = 16;
1169
+ */
1170
+ CHECKLIST_RUN = 16,
1171
+ /**
1172
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_CHECKLIST_ITEM = 17;
1173
+ */
1174
+ CHECKLIST_ITEM = 17,
1175
+ /**
1176
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_TAILNET_NODE = 18;
1177
+ */
1178
+ TAILNET_NODE = 18,
1179
+ /**
1180
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_GCP_PROJECT = 19;
1181
+ */
1182
+ GCP_PROJECT = 19,
1183
+ /**
1184
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_PROXMOX_NODE = 20;
1185
+ */
1186
+ PROXMOX_NODE = 20,
1187
+ /**
1188
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_PROXMOX_VM = 21;
1189
+ */
1190
+ PROXMOX_VM = 21,
1191
+ /**
1192
+ * @generated from enum value: LIFECYCLE_SUBJECT_KIND_RUNNER = 22;
1193
+ */
1194
+ RUNNER = 22
1195
+ }
1196
+ /**
1197
+ * Describes the enum core.v1.LifecycleSubjectKind.
1198
+ */
1199
+ export declare const LifecycleSubjectKindSchema: GenEnum<LifecycleSubjectKind>;
1200
+ /**
1201
+ * ProviderKind identifies the source or provider family a signal came from.
1202
+ *
1203
+ * @generated from enum core.v1.ProviderKind
1204
+ */
1205
+ export declare enum ProviderKind {
1206
+ /**
1207
+ * @generated from enum value: PROVIDER_KIND_UNSPECIFIED = 0;
1208
+ */
1209
+ UNSPECIFIED = 0,
1210
+ /**
1211
+ * @generated from enum value: PROVIDER_KIND_GOOGLE_WORKSPACE = 1;
1212
+ */
1213
+ GOOGLE_WORKSPACE = 1,
1214
+ /**
1215
+ * @generated from enum value: PROVIDER_KIND_SLACK = 2;
1216
+ */
1217
+ SLACK = 2,
1218
+ /**
1219
+ * @generated from enum value: PROVIDER_KIND_GITHUB = 3;
1220
+ */
1221
+ GITHUB = 3,
1222
+ /**
1223
+ * @generated from enum value: PROVIDER_KIND_TAILSCALE = 4;
1224
+ */
1225
+ TAILSCALE = 4,
1226
+ /**
1227
+ * @generated from enum value: PROVIDER_KIND_GCP = 5;
1228
+ */
1229
+ GCP = 5,
1230
+ /**
1231
+ * @generated from enum value: PROVIDER_KIND_PROXMOX = 6;
1232
+ */
1233
+ PROXMOX = 6,
1234
+ /**
1235
+ * @generated from enum value: PROVIDER_KIND_MDM = 7;
1236
+ */
1237
+ MDM = 7,
1238
+ /**
1239
+ * @generated from enum value: PROVIDER_KIND_OSQUERY = 8;
1240
+ */
1241
+ OSQUERY = 8,
1242
+ /**
1243
+ * @generated from enum value: PROVIDER_KIND_SANTA = 9;
1244
+ */
1245
+ SANTA = 9,
1246
+ /**
1247
+ * @generated from enum value: PROVIDER_KIND_MUNKI = 10;
1248
+ */
1249
+ MUNKI = 10,
1250
+ /**
1251
+ * @generated from enum value: PROVIDER_KIND_NUDGE = 11;
1252
+ */
1253
+ NUDGE = 11
1254
+ }
1255
+ /**
1256
+ * Describes the enum core.v1.ProviderKind.
1257
+ */
1258
+ export declare const ProviderKindSchema: GenEnum<ProviderKind>;
1259
+ /**
1260
+ * RequirementOperator describes how a signal is compared to expected values.
1261
+ *
1262
+ * @generated from enum core.v1.RequirementOperator
1263
+ */
1264
+ export declare enum RequirementOperator {
1265
+ /**
1266
+ * @generated from enum value: REQUIREMENT_OPERATOR_UNSPECIFIED = 0;
1267
+ */
1268
+ UNSPECIFIED = 0,
1269
+ /**
1270
+ * @generated from enum value: REQUIREMENT_OPERATOR_EXISTS = 1;
1271
+ */
1272
+ EXISTS = 1,
1273
+ /**
1274
+ * @generated from enum value: REQUIREMENT_OPERATOR_EQUALS = 2;
1275
+ */
1276
+ EQUALS = 2,
1277
+ /**
1278
+ * @generated from enum value: REQUIREMENT_OPERATOR_NOT_EQUALS = 3;
1279
+ */
1280
+ NOT_EQUALS = 3,
1281
+ /**
1282
+ * @generated from enum value: REQUIREMENT_OPERATOR_IN = 4;
1283
+ */
1284
+ IN = 4,
1285
+ /**
1286
+ * @generated from enum value: REQUIREMENT_OPERATOR_CONTAINS = 5;
1287
+ */
1288
+ CONTAINS = 5,
1289
+ /**
1290
+ * @generated from enum value: REQUIREMENT_OPERATOR_TRUTHY = 6;
1291
+ */
1292
+ TRUTHY = 6,
1293
+ /**
1294
+ * @generated from enum value: REQUIREMENT_OPERATOR_VERSION_GTE = 7;
1295
+ */
1296
+ VERSION_GTE = 7
1297
+ }
1298
+ /**
1299
+ * Describes the enum core.v1.RequirementOperator.
1300
+ */
1301
+ export declare const RequirementOperatorSchema: GenEnum<RequirementOperator>;
1302
+ /**
1303
+ * PolicySeverity ranks violations for operator routing.
1304
+ *
1305
+ * @generated from enum core.v1.PolicySeverity
1306
+ */
1307
+ export declare enum PolicySeverity {
1308
+ /**
1309
+ * @generated from enum value: POLICY_SEVERITY_UNSPECIFIED = 0;
1310
+ */
1311
+ UNSPECIFIED = 0,
1312
+ /**
1313
+ * @generated from enum value: POLICY_SEVERITY_INFO = 1;
1314
+ */
1315
+ INFO = 1,
1316
+ /**
1317
+ * @generated from enum value: POLICY_SEVERITY_LOW = 2;
1318
+ */
1319
+ LOW = 2,
1320
+ /**
1321
+ * @generated from enum value: POLICY_SEVERITY_MEDIUM = 3;
1322
+ */
1323
+ MEDIUM = 3,
1324
+ /**
1325
+ * @generated from enum value: POLICY_SEVERITY_HIGH = 4;
1326
+ */
1327
+ HIGH = 4,
1328
+ /**
1329
+ * @generated from enum value: POLICY_SEVERITY_CRITICAL = 5;
1330
+ */
1331
+ CRITICAL = 5
1332
+ }
1333
+ /**
1334
+ * Describes the enum core.v1.PolicySeverity.
1335
+ */
1336
+ export declare const PolicySeveritySchema: GenEnum<PolicySeverity>;
1337
+ /**
1338
+ * EnforcementMode describes what a caller should do with a violation.
1339
+ *
1340
+ * @generated from enum core.v1.EnforcementMode
1341
+ */
1342
+ export declare enum EnforcementMode {
1343
+ /**
1344
+ * @generated from enum value: ENFORCEMENT_MODE_UNSPECIFIED = 0;
1345
+ */
1346
+ UNSPECIFIED = 0,
1347
+ /**
1348
+ * @generated from enum value: ENFORCEMENT_MODE_DISABLED = 1;
1349
+ */
1350
+ DISABLED = 1,
1351
+ /**
1352
+ * @generated from enum value: ENFORCEMENT_MODE_AUDIT = 2;
1353
+ */
1354
+ AUDIT = 2,
1355
+ /**
1356
+ * @generated from enum value: ENFORCEMENT_MODE_DRY_RUN = 3;
1357
+ */
1358
+ DRY_RUN = 3,
1359
+ /**
1360
+ * @generated from enum value: ENFORCEMENT_MODE_REQUIRE_APPROVAL = 4;
1361
+ */
1362
+ REQUIRE_APPROVAL = 4,
1363
+ /**
1364
+ * @generated from enum value: ENFORCEMENT_MODE_BLOCK = 5;
1365
+ */
1366
+ BLOCK = 5
1367
+ }
1368
+ /**
1369
+ * Describes the enum core.v1.EnforcementMode.
1370
+ */
1371
+ export declare const EnforcementModeSchema: GenEnum<EnforcementMode>;
1372
+ /**
1373
+ * PolicyDecision summarizes one policy-pack evaluation result.
1374
+ *
1375
+ * @generated from enum core.v1.PolicyDecision
1376
+ */
1377
+ export declare enum PolicyDecision {
1378
+ /**
1379
+ * @generated from enum value: POLICY_DECISION_UNSPECIFIED = 0;
1380
+ */
1381
+ UNSPECIFIED = 0,
1382
+ /**
1383
+ * @generated from enum value: POLICY_DECISION_ALLOW = 1;
1384
+ */
1385
+ ALLOW = 1,
1386
+ /**
1387
+ * @generated from enum value: POLICY_DECISION_WARN = 2;
1388
+ */
1389
+ WARN = 2,
1390
+ /**
1391
+ * @generated from enum value: POLICY_DECISION_DRY_RUN = 3;
1392
+ */
1393
+ DRY_RUN = 3,
1394
+ /**
1395
+ * @generated from enum value: POLICY_DECISION_REQUIRE_APPROVAL = 4;
1396
+ */
1397
+ REQUIRE_APPROVAL = 4,
1398
+ /**
1399
+ * @generated from enum value: POLICY_DECISION_DENY = 5;
1400
+ */
1401
+ DENY = 5
1402
+ }
1403
+ /**
1404
+ * Describes the enum core.v1.PolicyDecision.
1405
+ */
1406
+ export declare const PolicyDecisionSchema: GenEnum<PolicyDecision>;
1407
+ /**
1408
+ * SourceHealthStatus summarizes whether a provider source can be trusted for
1409
+ * current policy evaluation.
1410
+ *
1411
+ * @generated from enum core.v1.SourceHealthStatus
1412
+ */
1413
+ export declare enum SourceHealthStatus {
1414
+ /**
1415
+ * @generated from enum value: SOURCE_HEALTH_STATUS_UNSPECIFIED = 0;
1416
+ */
1417
+ UNSPECIFIED = 0,
1418
+ /**
1419
+ * @generated from enum value: SOURCE_HEALTH_STATUS_HEALTHY = 1;
1420
+ */
1421
+ HEALTHY = 1,
1422
+ /**
1423
+ * @generated from enum value: SOURCE_HEALTH_STATUS_STALE = 2;
1424
+ */
1425
+ STALE = 2,
1426
+ /**
1427
+ * @generated from enum value: SOURCE_HEALTH_STATUS_DEGRADED = 3;
1428
+ */
1429
+ DEGRADED = 3,
1430
+ /**
1431
+ * @generated from enum value: SOURCE_HEALTH_STATUS_MISSING = 4;
1432
+ */
1433
+ MISSING = 4
1434
+ }
1435
+ /**
1436
+ * Describes the enum core.v1.SourceHealthStatus.
1437
+ */
1438
+ export declare const SourceHealthStatusSchema: GenEnum<SourceHealthStatus>;
1439
+ /**
1440
+ * CoreService evaluates declarative operating policies against lifecycle,
1441
+ * posture, access, and provider-inventory signals.
1442
+ *
1443
+ * @generated from service core.v1.CoreService
1444
+ */
1445
+ export declare const CoreService: GenService<{
1446
+ /**
1447
+ * ValidatePolicyPack checks a policy pack without recording state or
1448
+ * mutating providers.
1449
+ *
1450
+ * @generated from rpc core.v1.CoreService.ValidatePolicyPack
1451
+ */
1452
+ validatePolicyPack: {
1453
+ methodKind: "unary";
1454
+ input: typeof ValidatePolicyPackRequestSchema;
1455
+ output: typeof ValidatePolicyPackResponseSchema;
1456
+ };
1457
+ /**
1458
+ * EvaluatePolicyPack evaluates one lifecycle subject against a policy pack.
1459
+ *
1460
+ * @generated from rpc core.v1.CoreService.EvaluatePolicyPack
1461
+ */
1462
+ evaluatePolicyPack: {
1463
+ methodKind: "unary";
1464
+ input: typeof EvaluatePolicyPackRequestSchema;
1465
+ output: typeof EvaluatePolicyPackResponseSchema;
1466
+ };
1467
+ /**
1468
+ * ApplyPolicyPack records or updates a reviewed policy pack.
1469
+ *
1470
+ * @generated from rpc core.v1.CoreService.ApplyPolicyPack
1471
+ */
1472
+ applyPolicyPack: {
1473
+ methodKind: "unary";
1474
+ input: typeof ApplyPolicyPackRequestSchema;
1475
+ output: typeof ApplyPolicyPackResponseSchema;
1476
+ };
1477
+ /**
1478
+ * GetPolicyPack returns one recorded policy pack.
1479
+ *
1480
+ * @generated from rpc core.v1.CoreService.GetPolicyPack
1481
+ */
1482
+ getPolicyPack: {
1483
+ methodKind: "unary";
1484
+ input: typeof GetPolicyPackRequestSchema;
1485
+ output: typeof GetPolicyPackResponseSchema;
1486
+ };
1487
+ /**
1488
+ * ListPolicyPacks returns recorded policy packs for a workspace.
1489
+ *
1490
+ * @generated from rpc core.v1.CoreService.ListPolicyPacks
1491
+ */
1492
+ listPolicyPacks: {
1493
+ methodKind: "unary";
1494
+ input: typeof ListPolicyPacksRequestSchema;
1495
+ output: typeof ListPolicyPacksResponseSchema;
1496
+ };
1497
+ /**
1498
+ * EvaluateSubject evaluates a subject against a recorded policy pack and
1499
+ * records the evaluation and violations.
1500
+ *
1501
+ * @generated from rpc core.v1.CoreService.EvaluateSubject
1502
+ */
1503
+ evaluateSubject: {
1504
+ methodKind: "unary";
1505
+ input: typeof EvaluateSubjectRequestSchema;
1506
+ output: typeof EvaluateSubjectResponseSchema;
1507
+ };
1508
+ /**
1509
+ * ListViolations returns recorded policy violations.
1510
+ *
1511
+ * @generated from rpc core.v1.CoreService.ListViolations
1512
+ */
1513
+ listViolations: {
1514
+ methodKind: "unary";
1515
+ input: typeof ListViolationsRequestSchema;
1516
+ output: typeof ListViolationsResponseSchema;
1517
+ };
1518
+ /**
1519
+ * RecordProviderSnapshot records read-only provider inventory observations.
1520
+ *
1521
+ * @generated from rpc core.v1.CoreService.RecordProviderSnapshot
1522
+ */
1523
+ recordProviderSnapshot: {
1524
+ methodKind: "unary";
1525
+ input: typeof RecordProviderSnapshotRequestSchema;
1526
+ output: typeof RecordProviderSnapshotResponseSchema;
1527
+ };
1528
+ /**
1529
+ * GetSourceHealth returns freshness and error state for one provider source.
1530
+ *
1531
+ * @generated from rpc core.v1.CoreService.GetSourceHealth
1532
+ */
1533
+ getSourceHealth: {
1534
+ methodKind: "unary";
1535
+ input: typeof GetSourceHealthRequestSchema;
1536
+ output: typeof GetSourceHealthResponseSchema;
1537
+ };
1538
+ /**
1539
+ * GetStatus returns a workspace-level read-only Core posture summary.
1540
+ *
1541
+ * @generated from rpc core.v1.CoreService.GetStatus
1542
+ */
1543
+ getStatus: {
1544
+ methodKind: "unary";
1545
+ input: typeof GetStatusRequestSchema;
1546
+ output: typeof GetStatusResponseSchema;
1547
+ };
1548
+ /**
1549
+ * ExplainSubject returns the latest recorded Core explanation for a subject.
1550
+ *
1551
+ * @generated from rpc core.v1.CoreService.ExplainSubject
1552
+ */
1553
+ explainSubject: {
1554
+ methodKind: "unary";
1555
+ input: typeof ExplainSubjectRequestSchema;
1556
+ output: typeof ExplainSubjectResponseSchema;
1557
+ };
1558
+ }>;