@pipeline-builder/api-core 5.3.4 → 6.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/CHANGELOG.md +15 -0
- package/lib/constants/http-status.d.ts +1 -0
- package/lib/constants/http-status.js +2 -1
- package/lib/contracts/billing.d.ts +40 -0
- package/lib/contracts/billing.js +58 -0
- package/lib/contracts/call.d.ts +95 -0
- package/lib/contracts/call.js +73 -0
- package/lib/contracts/cascade.d.ts +30 -0
- package/lib/contracts/cascade.js +30 -0
- package/lib/contracts/compliance.d.ts +96 -0
- package/lib/contracts/compliance.js +180 -0
- package/lib/contracts/define.d.ts +123 -0
- package/lib/contracts/define.js +93 -0
- package/lib/contracts/image-registry.d.ts +269 -0
- package/lib/contracts/image-registry.js +401 -0
- package/lib/contracts/index.d.ts +18 -0
- package/lib/contracts/index.js +55 -0
- package/lib/contracts/message.d.ts +93 -0
- package/lib/contracts/message.js +145 -0
- package/lib/contracts/ops-center.d.ts +9 -0
- package/lib/contracts/ops-center.js +25 -0
- package/lib/contracts/pipeline.d.ts +9 -0
- package/lib/contracts/pipeline.js +25 -0
- package/lib/contracts/platform.d.ts +338 -0
- package/lib/contracts/platform.js +522 -0
- package/lib/contracts/plugin.d.ts +79 -0
- package/lib/contracts/plugin.js +149 -0
- package/lib/contracts/quota.d.ts +32 -0
- package/lib/contracts/quota.js +48 -0
- package/lib/contracts/reporting.d.ts +94 -0
- package/lib/contracts/reporting.js +176 -0
- package/lib/errors/app-errors.d.ts +12 -0
- package/lib/errors/app-errors.js +12 -1
- package/lib/index.d.ts +7 -2
- package/lib/index.js +9 -3
- package/lib/middleware/index.d.ts +1 -1
- package/lib/middleware/index.js +2 -2
- package/lib/middleware/jwt-verify.d.ts +21 -1
- package/lib/middleware/jwt-verify.js +37 -4
- package/lib/services/circuit-breaker.d.ts +6 -0
- package/lib/services/circuit-breaker.js +11 -1
- package/lib/services/compliance-event-subscriber.js +18 -8
- package/lib/services/ecosystem-notify-client.d.ts +1 -1
- package/lib/services/ecosystem-notify-client.js +12 -9
- package/lib/services/http-client.d.ts +36 -0
- package/lib/services/http-client.js +140 -25
- package/lib/services/index.d.ts +2 -2
- package/lib/services/index.js +2 -2
- package/lib/services/org-ai-client.d.ts +3 -3
- package/lib/services/org-ai-client.js +15 -15
- package/lib/services/service-keys.d.ts +2 -11
- package/lib/services/service-keys.js +22 -2
- package/lib/services/system-notification.d.ts +2 -2
- package/lib/services/system-notification.js +27 -19
- package/lib/types/common.d.ts +6 -1
- package/lib/types/common.js +1 -1
- package/lib/types/error-codes.d.ts +3 -0
- package/lib/types/error-codes.js +6 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.js +2 -1
- package/lib/types/plugin-wire.d.ts +268 -0
- package/lib/types/plugin-wire.js +4 -0
- package/lib/types/remote-audit-actions.d.ts +1 -1
- package/lib/types/remote-audit-actions.js +51 -1
- package/lib/utils/concurrency.d.ts +33 -0
- package/lib/utils/concurrency.js +70 -1
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/index.js +2 -2
- package/lib/utils/semver.d.ts +73 -5
- package/lib/utils/semver.js +175 -45
- package/lib/utils/service-registry.d.ts +1 -1
- package/lib/utils/service-registry.js +2 -2
- package/lib/validation/pipeline-schemas.d.ts +167 -2
- package/lib/validation/pipeline-schemas.js +145 -2
- package/package.json +8 -7
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plugin WIRE types: the shape of a stored plugin row and of a plugin query
|
|
3
|
+
* filter, as plain TypeScript with no drizzle dependency. They live here (not
|
|
4
|
+
* in pipeline-data, which owns the table) so a package that only needs the
|
|
5
|
+
* shape — pipeline-core's synth-time plugin lookup — does not take a runtime
|
|
6
|
+
* dependency on the data layer. pipeline-data re-exports them and pins
|
|
7
|
+
* {@link PluginRecord} to its drizzle row type with a compile-time equality
|
|
8
|
+
* check, so the two cannot drift.
|
|
9
|
+
*/
|
|
10
|
+
import type { Criticality, EntityLabels, EntityLink, Lifecycle, OwnerType } from './catalog-metadata.js';
|
|
11
|
+
import type { ComputeType, PluginType } from './pipeline.js';
|
|
12
|
+
import type { MetadataSources } from './plugin-catalog.js';
|
|
13
|
+
import type { PluginScanFlag, PluginScanSummary } from './plugin-scan.js';
|
|
14
|
+
import type { Visibility } from './visibility.js';
|
|
15
|
+
/**
|
|
16
|
+
* Secret requirement for a plugin.
|
|
17
|
+
* Declares named secrets the plugin expects at build time.
|
|
18
|
+
*/
|
|
19
|
+
export interface PluginSecret {
|
|
20
|
+
name: string;
|
|
21
|
+
required: boolean;
|
|
22
|
+
description?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Where a plugin's image came from: `built` by the platform's BuildKit (carries
|
|
26
|
+
* SLSA provenance) or `uploaded` as a prebuilt `image.tar` (SBOM + signature
|
|
27
|
+
* only — the platform never saw the build).
|
|
28
|
+
*/
|
|
29
|
+
export type ImageSource = 'built' | 'uploaded';
|
|
30
|
+
/**
|
|
31
|
+
* Plugin lifecycle: the shared catalog {@link Lifecycle} plus `yanked`, which
|
|
32
|
+
* only plugin versions can reach (a yanked version stops resolving for new
|
|
33
|
+
* synths). `yankedAt` / `deprecatedAt` are the authoritative timestamps; the
|
|
34
|
+
* lifecycle value mirrors them for catalog filtering.
|
|
35
|
+
*/
|
|
36
|
+
export type PluginLifecycle = Lifecycle | 'yanked';
|
|
37
|
+
/** Coercion type a `requiredMetadata` / `requiredVars` key is declared as. */
|
|
38
|
+
export type PluginContractValueType = 'string' | 'number' | 'bool' | 'json';
|
|
39
|
+
/**
|
|
40
|
+
* The spec's smoke-test declaration. Today a bare command string; stored as
|
|
41
|
+
* JSONB so a structured form can follow without another column.
|
|
42
|
+
*/
|
|
43
|
+
export type PluginSmokeTest = string | Record<string, unknown>;
|
|
44
|
+
/** A curated icon: a key into the curated set, plus an optional badge. */
|
|
45
|
+
export interface PluginIcon {
|
|
46
|
+
key: string;
|
|
47
|
+
badge?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Storage keys of an uploaded icon's re-encoded WebP renditions (image-registry
|
|
51
|
+
* decodes + re-encodes every upload; the raw file and SVG are never stored).
|
|
52
|
+
*/
|
|
53
|
+
export interface PluginUploadedIcon {
|
|
54
|
+
key256: string;
|
|
55
|
+
key64: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* A stored plugin row (`plugins` table) — pipeline-data's `Plugin` is this type.
|
|
59
|
+
*/
|
|
60
|
+
export interface PluginRecord {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
orgId: string;
|
|
64
|
+
createdBy: string;
|
|
65
|
+
createdAt: Date;
|
|
66
|
+
updatedBy: string;
|
|
67
|
+
updatedAt: Date;
|
|
68
|
+
description: string | null;
|
|
69
|
+
keywords: string[];
|
|
70
|
+
version: string;
|
|
71
|
+
category: string;
|
|
72
|
+
metadata: Record<string, string | number | boolean>;
|
|
73
|
+
pluginType: PluginType;
|
|
74
|
+
computeType: ComputeType;
|
|
75
|
+
timeout: number | null;
|
|
76
|
+
failureBehavior: 'fail' | 'warn' | 'ignore';
|
|
77
|
+
secrets: PluginSecret[];
|
|
78
|
+
primaryOutputDirectory: string | null;
|
|
79
|
+
env: Record<string, string>;
|
|
80
|
+
buildArgs: Record<string, string>;
|
|
81
|
+
installCommands: string[];
|
|
82
|
+
commands: string[];
|
|
83
|
+
requiredMetadata: string[];
|
|
84
|
+
requiredVars: string[];
|
|
85
|
+
metadataTypes: Record<string, PluginContractValueType>;
|
|
86
|
+
varsTypes: Record<string, PluginContractValueType>;
|
|
87
|
+
smokeTest: PluginSmokeTest | null;
|
|
88
|
+
networkEgress: string[];
|
|
89
|
+
readmeMd: string | null;
|
|
90
|
+
readmeHtml: string | null;
|
|
91
|
+
license: string | null;
|
|
92
|
+
changelog: string | null;
|
|
93
|
+
homepageUrl: string | null;
|
|
94
|
+
sourceUrl: string | null;
|
|
95
|
+
icon: PluginIcon | null;
|
|
96
|
+
uploadedIcon: PluginUploadedIcon | null;
|
|
97
|
+
summary: string | null;
|
|
98
|
+
displayName: string | null;
|
|
99
|
+
documentationUrl: string | null;
|
|
100
|
+
dockerfile: string | null;
|
|
101
|
+
metadataSources: MetadataSources;
|
|
102
|
+
buildType: string;
|
|
103
|
+
imageDigest: string | null;
|
|
104
|
+
imageSource: ImageSource | null;
|
|
105
|
+
vulnCritical: number | null;
|
|
106
|
+
vulnHigh: number | null;
|
|
107
|
+
vulnMedium: number | null;
|
|
108
|
+
vulnLow: number | null;
|
|
109
|
+
vulnCriticalFixable: number | null;
|
|
110
|
+
vulnHighFixable: number | null;
|
|
111
|
+
scannedAt: Date | null;
|
|
112
|
+
scanFlaggedAt: Date | null;
|
|
113
|
+
scanFlag: PluginScanFlag | null;
|
|
114
|
+
scanSummary: PluginScanSummary | null;
|
|
115
|
+
runAsRoot: boolean | null;
|
|
116
|
+
breaking: boolean;
|
|
117
|
+
frozenAt: Date | null;
|
|
118
|
+
yankedAt: Date | null;
|
|
119
|
+
yankReason: string | null;
|
|
120
|
+
deprecatedAt: Date | null;
|
|
121
|
+
deprecationMessage: string | null;
|
|
122
|
+
ownerId: string | null;
|
|
123
|
+
ownerType: OwnerType | null;
|
|
124
|
+
lifecycle: PluginLifecycle;
|
|
125
|
+
criticality: Criticality | null;
|
|
126
|
+
labels: EntityLabels;
|
|
127
|
+
links: EntityLink[];
|
|
128
|
+
visibility: Visibility;
|
|
129
|
+
isDefault: boolean;
|
|
130
|
+
isActive: boolean;
|
|
131
|
+
deletedAt: Date | null;
|
|
132
|
+
deletedBy: string | null;
|
|
133
|
+
purgeAfter: Date | null;
|
|
134
|
+
quotaResetAt: Date | null;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Base filter interface containing common filter properties shared across all entity types.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* ```typescript
|
|
141
|
+
* const filter: CommonFilter = {
|
|
142
|
+
* id: '123',
|
|
143
|
+
* orgId: 'my-org',
|
|
144
|
+
* visibility: 'public',
|
|
145
|
+
* isDefault: true,
|
|
146
|
+
* isActive: true
|
|
147
|
+
* };
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
export interface CommonFilter {
|
|
151
|
+
/**
|
|
152
|
+
* Unique identifier for the entity
|
|
153
|
+
* Can be a single ID or array of IDs for batch filtering
|
|
154
|
+
*/
|
|
155
|
+
readonly id?: string | string[];
|
|
156
|
+
/** Caller's user id, matched against the entity's per-user column. */
|
|
157
|
+
readonly viewerUserId?: string;
|
|
158
|
+
/** Whether the caller is a platform super-admin (sees every rung). */
|
|
159
|
+
readonly viewerIsSuperAdmin?: boolean;
|
|
160
|
+
/**
|
|
161
|
+
* Organization identifier to filter entities by organization
|
|
162
|
+
* Can be a single org ID or array for multi-org filtering
|
|
163
|
+
*/
|
|
164
|
+
readonly orgId?: string | string[];
|
|
165
|
+
/**
|
|
166
|
+
* Narrow to one rung of the shared three-rung sharing ladder. Applied WITHIN
|
|
167
|
+
* what the caller can already see — never widens it.
|
|
168
|
+
* @see Visibility
|
|
169
|
+
*/
|
|
170
|
+
readonly visibility?: Visibility | string;
|
|
171
|
+
/**
|
|
172
|
+
* Filter by default status
|
|
173
|
+
* - true: Only default entities
|
|
174
|
+
* - false: Only non-default entities
|
|
175
|
+
* - undefined: All entities
|
|
176
|
+
*/
|
|
177
|
+
readonly isDefault?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Filter by active/inactive status
|
|
180
|
+
* - true: Only active entities
|
|
181
|
+
* - false: Only inactive entities
|
|
182
|
+
* - undefined: All entities
|
|
183
|
+
*/
|
|
184
|
+
readonly isActive?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* Number of results to return
|
|
187
|
+
* @minimum 1
|
|
188
|
+
* @maximum 1000
|
|
189
|
+
*/
|
|
190
|
+
readonly limit?: number;
|
|
191
|
+
/**
|
|
192
|
+
* Number of results to skip (for pagination)
|
|
193
|
+
* @minimum 0
|
|
194
|
+
*/
|
|
195
|
+
readonly offset?: number;
|
|
196
|
+
/**
|
|
197
|
+
* Sort field and direction
|
|
198
|
+
* @example "name:asc", "createdAt:desc"
|
|
199
|
+
*/
|
|
200
|
+
readonly sort?: string;
|
|
201
|
+
/**
|
|
202
|
+
* Filter by catalog owner (developer-portal "my services" view).
|
|
203
|
+
* Matches the entity's `ownerId` exactly (a user id or team id).
|
|
204
|
+
* Only applied by builders for entities that carry an owner column
|
|
205
|
+
* (pipelines, plugins); ignored elsewhere.
|
|
206
|
+
*/
|
|
207
|
+
readonly ownerId?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Filter by lifecycle stage (experimental | production | deprecated).
|
|
210
|
+
* Only applied by builders for entities that carry a lifecycle column.
|
|
211
|
+
*/
|
|
212
|
+
readonly lifecycle?: string;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Filter interface for plugin-specific properties.
|
|
216
|
+
* Extends CommonFilter to include plugin-related filter options.
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* ```typescript
|
|
220
|
+
* const filter: PluginFilter = {
|
|
221
|
+
* name: 'nodejs-build',
|
|
222
|
+
* version: '1.0.0',
|
|
223
|
+
* isActive: true
|
|
224
|
+
* };
|
|
225
|
+
* ```
|
|
226
|
+
*/
|
|
227
|
+
export interface PluginFilter extends CommonFilter {
|
|
228
|
+
/**
|
|
229
|
+
* Plugin name to filter by
|
|
230
|
+
*/
|
|
231
|
+
readonly name?: string;
|
|
232
|
+
/**
|
|
233
|
+
* How `name` matches: `contains` (default — case-insensitive substring, for
|
|
234
|
+
* list/search) or `exact` (resolution — the lookup path). Internal: not in
|
|
235
|
+
* the public filter schema.
|
|
236
|
+
*/
|
|
237
|
+
readonly nameMatch?: 'exact' | 'contains';
|
|
238
|
+
/**
|
|
239
|
+
* Publisher handle of an installed listing to resolve through.
|
|
240
|
+
* Lookup only: a `plugins` row query ignores it (the resolver routes a
|
|
241
|
+
* qualified reference to the listing, never to an org's own rows).
|
|
242
|
+
*/
|
|
243
|
+
readonly publisher?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Plugin version spec: exact (`1.2.3`), caret (`^1.2.3`), tilde (`~1.2.3`),
|
|
246
|
+
* partial (`1`, `1.2`, `1.x`) or `latest` — see the plugin version-spec grammar in utils/semver.ts. A range never
|
|
247
|
+
* matches a yanked version.
|
|
248
|
+
* @example "1.0.0", "^2.0.0", "~1.2.3", "latest"
|
|
249
|
+
*/
|
|
250
|
+
readonly version?: string;
|
|
251
|
+
/** Exclude yanked versions (resolution without a version spec). Internal. */
|
|
252
|
+
readonly excludeYanked?: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Exclude versions the nightly rescan flagged (`scan_flagged_at` set) — the
|
|
255
|
+
* lookup's "newest unflagged version to move to" suggestion. Never applied to
|
|
256
|
+
* what a reference RESOLVES to: vulnerability state does not skip versions. Internal.
|
|
257
|
+
*/
|
|
258
|
+
readonly excludeScanFlagged?: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* Keyword to search within the keywords JSONB array (case-insensitive contains)
|
|
261
|
+
*/
|
|
262
|
+
readonly keyword?: string;
|
|
263
|
+
/**
|
|
264
|
+
* Plugin category to filter by
|
|
265
|
+
* @example "language", "security", "testing"
|
|
266
|
+
*/
|
|
267
|
+
readonly category?: string;
|
|
268
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// Copyright 2026 Pipeline Builder Contributors
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
export {};
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2luLXdpcmUuanMiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90eXBlcy9wbHVnaW4td2lyZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwrQ0FBK0M7QUFDL0Msc0NBQXNDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gQ29weXJpZ2h0IDIw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cblxuICAvKipcbiAgICogUGx1Z2luIGNhdGVnb3J5IHRvIGZpbHRlciBieVxuICAgKiBAZXhhbXBsZSBcImxhbmd1YWdlXCIsIFwic2VjdXJpdHlcIiwgXCJ0ZXN0aW5nXCJcbiAgICovXG4gIHJlYWRvbmx5IGNhdGVnb3J5Pzogc3RyaW5nO1xufVxuIl19
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* (`admin.superadmin.grant`, `org.ownership.transfer`, `user.login`, …). Keep
|
|
18
18
|
* this list free of any platform-only action.
|
|
19
19
|
*/
|
|
20
|
-
export declare const REMOTE_AUDIT_ACTIONS: readonly ['plugin.build.completed', 'plugin.build.failed', 'plugin.build.timeout', 'plugin.scan.skipped', 'plugin.vuln.waived', 'plugin.vuln.flagged', 'plugin.vuln.cleared', 'plugin.delete', 'plugin.restore', 'plugin.purge', 'plugin.update', 'plugin.upload', 'plugin.deploy', 'plugin.bulk.update', 'plugin.bulk.delete', 'plugin.dlq.purge', 'plugin.build.retry', 'plugin.dlq.replay', 'pipeline.create', 'pipeline.update', 'pipeline.delete', 'pipeline.restore', 'pipeline.purge', 'pipeline_template.create', 'pipeline_template.update', 'pipeline_template.delete', 'pipeline_template.restore', 'pipeline_template.purge', 'pipeline.execution.start', 'pipeline.execution.cancel', 'pipeline.registry.register', 'pipeline.registry.deregister', 'quota.reset', 'quota.limit.update', 'quota.delete', 'quota.notice_settings.update', 'compliance.exemption.approve', 'compliance.exemption.revoke', 'compliance.exemption.request', 'compliance.exemption.reject', 'compliance.exemption.expire', 'compliance.rule.toggle', 'compliance.rule.create', 'compliance.rule.update', 'compliance.rule.delete', 'compliance.rule.restore', 'compliance.rule.purge', 'compliance.policy.create', 'compliance.policy.update', 'compliance.policy.delete', 'compliance.policy.restore', 'compliance.policy.purge', 'compliance.scan-schedule.create', 'compliance.scan-schedule.update', 'compliance.scan-schedule.delete', 'compliance.scan-schedule.purge', 'compliance.template.apply', 'compliance.scan.create', 'compliance.scan.cancel', 'compliance.scan.complete', 'compliance.subscription.auto-subscribe', 'compliance.notification-preference.update', 'registry.gc', 'registry.image.delete', 'registry.image.copy', 'registry.image.sign', 'registry.token.issue', 'registry.quarantine.credential.mint', 'message.announcement.create', 'message.delete', 'message.hide', 'message.unhide', 'message.restore', 'message.purge', 'message.update', 'message.attachment.upload', 'message.notify.internal', 'message.org.purge', 'support.case.open', 'support.case.reply', 'support.case.status', 'support.case.severity', 'support.case.assign', 'support.case.transfer', 'support.oncall.acknowledged', 'support.oncall.escalated', 'support.oncall.test', 'support.oncall.paged', 'support.contact.designate', 'support.contact.revoke', 'support.contact.upgrade', 'support.contact.downgrade', 'support.case.note', 'support.canned.write', 'billing.subscription.create', 'billing.subscription.update', 'billing.subscription.reactivate', 'billing.subscription.cancel', 'billing.subscription.delete', 'billing.tier.override', 'billing.support-floor.override', 'billing.support-incident.grant', 'billing.addon.add', 'billing.addon.remove', 'billing.addon.prune', 'billing.discount.generate', 'billing.discount.issue', 'billing.discount.apply', 'billing.discount.remove', 'billing.discount.revoke', 'billing.campaign.create', 'billing.campaign.update', 'billing.campaign.end', 'billing.promotion.create', 'billing.promotion.update', 'billing.promotion.revoke', 'billing.promotion.grant', 'billing.promotion.activate', 'billing.offer.sent', 'billing.offer.withdrawn', 'billing.offer.declined', 'billing.offer.dismissed', 'billing.offer.exclusion.set', 'billing.offer.exclusion.cleared', 'billing.offer.trigger', 'billing.credit.consumed', 'billing.credit.exhausted', 'billing.combo.expired', 'reporting.settings.update', 'reporting.deployment.outcome', 'reporting.retention.sync', 'reporting.report.definition.create', 'reporting.report.definition.update', 'reporting.report.definition.delete', 'reporting.report.ownership.transfer', 'reporting.report.published', 'reporting.report.republished', 'reporting.report.redelivered', 'reporting.report.link.created', 'reporting.report.link.revoked', 'reporting.report.recipient.added', 'reporting.report.recipient.removed', 'reporting.report.policy.update', 'reporting.report.paused', 'reporting.report.resumed', 'reporting.report.run.compose', 'reporting.report.run.notes', 'reporting.report.run.summary', 'reporting.report.recipient.resend', 'reporting.report.recipient.verified', 'reporting.report.recipient.unsubscribed', 'reporting.ingest.batch', 'reporting.ingest.rejected', 'reporting.incident.record', 'authz.denied', 'ask.query', 'ask.agent.turn', 'ask.feedback', 'pipeline.ai.generate', 'plugin.ai.generate', 'publisher.create', 'publisher.update', 'publisher.terms.accept', 'publisher.verify.request', 'publisher.verify.approve', 'publisher.verify.reject', 'publisher.tier.change', 'publisher.suspend', 'publisher.unsuspend', 'publisher.transfer.request', 'publisher.transfer.accept', 'publisher.transfer.decline', 'publisher.transfer.approve', 'publisher.transfer.reject', 'publisher.profile-change.approve', 'publisher.profile-change.reject', 'plugin.request.submit', 'plugin.request.withdraw', 'plugin.request.approve', 'plugin.request.second-approve', 'plugin.request.reject', 'plugin.request.auto-approve', 'plugin.listing.publish', 'plugin.listing.update', 'plugin.listing.state.change', 'plugin.listing.pause', 'plugin.listing.unpause', 'plugin.version.pause', 'plugin.version.yank', 'plugin.version.unyank', 'plugin.version.retire', 'toolchain.default.set', 'toolchain.default.initial', 'toolchain.default.restore', 'toolchain.rollout.update', 'toolchain.release.notes', 'toolchain.release.deprecate', 'toolchain.release.yank', 'toolchain.release.delete', 'toolchain.recovery.notify', 'toolchain.org_default.set', 'toolchain.org_default.clear', 'plugin.version.deprecate', 'plugin.version.prune', 'ecosystem.auto-approval-rule.create', 'ecosystem.auto-approval-rule.update', 'ecosystem.auto-approval-rule.delete', 'ecosystem.reserved-name.update', 'ecosystem.bootstrap.open', 'ecosystem.bootstrap.close', 'registry.image.publish', 'registry.image.resign', 'registry.image.yank', 'registry.image.gc', 'plugin.install.request', 'plugin.install.approve', 'plugin.install.deny', 'plugin.install.create', 'plugin.install.upgrade', 'plugin.install.change-request', 'plugin.install.change-approve', 'plugin.install.change-reject', 'plugin.install.remove', 'org.plugin-install-policy.update', 'plugin.shadowing.denied', 'plugin.review.create', 'plugin.review.update', 'plugin.review.delete', 'plugin.review.report', 'plugin.review.hold', 'plugin.review.release', 'plugin.review.remove', 'plugin.review.anonymize', 'plugin.review.reply.create', 'plugin.review.reply.update', 'plugin.review.reply.delete', 'plugin.submission.create', 'plugin.submission.verify', 'plugin.submission.gate-fail', 'plugin.submission.approve', 'plugin.submission.reject', 'plugin.submission.claim', 'plugin.submission.expire', 'plugin.advisory.create', 'plugin.advisory.update', 'plugin.advisory.publish', 'plugin.advisory.withdraw', 'plugin.security_notifications.update', 'plugin.security_notifications.external_email.verify', 'plugin.security_notifications.test', 'plugin.setup_image.promoted', 'plugin.setup_image.promote_refused', 'plugin.setup_image.kept', 'plugin.setup_image.discarded', 'pipeline.vuln.accepted', 'pipeline.vuln.false_positive', 'pipeline.vuln.reopened', 'pipeline.runtime_check.flagged', 'pipeline.plugin.upgraded', 'pipeline.security_report.upload', 'pipeline.security_report.delete'];
|
|
20
|
+
export declare const REMOTE_AUDIT_ACTIONS: readonly ['plugin.build.completed', 'plugin.build.failed', 'plugin.build.timeout', 'plugin.scan.skipped', 'plugin.vuln.waived', 'plugin.vuln.flagged', 'plugin.vuln.cleared', 'plugin.delete', 'plugin.restore', 'plugin.purge', 'plugin.update', 'plugin.upload', 'plugin.deploy', 'plugin.bulk.update', 'plugin.bulk.delete', 'plugin.dlq.purge', 'plugin.build.retry', 'plugin.dlq.replay', 'pipeline.create', 'pipeline.update', 'pipeline.delete', 'pipeline.restore', 'pipeline.purge', 'pipeline_template.create', 'pipeline_template.update', 'pipeline_template.delete', 'pipeline_template.restore', 'pipeline_template.purge', 'pipeline.execution.start', 'pipeline.execution.cancel', 'pipeline.registry.register', 'pipeline.registry.deregister', 'quota.reset', 'quota.limit.update', 'quota.delete', 'quota.notice_settings.update', 'compliance.exemption.approve', 'compliance.exemption.revoke', 'compliance.exemption.request', 'compliance.exemption.reject', 'compliance.exemption.expire', 'compliance.rule.toggle', 'compliance.rule.create', 'compliance.rule.update', 'compliance.rule.delete', 'compliance.rule.restore', 'compliance.rule.purge', 'compliance.policy.create', 'compliance.policy.update', 'compliance.policy.delete', 'compliance.policy.restore', 'compliance.policy.purge', 'compliance.scan-schedule.create', 'compliance.scan-schedule.update', 'compliance.scan-schedule.delete', 'compliance.scan-schedule.purge', 'compliance.template.apply', 'compliance.scan.create', 'compliance.scan.cancel', 'compliance.scan.complete', 'compliance.subscription.auto-subscribe', 'compliance.notification-preference.update', 'registry.gc', 'registry.image.delete', 'registry.image.copy', 'registry.image.sign', 'registry.token.issue', 'registry.quarantine.credential.mint', 'message.announcement.create', 'message.delete', 'message.hide', 'message.unhide', 'message.restore', 'message.purge', 'message.update', 'message.attachment.upload', 'message.notify.internal', 'message.org.purge', 'org.data.purge', 'support.case.open', 'support.case.reply', 'support.case.status', 'support.case.severity', 'support.case.assign', 'support.case.transfer', 'support.oncall.acknowledged', 'support.oncall.escalated', 'support.oncall.test', 'support.oncall.paged', 'support.contact.designate', 'support.contact.revoke', 'support.contact.upgrade', 'support.contact.downgrade', 'support.case.note', 'support.canned.write', 'billing.subscription.create', 'billing.subscription.update', 'billing.subscription.reactivate', 'billing.subscription.cancel', 'billing.subscription.delete', 'billing.tier.override', 'billing.support-floor.override', 'billing.support-incident.grant', 'billing.addon.add', 'billing.addon.remove', 'billing.addon.prune', 'billing.discount.generate', 'billing.discount.issue', 'billing.discount.apply', 'billing.discount.remove', 'billing.discount.revoke', 'billing.campaign.create', 'billing.campaign.update', 'billing.campaign.end', 'billing.promotion.create', 'billing.promotion.update', 'billing.promotion.revoke', 'billing.promotion.grant', 'billing.promotion.activate', 'billing.offer.sent', 'billing.offer.withdrawn', 'billing.offer.declined', 'billing.offer.dismissed', 'billing.offer.exclusion.set', 'billing.offer.exclusion.cleared', 'billing.offer.trigger', 'billing.credit.consumed', 'billing.credit.exhausted', 'billing.combo.expired', 'reporting.settings.update', 'reporting.deployment.outcome', 'reporting.retention.sync', 'reporting.report.definition.create', 'reporting.report.definition.update', 'reporting.report.definition.delete', 'reporting.report.ownership.transfer', 'reporting.report.published', 'reporting.report.republished', 'reporting.report.redelivered', 'reporting.report.link.created', 'reporting.report.link.revoked', 'reporting.report.recipient.added', 'reporting.report.recipient.removed', 'reporting.report.policy.update', 'reporting.report.paused', 'reporting.report.resumed', 'reporting.report.run.compose', 'reporting.report.run.notes', 'reporting.report.run.summary', 'reporting.report.recipient.resend', 'reporting.report.recipient.verified', 'reporting.report.recipient.unsubscribed', 'reporting.ingest.batch', 'reporting.ingest.rejected', 'reporting.incident.record', 'authz.denied', 'ask.query', 'ask.agent.turn', 'ask.feedback', 'pipeline.ai.generate', 'plugin.ai.generate', 'publisher.create', 'publisher.update', 'publisher.terms.accept', 'publisher.verify.request', 'publisher.verify.approve', 'publisher.verify.reject', 'publisher.tier.change', 'publisher.suspend', 'publisher.unsuspend', 'publisher.transfer.request', 'publisher.transfer.accept', 'publisher.transfer.decline', 'publisher.transfer.approve', 'publisher.transfer.reject', 'publisher.profile-change.approve', 'publisher.profile-change.reject', 'plugin.request.submit', 'plugin.request.withdraw', 'plugin.request.approve', 'plugin.request.second-approve', 'plugin.request.reject', 'plugin.request.auto-approve', 'plugin.listing.publish', 'plugin.listing.update', 'plugin.listing.state.change', 'plugin.listing.pause', 'plugin.listing.unpause', 'plugin.version.pause', 'plugin.version.yank', 'plugin.version.unyank', 'plugin.version.retire', 'toolchain.default.set', 'toolchain.default.initial', 'toolchain.default.restore', 'toolchain.rollout.update', 'toolchain.release.notes', 'toolchain.release.deprecate', 'toolchain.release.yank', 'toolchain.release.delete', 'toolchain.recovery.notify', 'toolchain.org_default.set', 'toolchain.org_default.clear', 'plugin.version.deprecate', 'plugin.version.prune', 'ecosystem.auto-approval-rule.create', 'ecosystem.auto-approval-rule.update', 'ecosystem.auto-approval-rule.delete', 'ecosystem.reserved-name.update', 'ecosystem.bootstrap.open', 'ecosystem.bootstrap.close', 'registry.image.publish', 'registry.image.resign', 'registry.image.yank', 'registry.image.gc', 'plugin.install.request', 'plugin.install.approve', 'plugin.install.deny', 'plugin.install.create', 'plugin.install.upgrade', 'plugin.install.change-request', 'plugin.install.change-approve', 'plugin.install.change-reject', 'plugin.install.remove', 'org.plugin-install-policy.update', 'plugin.shadowing.denied', 'plugin.review.create', 'plugin.review.update', 'plugin.review.delete', 'plugin.review.report', 'plugin.review.hold', 'plugin.review.release', 'plugin.review.remove', 'plugin.review.anonymize', 'plugin.review.reply.create', 'plugin.review.reply.update', 'plugin.review.reply.delete', 'plugin.submission.create', 'plugin.submission.verify', 'plugin.submission.gate-fail', 'plugin.submission.approve', 'plugin.submission.reject', 'plugin.submission.claim', 'plugin.submission.expire', 'plugin.advisory.create', 'plugin.advisory.update', 'plugin.advisory.publish', 'plugin.advisory.withdraw', 'plugin.security_notifications.update', 'plugin.security_notifications.external_email.verify', 'plugin.security_notifications.test', 'plugin.setup_image.promoted', 'plugin.setup_image.promote_refused', 'plugin.setup_image.kept', 'plugin.setup_image.discarded', 'pipeline.vuln.accepted', 'pipeline.vuln.false_positive', 'pipeline.vuln.reopened', 'pipeline.runtime_check.flagged', 'pipeline.plugin.upgraded', 'pipeline.security_report.upload', 'pipeline.security_report.delete', 'dashboard.create', 'dashboard.update', 'dashboard.delete', 'dashboard.restore', 'dashboard.purge', 'dashboard.clone', 'alert.destination.create', 'alert.destination.update', 'alert.destination.delete', 'alert.destination.restore', 'alert.destination.purge', 'alert.destination.test', 'alert.rule.create', 'alert.rule.update', 'alert.rule.delete', 'alert.rule.restore', 'alert.rule.purge', 'observability.silence.create', 'observability.silence.delete', 'observability.pvc.autoexpand', 'observability.postgres.rung', 'observability.node_disk.autoexpand', 'observability.logs.export', 'observability.logs.cross-org-read'];
|
|
21
21
|
export type RemoteAuditAction = typeof REMOTE_AUDIT_ACTIONS[number];
|
|
22
22
|
/** Whether `value` is an action a remote service may emit (the ingest allow-list). */
|
|
23
23
|
export declare function isRemoteAuditAction(value: string): value is RemoteAuditAction;
|