@tailor-platform/sdk 2.30.0 → 2.33.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.
Files changed (120) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/dist/ai/index.d.mts +112 -0
  3. package/dist/ai/index.mjs +2 -0
  4. package/dist/ai/index.mjs.map +1 -0
  5. package/dist/aigateway-DsWDjzk4.mjs.map +1 -1
  6. package/dist/{application-D0xNJbag.mjs → application-B9_NHiUC.mjs} +40 -32
  7. package/dist/application-B9_NHiUC.mjs.map +1 -0
  8. package/dist/application-Bet1K5C4.mjs +1 -0
  9. package/dist/assert-WeXvmG4j.mjs.map +1 -1
  10. package/dist/authconnection-CynFBIv8.mjs.map +1 -1
  11. package/dist/brand-C8nMKhJC.mjs.map +1 -1
  12. package/dist/cli/commands/deploy/staticwebsite.d.mts +1 -0
  13. package/dist/cli/lib.mjs +1 -1
  14. package/dist/cli/lib.mjs.map +1 -1
  15. package/dist/cli/main.mjs +44 -33
  16. package/dist/cli/main.mjs.map +1 -1
  17. package/dist/cli/services/resolver/service.d.mts +1 -0
  18. package/dist/cli/shared/client.d.mts +52 -1
  19. package/dist/cli/ts-hook.d.mts +0 -2
  20. package/dist/cli/ts-hook.mjs +0 -113
  21. package/dist/completion/zsh-worker.zsh +30 -6
  22. package/dist/configure/index.mjs.map +1 -1
  23. package/dist/configure/services/staticwebsite/index.d.mts +6 -1
  24. package/dist/context-D0QjfxzD.mjs.map +1 -1
  25. package/dist/crashreport-BCIy33Cz.mjs.map +1 -1
  26. package/dist/date-CgP7gMG_.mjs.map +1 -1
  27. package/dist/date-representation-Cr7W7Pn2.mjs.map +1 -1
  28. package/dist/errors-BOF68LJ5.mjs.map +1 -1
  29. package/dist/es-builtins-SfvXRVoG.mjs.map +1 -1
  30. package/dist/field-parse-C41e3UAF.mjs.map +1 -1
  31. package/dist/file-DKBOj5q4.mjs.map +1 -1
  32. package/dist/globals-BCmGX05J.mjs.map +1 -1
  33. package/dist/guards-yDXyKC9F.mjs.map +1 -1
  34. package/dist/iconv-DlFMt2gW.mjs.map +1 -1
  35. package/dist/idp-G_ojPBB5.mjs.map +1 -1
  36. package/dist/interceptor-DQg3cR_9.mjs.map +1 -1
  37. package/dist/kysely/index.mjs.map +1 -1
  38. package/dist/kysely-type-DxyIWXc6.mjs +51 -0
  39. package/dist/kysely-type-DxyIWXc6.mjs.map +1 -0
  40. package/dist/logger-DP2BjQ93.mjs.map +1 -1
  41. package/dist/logger-RgtbhJ83.mjs.map +1 -1
  42. package/dist/manager-DTRhIupk.mjs +2 -0
  43. package/dist/manager-DTRhIupk.mjs.map +1 -0
  44. package/dist/migration-steps-C6F3zNdQ.mjs.map +1 -1
  45. package/dist/multiline-EyzjEwn9.mjs.map +1 -1
  46. package/dist/node-builtins-DYfhPBnz.mjs.map +1 -1
  47. package/dist/package-json-C690ceex.mjs.map +1 -1
  48. package/dist/platform-serialize-DkiTdHOt.mjs.map +1 -1
  49. package/dist/plugin/builtin/enum-constants/index.mjs +2 -2
  50. package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -1
  51. package/dist/plugin/builtin/file-utils/index.mjs.map +1 -1
  52. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  53. package/dist/plugin/index.mjs +1 -1
  54. package/dist/plugin/index.mjs.map +1 -1
  55. package/dist/plugin/types.d.mts +3 -0
  56. package/dist/register-ts-hook-Dp9reSRG.mjs +1053 -0
  57. package/dist/register-ts-hook-Dp9reSRG.mjs.map +1 -0
  58. package/dist/registry-BijIDRVA.mjs.map +1 -1
  59. package/dist/repl-editor-DkrCZmmg.mjs +2 -0
  60. package/dist/repl-editor-DkrCZmmg.mjs.map +1 -0
  61. package/dist/schema-B6hJQWp6.mjs.map +1 -1
  62. package/dist/secret-file-C9wp_FCX.mjs.map +1 -1
  63. package/dist/secretmanager-vHQoXdQz.mjs.map +1 -1
  64. package/dist/seed/index.mjs.map +1 -1
  65. package/dist/seed-Cn-3JApy.mjs.map +1 -1
  66. package/dist/service-9SBPNpK8.mjs.map +1 -1
  67. package/dist/service-9rwi_I4d.mjs.map +1 -1
  68. package/dist/service_pb-6EkMfdOb.mjs +2 -0
  69. package/dist/service_pb-6EkMfdOb.mjs.map +1 -0
  70. package/dist/service_pb-CsJKokDl.mjs +1 -0
  71. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +5 -2
  72. package/dist/tailor-proto/src/tailor/v1/security_pb.d.mts +213 -0
  73. package/dist/tailor-proto/src/tailor/v1/security_resource_pb.d.mts +301 -0
  74. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +200 -8
  75. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +201 -1
  76. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +88 -1
  77. package/dist/telemetry-DfT2UfI4.mjs +2 -0
  78. package/dist/telemetry-DfT2UfI4.mjs.map +1 -0
  79. package/dist/{telemetry-DpkFGBmu.mjs → telemetry-nqOtDWNO.mjs} +1 -1
  80. package/dist/type-source--ZNcV8RJ.mjs.map +1 -1
  81. package/dist/types/staticwebsite.generated.d.mts +9 -1
  82. package/dist/user-agent-vdHYF3QL.mjs.map +1 -1
  83. package/dist/utils/test/index.mjs.map +1 -1
  84. package/dist/vitest/environment.mjs.map +1 -1
  85. package/dist/vitest/index.d.mts +2 -2
  86. package/dist/vitest/index.mjs +1 -1
  87. package/dist/vitest/index.mjs.map +1 -1
  88. package/dist/vitest/pglite-kysely.d.mts +19 -0
  89. package/dist/vitest/setup.mjs.map +1 -1
  90. package/dist/wait-point-invoker-eiP-IIux.mjs.map +1 -1
  91. package/dist/wait-point-registry-B-ESkTZX.mjs.map +1 -1
  92. package/dist/workflow-Cs9ISw6j.mjs.map +1 -1
  93. package/dist/{workspace_resource_pb-CaoM2npP.mjs → workspace_resource_pb-C4CkoYww.mjs} +2 -2
  94. package/dist/workspace_resource_pb-C4CkoYww.mjs.map +1 -0
  95. package/docs/ai.md +92 -0
  96. package/docs/cli/tailordb.md +17 -15
  97. package/docs/cli/workspace.md +1 -1
  98. package/docs/github-actions.md +98 -11
  99. package/docs/plugin/custom.md +34 -0
  100. package/docs/plugin/index.md +1 -0
  101. package/docs/services/staticwebsite.md +31 -1
  102. package/docs/services/tailordb/migration.md +78 -41
  103. package/docs/testing.md +2 -1
  104. package/package.json +20 -13
  105. package/dist/application-C2bPmmbh.mjs +0 -1
  106. package/dist/application-D0xNJbag.mjs.map +0 -1
  107. package/dist/kysely-type-BWMfV301.mjs +0 -48
  108. package/dist/kysely-type-BWMfV301.mjs.map +0 -1
  109. package/dist/manager-Bk-7vkwd.mjs +0 -2
  110. package/dist/manager-Bk-7vkwd.mjs.map +0 -1
  111. package/dist/register-ts-hook-CDnN_Jx2.mjs +0 -1012
  112. package/dist/register-ts-hook-CDnN_Jx2.mjs.map +0 -1
  113. package/dist/repl-editor-DGJBfIt1.mjs +0 -2
  114. package/dist/repl-editor-DGJBfIt1.mjs.map +0 -1
  115. package/dist/service_pb-Bbu2QSIr.mjs +0 -2
  116. package/dist/service_pb-Bbu2QSIr.mjs.map +0 -1
  117. package/dist/service_pb-urxAIYHT.mjs +0 -1
  118. package/dist/telemetry-Xk7J829P.mjs +0 -2
  119. package/dist/telemetry-Xk7J829P.mjs.map +0 -1
  120. package/dist/workspace_resource_pb-CaoM2npP.mjs.map +0 -1
@@ -0,0 +1,213 @@
1
+ import { PageDirection } from "./resource_pb.mjs";
2
+ import { SecurityCheck, SecurityCheckType, SecurityFinding, SecurityFindingMute, SecurityResource } from "./security_resource_pb.mjs";
3
+ import { GenMessage } from "@bufbuild/protobuf/codegenv2";
4
+ import { Message } from "@bufbuild/protobuf";
5
+ //#region ../tailor-proto/src/tailor/v1/security_pb.d.ts
6
+ /**
7
+ * @generated from message tailor.v1.ListOrganizationSecurityChecksRequest
8
+ */
9
+ export declare type ListOrganizationSecurityChecksRequest = Message<"tailor.v1.ListOrganizationSecurityChecksRequest"> & {
10
+ /**
11
+ * @generated from field: string organization_id = 1;
12
+ */
13
+ organizationId: string;
14
+ };
15
+ /**
16
+ * Describes the message tailor.v1.ListOrganizationSecurityChecksRequest.
17
+ * Use `create(ListOrganizationSecurityChecksRequestSchema)` to create a new message.
18
+ */
19
+ export declare const ListOrganizationSecurityChecksRequestSchema: GenMessage<ListOrganizationSecurityChecksRequest>;
20
+ /**
21
+ * @generated from message tailor.v1.ListOrganizationSecurityChecksResponse
22
+ */
23
+ export declare type ListOrganizationSecurityChecksResponse = Message<"tailor.v1.ListOrganizationSecurityChecksResponse"> & {
24
+ /**
25
+ * @generated from field: repeated tailor.v1.SecurityCheck checks = 1;
26
+ */
27
+ checks: SecurityCheck[];
28
+ };
29
+ /**
30
+ * Describes the message tailor.v1.ListOrganizationSecurityChecksResponse.
31
+ * Use `create(ListOrganizationSecurityChecksResponseSchema)` to create a new message.
32
+ */
33
+ export declare const ListOrganizationSecurityChecksResponseSchema: GenMessage<ListOrganizationSecurityChecksResponse>;
34
+ /**
35
+ * @generated from message tailor.v1.ListOrganizationSecurityFindingsRequest
36
+ */
37
+ export declare type ListOrganizationSecurityFindingsRequest = Message<"tailor.v1.ListOrganizationSecurityFindingsRequest"> & {
38
+ /**
39
+ * @generated from field: string page_token = 1;
40
+ */
41
+ pageToken: string;
42
+ /**
43
+ * @generated from field: uint32 page_size = 2;
44
+ */
45
+ pageSize: number;
46
+ /**
47
+ * @generated from field: tailor.v1.PageDirection page_direction = 3;
48
+ */
49
+ pageDirection: PageDirection;
50
+ /**
51
+ * @generated from field: string organization_id = 4;
52
+ */
53
+ organizationId: string;
54
+ /**
55
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 5;
56
+ */
57
+ checkType: SecurityCheckType;
58
+ /**
59
+ * @generated from field: string workspace_id = 6;
60
+ */
61
+ workspaceId: string;
62
+ /**
63
+ * @generated from field: bool include_muted = 7;
64
+ */
65
+ includeMuted: boolean;
66
+ };
67
+ /**
68
+ * Describes the message tailor.v1.ListOrganizationSecurityFindingsRequest.
69
+ * Use `create(ListOrganizationSecurityFindingsRequestSchema)` to create a new message.
70
+ */
71
+ export declare const ListOrganizationSecurityFindingsRequestSchema: GenMessage<ListOrganizationSecurityFindingsRequest>;
72
+ /**
73
+ * @generated from message tailor.v1.ListOrganizationSecurityFindingsResponse
74
+ */
75
+ export declare type ListOrganizationSecurityFindingsResponse = Message<"tailor.v1.ListOrganizationSecurityFindingsResponse"> & {
76
+ /**
77
+ * @generated from field: string next_page_token = 1;
78
+ */
79
+ nextPageToken: string;
80
+ /**
81
+ * @generated from field: int64 total_count = 2;
82
+ */
83
+ totalCount: bigint;
84
+ /**
85
+ * @generated from field: repeated tailor.v1.SecurityFinding findings = 3;
86
+ */
87
+ findings: SecurityFinding[];
88
+ };
89
+ /**
90
+ * Describes the message tailor.v1.ListOrganizationSecurityFindingsResponse.
91
+ * Use `create(ListOrganizationSecurityFindingsResponseSchema)` to create a new message.
92
+ */
93
+ export declare const ListOrganizationSecurityFindingsResponseSchema: GenMessage<ListOrganizationSecurityFindingsResponse>;
94
+ /**
95
+ * @generated from message tailor.v1.CreateOrganizationSecurityFindingMuteRequest
96
+ */
97
+ export declare type CreateOrganizationSecurityFindingMuteRequest = Message<"tailor.v1.CreateOrganizationSecurityFindingMuteRequest"> & {
98
+ /**
99
+ * @generated from field: string organization_id = 1;
100
+ */
101
+ organizationId: string;
102
+ /**
103
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 2;
104
+ */
105
+ checkType: SecurityCheckType;
106
+ /**
107
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
108
+ */
109
+ resource?: SecurityResource;
110
+ /**
111
+ * @generated from field: string reason = 4;
112
+ */
113
+ reason: string;
114
+ };
115
+ /**
116
+ * Describes the message tailor.v1.CreateOrganizationSecurityFindingMuteRequest.
117
+ * Use `create(CreateOrganizationSecurityFindingMuteRequestSchema)` to create a new message.
118
+ */
119
+ export declare const CreateOrganizationSecurityFindingMuteRequestSchema: GenMessage<CreateOrganizationSecurityFindingMuteRequest>;
120
+ /**
121
+ * @generated from message tailor.v1.CreateOrganizationSecurityFindingMuteResponse
122
+ */
123
+ export declare type CreateOrganizationSecurityFindingMuteResponse = Message<"tailor.v1.CreateOrganizationSecurityFindingMuteResponse"> & {
124
+ /**
125
+ * @generated from field: tailor.v1.SecurityFindingMute mute = 1;
126
+ */
127
+ mute?: SecurityFindingMute;
128
+ };
129
+ /**
130
+ * Describes the message tailor.v1.CreateOrganizationSecurityFindingMuteResponse.
131
+ * Use `create(CreateOrganizationSecurityFindingMuteResponseSchema)` to create a new message.
132
+ */
133
+ export declare const CreateOrganizationSecurityFindingMuteResponseSchema: GenMessage<CreateOrganizationSecurityFindingMuteResponse>;
134
+ /**
135
+ * @generated from message tailor.v1.DeleteOrganizationSecurityFindingMuteRequest
136
+ */
137
+ export declare type DeleteOrganizationSecurityFindingMuteRequest = Message<"tailor.v1.DeleteOrganizationSecurityFindingMuteRequest"> & {
138
+ /**
139
+ * @generated from field: string organization_id = 1;
140
+ */
141
+ organizationId: string;
142
+ /**
143
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 2;
144
+ */
145
+ checkType: SecurityCheckType;
146
+ /**
147
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
148
+ */
149
+ resource?: SecurityResource;
150
+ };
151
+ /**
152
+ * Describes the message tailor.v1.DeleteOrganizationSecurityFindingMuteRequest.
153
+ * Use `create(DeleteOrganizationSecurityFindingMuteRequestSchema)` to create a new message.
154
+ */
155
+ export declare const DeleteOrganizationSecurityFindingMuteRequestSchema: GenMessage<DeleteOrganizationSecurityFindingMuteRequest>;
156
+ /**
157
+ * @generated from message tailor.v1.DeleteOrganizationSecurityFindingMuteResponse
158
+ */
159
+ export declare type DeleteOrganizationSecurityFindingMuteResponse = Message<"tailor.v1.DeleteOrganizationSecurityFindingMuteResponse"> & {};
160
+ /**
161
+ * Describes the message tailor.v1.DeleteOrganizationSecurityFindingMuteResponse.
162
+ * Use `create(DeleteOrganizationSecurityFindingMuteResponseSchema)` to create a new message.
163
+ */
164
+ export declare const DeleteOrganizationSecurityFindingMuteResponseSchema: GenMessage<DeleteOrganizationSecurityFindingMuteResponse>;
165
+ /**
166
+ * @generated from message tailor.v1.ListOrganizationSecurityFindingMutesRequest
167
+ */
168
+ export declare type ListOrganizationSecurityFindingMutesRequest = Message<"tailor.v1.ListOrganizationSecurityFindingMutesRequest"> & {
169
+ /**
170
+ * @generated from field: string page_token = 1;
171
+ */
172
+ pageToken: string;
173
+ /**
174
+ * @generated from field: uint32 page_size = 2;
175
+ */
176
+ pageSize: number;
177
+ /**
178
+ * @generated from field: tailor.v1.PageDirection page_direction = 3;
179
+ */
180
+ pageDirection: PageDirection;
181
+ /**
182
+ * @generated from field: string organization_id = 4;
183
+ */
184
+ organizationId: string;
185
+ };
186
+ /**
187
+ * Describes the message tailor.v1.ListOrganizationSecurityFindingMutesRequest.
188
+ * Use `create(ListOrganizationSecurityFindingMutesRequestSchema)` to create a new message.
189
+ */
190
+ export declare const ListOrganizationSecurityFindingMutesRequestSchema: GenMessage<ListOrganizationSecurityFindingMutesRequest>;
191
+ /**
192
+ * @generated from message tailor.v1.ListOrganizationSecurityFindingMutesResponse
193
+ */
194
+ export declare type ListOrganizationSecurityFindingMutesResponse = Message<"tailor.v1.ListOrganizationSecurityFindingMutesResponse"> & {
195
+ /**
196
+ * @generated from field: string next_page_token = 1;
197
+ */
198
+ nextPageToken: string;
199
+ /**
200
+ * @generated from field: int64 total_count = 2;
201
+ */
202
+ totalCount: bigint;
203
+ /**
204
+ * @generated from field: repeated tailor.v1.SecurityFindingMute mutes = 3;
205
+ */
206
+ mutes: SecurityFindingMute[];
207
+ };
208
+ /**
209
+ * Describes the message tailor.v1.ListOrganizationSecurityFindingMutesResponse.
210
+ * Use `create(ListOrganizationSecurityFindingMutesResponseSchema)` to create a new message.
211
+ */
212
+ export declare const ListOrganizationSecurityFindingMutesResponseSchema: GenMessage<ListOrganizationSecurityFindingMutesResponse>;
213
+ //#endregion
@@ -0,0 +1,301 @@
1
+ import { GenMessage } from "@bufbuild/protobuf/codegenv2";
2
+ import { Message } from "@bufbuild/protobuf";
3
+ import { Timestamp } from "@bufbuild/protobuf/wkt";
4
+ //#region ../tailor-proto/src/tailor/v1/security_resource_pb.d.ts
5
+ /**
6
+ * @generated from message tailor.v1.TailorDBTypeRef
7
+ */
8
+ export declare type TailorDBTypeRef = Message<"tailor.v1.TailorDBTypeRef"> & {
9
+ /**
10
+ * @generated from field: string namespace = 1;
11
+ */
12
+ namespace: string;
13
+ /**
14
+ * @generated from field: string type = 2;
15
+ */
16
+ type: string;
17
+ };
18
+ /**
19
+ * @generated from message tailor.v1.IdPRef
20
+ */
21
+ export declare type IdPRef = Message<"tailor.v1.IdPRef"> & {
22
+ /**
23
+ * @generated from field: string namespace = 1;
24
+ */
25
+ namespace: string;
26
+ };
27
+ /**
28
+ * @generated from message tailor.v1.ApplicationRef
29
+ */
30
+ export declare type ApplicationRef = Message<"tailor.v1.ApplicationRef"> & {
31
+ /**
32
+ * @generated from field: string name = 1;
33
+ */
34
+ name: string;
35
+ };
36
+ /**
37
+ * @generated from message tailor.v1.MachineUserRef
38
+ */
39
+ export declare type MachineUserRef = Message<"tailor.v1.MachineUserRef"> & {
40
+ /**
41
+ * @generated from field: string name = 1;
42
+ */
43
+ name: string;
44
+ };
45
+ /**
46
+ * @generated from message tailor.v1.OrganizationRef
47
+ */
48
+ export declare type OrganizationRef = Message<"tailor.v1.OrganizationRef"> & {};
49
+ /**
50
+ * @generated from message tailor.v1.SecurityResource
51
+ */
52
+ export declare type SecurityResource = Message<"tailor.v1.SecurityResource"> & {
53
+ /**
54
+ * Empty for organization-scoped resources.
55
+ *
56
+ * @generated from field: string workspace_id = 1;
57
+ */
58
+ workspaceId: string;
59
+ /**
60
+ * Immutable UUID of the resource; the key used for mutes.
61
+ *
62
+ * @generated from field: string resource_id = 2;
63
+ */
64
+ resourceId: string;
65
+ /**
66
+ * Display reference used to link to the resource.
67
+ *
68
+ * @generated from oneof tailor.v1.SecurityResource.ref
69
+ */
70
+ ref: {
71
+ /**
72
+ * @generated from field: tailor.v1.TailorDBTypeRef tailordb_type = 10;
73
+ */
74
+ value: TailorDBTypeRef;
75
+ case: "tailordbType";
76
+ } | {
77
+ /**
78
+ * @generated from field: tailor.v1.IdPRef idp = 11;
79
+ */
80
+ value: IdPRef;
81
+ case: "idp";
82
+ } | {
83
+ /**
84
+ * @generated from field: tailor.v1.ApplicationRef application = 12;
85
+ */
86
+ value: ApplicationRef;
87
+ case: "application";
88
+ } | {
89
+ /**
90
+ * @generated from field: tailor.v1.MachineUserRef machine_user = 14;
91
+ */
92
+ value: MachineUserRef;
93
+ case: "machineUser";
94
+ } | {
95
+ /**
96
+ * @generated from field: tailor.v1.OrganizationRef organization = 17;
97
+ */
98
+ value: OrganizationRef;
99
+ case: "organization";
100
+ } | {
101
+ case: undefined;
102
+ value?: undefined;
103
+ };
104
+ };
105
+ /**
106
+ * @generated from message tailor.v1.SecurityCheck
107
+ */
108
+ export declare type SecurityCheck = Message<"tailor.v1.SecurityCheck"> & {
109
+ /**
110
+ * @generated from field: tailor.v1.SecurityCheckType type = 1;
111
+ */
112
+ type: SecurityCheckType;
113
+ /**
114
+ * @generated from field: tailor.v1.SecuritySeverity severity = 2;
115
+ */
116
+ severity: SecuritySeverity;
117
+ /**
118
+ * @generated from field: string title = 3;
119
+ */
120
+ title: string;
121
+ /**
122
+ * @generated from field: string description = 4;
123
+ */
124
+ description: string;
125
+ /**
126
+ * @generated from field: string remediation = 5;
127
+ */
128
+ remediation: string;
129
+ /**
130
+ * @generated from field: tailor.v1.SecurityCheckStatus status = 6;
131
+ */
132
+ status: SecurityCheckStatus;
133
+ /**
134
+ * Number of unmuted findings.
135
+ *
136
+ * @generated from field: int64 finding_count = 7;
137
+ */
138
+ findingCount: bigint;
139
+ /**
140
+ * @generated from field: int64 muted_finding_count = 8;
141
+ */
142
+ mutedFindingCount: bigint;
143
+ /**
144
+ * @generated from field: google.protobuf.Timestamp evaluated_at = 9;
145
+ */
146
+ evaluatedAt?: Timestamp;
147
+ };
148
+ /**
149
+ * @generated from message tailor.v1.SecurityFinding
150
+ */
151
+ export declare type SecurityFinding = Message<"tailor.v1.SecurityFinding"> & {
152
+ /**
153
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 1;
154
+ */
155
+ checkType: SecurityCheckType;
156
+ /**
157
+ * @generated from field: tailor.v1.SecuritySeverity severity = 2;
158
+ */
159
+ severity: SecuritySeverity;
160
+ /**
161
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
162
+ */
163
+ resource?: SecurityResource;
164
+ /**
165
+ * @generated from field: string detail = 4;
166
+ */
167
+ detail: string;
168
+ /**
169
+ * @generated from field: bool muted = 5;
170
+ */
171
+ muted: boolean;
172
+ /**
173
+ * @generated from field: string mute_reason = 6;
174
+ */
175
+ muteReason: string;
176
+ };
177
+ /**
178
+ * @generated from message tailor.v1.SecurityFindingMute
179
+ */
180
+ export declare type SecurityFindingMute = Message<"tailor.v1.SecurityFindingMute"> & {
181
+ /**
182
+ * @generated from field: string organization_id = 1;
183
+ */
184
+ organizationId: string;
185
+ /**
186
+ * @generated from field: tailor.v1.SecurityCheckType check_type = 2;
187
+ */
188
+ checkType: SecurityCheckType;
189
+ /**
190
+ * @generated from field: tailor.v1.SecurityResource resource = 3;
191
+ */
192
+ resource?: SecurityResource;
193
+ /**
194
+ * @generated from field: string reason = 4;
195
+ */
196
+ reason: string;
197
+ /**
198
+ * @generated from field: string created_by = 5;
199
+ */
200
+ createdBy: string;
201
+ /**
202
+ * @generated from field: google.protobuf.Timestamp create_time = 6;
203
+ */
204
+ createTime?: Timestamp;
205
+ };
206
+ /**
207
+ * SecurityCheckType identifies a security check.
208
+ *
209
+ * @generated from enum tailor.v1.SecurityCheckType
210
+ */
211
+ export declare enum SecurityCheckType {
212
+ /**
213
+ * @generated from enum value: SECURITY_CHECK_TYPE_UNSPECIFIED = 0;
214
+ */
215
+ UNSPECIFIED = 0,
216
+ /**
217
+ * @generated from enum value: SECURITY_CHECK_TYPE_TAILORDB_TYPE_ALLOW_ALL = 1;
218
+ */
219
+ TAILORDB_TYPE_ALLOW_ALL = 1,
220
+ /**
221
+ * @generated from enum value: SECURITY_CHECK_TYPE_IDP_MFA_NOT_REQUIRED = 2;
222
+ */
223
+ IDP_MFA_NOT_REQUIRED = 2,
224
+ /**
225
+ * @generated from enum value: SECURITY_CHECK_TYPE_IDP_EMAIL_DOMAIN_UNRESTRICTED = 3;
226
+ */
227
+ IDP_EMAIL_DOMAIN_UNRESTRICTED = 3,
228
+ /**
229
+ * @generated from enum value: SECURITY_CHECK_TYPE_GATEWAY_CORS_WILDCARD = 4;
230
+ */
231
+ GATEWAY_CORS_WILDCARD = 4,
232
+ /**
233
+ * @generated from enum value: SECURITY_CHECK_TYPE_GATEWAY_INTROSPECTION_ENABLED = 5;
234
+ */
235
+ GATEWAY_INTROSPECTION_ENABLED = 5,
236
+ /**
237
+ * @generated from enum value: SECURITY_CHECK_TYPE_ROUTING_ORG_IP_RESTRICTION_MISSING = 6;
238
+ */
239
+ ROUTING_ORG_IP_RESTRICTION_MISSING = 6,
240
+ /**
241
+ * @generated from enum value: SECURITY_CHECK_TYPE_AUTH_MACHINE_USER_ORPHANED = 7;
242
+ */
243
+ AUTH_MACHINE_USER_ORPHANED = 7,
244
+ /**
245
+ * @generated from enum value: SECURITY_CHECK_TYPE_PAM_MACHINE_USER_ADMIN = 13;
246
+ */
247
+ PAM_MACHINE_USER_ADMIN = 13
248
+ }
249
+ /**
250
+ * @generated from enum tailor.v1.SecuritySeverity
251
+ */
252
+ export declare enum SecuritySeverity {
253
+ /**
254
+ * @generated from enum value: SECURITY_SEVERITY_UNSPECIFIED = 0;
255
+ */
256
+ UNSPECIFIED = 0,
257
+ /**
258
+ * @generated from enum value: SECURITY_SEVERITY_INFO = 1;
259
+ */
260
+ INFO = 1,
261
+ /**
262
+ * @generated from enum value: SECURITY_SEVERITY_LOW = 2;
263
+ */
264
+ LOW = 2,
265
+ /**
266
+ * @generated from enum value: SECURITY_SEVERITY_MEDIUM = 3;
267
+ */
268
+ MEDIUM = 3,
269
+ /**
270
+ * @generated from enum value: SECURITY_SEVERITY_HIGH = 4;
271
+ */
272
+ HIGH = 4
273
+ }
274
+ /**
275
+ * @generated from enum tailor.v1.SecurityCheckStatus
276
+ */
277
+ export declare enum SecurityCheckStatus {
278
+ /**
279
+ * @generated from enum value: SECURITY_CHECK_STATUS_UNSPECIFIED = 0;
280
+ */
281
+ UNSPECIFIED = 0,
282
+ /**
283
+ * No unmuted findings.
284
+ *
285
+ * @generated from enum value: SECURITY_CHECK_STATUS_PASS = 1;
286
+ */
287
+ PASS = 1,
288
+ /**
289
+ * At least one unmuted finding.
290
+ *
291
+ * @generated from enum value: SECURITY_CHECK_STATUS_FAIL = 2;
292
+ */
293
+ FAIL = 2,
294
+ /**
295
+ * The service that evaluates this check did not respond.
296
+ *
297
+ * @generated from enum value: SECURITY_CHECK_STATUS_UNAVAILABLE = 3;
298
+ */
299
+ UNAVAILABLE = 3
300
+ }
301
+ //#endregion