@replicated/portal-components 0.0.13 → 0.0.15

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 (37) hide show
  1. package/components/metadata/registry.json +2 -2
  2. package/components/metadata/registry.md +2 -2
  3. package/dist/actions/index.d.mts +20 -16
  4. package/dist/actions/index.d.ts +20 -16
  5. package/dist/actions/index.js +31 -0
  6. package/dist/actions/index.js.map +1 -1
  7. package/dist/esm/actions/index.js +31 -1
  8. package/dist/esm/actions/index.js.map +1 -1
  9. package/dist/esm/helm-install-wizard.js.map +1 -1
  10. package/dist/esm/index.js +32 -2
  11. package/dist/esm/index.js.map +1 -1
  12. package/dist/esm/install-actions.js.map +1 -1
  13. package/dist/esm/license-details.js.map +1 -1
  14. package/dist/esm/linux-install-wizard.js.map +1 -1
  15. package/dist/esm/security-card.js +38 -30
  16. package/dist/esm/security-card.js.map +1 -1
  17. package/dist/esm/support-card.js.map +1 -1
  18. package/dist/esm/top-nav.js.map +1 -1
  19. package/dist/esm/update-layout.js.map +1 -1
  20. package/dist/esm/utils/index.js.map +1 -1
  21. package/dist/helm-install-wizard.js.map +1 -1
  22. package/dist/index.d.mts +1 -1
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.js +32 -1
  25. package/dist/index.js.map +1 -1
  26. package/dist/install-actions.js.map +1 -1
  27. package/dist/license-details.js.map +1 -1
  28. package/dist/linux-install-wizard.js.map +1 -1
  29. package/dist/security-card.d.mts +10 -5
  30. package/dist/security-card.d.ts +10 -5
  31. package/dist/security-card.js +38 -30
  32. package/dist/security-card.js.map +1 -1
  33. package/dist/support-card.js.map +1 -1
  34. package/dist/top-nav.js.map +1 -1
  35. package/dist/update-layout.js.map +1 -1
  36. package/dist/utils/index.js.map +1 -1
  37. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.0.13",
3
- "generatedAt": "2026-01-19T17:00:15.474Z",
2
+ "version": "0.0.15",
3
+ "generatedAt": "2026-01-20T17:38:17.652Z",
4
4
  "components": [
5
5
  {
6
6
  "name": "Button",
@@ -1,7 +1,7 @@
1
1
  # Component Registry
2
2
 
3
- - Version: 0.0.13
4
- - Generated: 2026-01-19T17:00:15.474Z
3
+ - Version: 0.0.15
4
+ - Generated: 2026-01-20T17:38:17.652Z
5
5
 
6
6
  ## Button
7
7
 
@@ -281,21 +281,14 @@ interface GetSecurityInfoDiffResult {
281
281
  to_channel_sequence: number;
282
282
  images: Record<string, SecurityInfoDiff>;
283
283
  }
284
- interface UnifiedSbom {
285
- sbom: string;
286
- sbom_source: string;
287
- }
288
- interface SpdxCreationInfo {
289
- created: string;
290
- creators: string[];
291
- }
292
- interface SpdxDocument {
293
- SPDXID: string;
294
- spdxVersion: string;
284
+ interface SBOMMetadata {
295
285
  name: string;
296
- creationInfo?: SpdxCreationInfo;
297
- packages?: unknown[];
298
- files?: unknown[];
286
+ spdxVersion: string;
287
+ packageCount: number;
288
+ fileCount: number;
289
+ created?: string;
290
+ creator?: string;
291
+ source?: string;
299
292
  }
300
293
  interface GetSecurityInfoSBOMInput {
301
294
  token: string;
@@ -306,9 +299,15 @@ interface GetSecurityInfoSBOMInput {
306
299
  }
307
300
  interface GetSecurityInfoSBOMResult {
308
301
  sboms: {
309
- unified?: UnifiedSbom;
302
+ unified?: SBOMMetadata;
310
303
  };
311
304
  }
305
+ interface DownloadSBOMInput {
306
+ token: string;
307
+ installType: SecurityInstallType;
308
+ channelSequence: number;
309
+ isAirgap?: boolean;
310
+ }
312
311
  /**
313
312
  * Fetches security scan (CVE) information for a specific release.
314
313
  */
@@ -321,6 +320,11 @@ declare const getSecurityInfoDiff: PortalServerActionDefinition<GetSecurityInfoD
321
320
  * Fetches SBOM (Software Bill of Materials) for a specific release.
322
321
  */
323
322
  declare const getSecurityInfoSBOM: PortalServerActionDefinition<GetSecurityInfoSBOMInput, GetSecurityInfoSBOMResult>;
323
+ /**
324
+ * Downloads the full SBOM file for a specific release.
325
+ * Returns a download URL that can be used to fetch the SBOM.
326
+ */
327
+ declare const downloadSecuritySBOM: PortalServerActionDefinition<DownloadSBOMInput, string>;
324
328
  interface FetchTeamStatsInput {
325
329
  token: string;
326
330
  }
@@ -630,4 +634,4 @@ interface RefreshInviteResult {
630
634
  */
631
635
  declare const refreshInvite: PortalServerActionDefinition<RefreshInviteInput, RefreshInviteResult>;
632
636
 
633
- export { type AcceptInviteError, type AcceptInviteInput, type AcceptInviteResult, type CreateServiceAccountInput, type CreateServiceAccountResult, type CustomBrandingResponse, type Customer, type DeleteSupportBundleInput, type DeleteSupportBundleResult, type DeleteUserInput, type DeleteUserResult, type DeprovisionSamlInput, type DeprovisionSamlResult, type DownloadSupportBundleInput, type DownloadSupportBundleResult, type FetchCurrentUserInput, type FetchCurrentUserResult, type FetchCustomersInput, type FetchCustomersResult, type FetchDashboardInstancesInput, type FetchDashboardInstancesResult, type FetchInstallOptionsInput, type FetchInstallOptionsResult, type FetchInstancesInput, type FetchInstancesResult, type FetchLicenseDetailsInput, type FetchLicenseDetailsResult, type FetchLicenseSummaryInput, type FetchLicenseSummaryResult, type FetchNotificationsInput, type FetchNotificationsResult, type FetchSamlConfigInput, type FetchSamlConfigResult, type FetchServiceAccountsInput, type FetchServiceAccountsResult, type FetchTeamStatsInput, type FetchTeamStatsResult, type FetchTeamUsersInput, type FetchTeamUsersResult, type GetSecurityInfoDiffInput, type GetSecurityInfoDiffResult, type GetSecurityInfoInput, type GetSecurityInfoResult, type GetSecurityInfoSBOMInput, type GetSecurityInfoSBOMResult, type InitiateLoginInput, type InitiateLoginResult, type Instance, type InviteUserInput, type InviteUserResult, type ListReleasesInput, type ListReleasesResult, type ListSupportBundlesInput, type ListSupportBundlesResult, type NotificationSetting, type PortalActionContext, type PortalActionVisibility, type PortalLicenseDetails, type PortalLicenseField, type PortalServerActionDefinition, type RefreshInviteInput, type RefreshInviteResult, type RevokeServiceAccountInput, type RevokeServiceAccountResult, type RotateServiceAccountTokenInput, type RotateServiceAccountTokenResult, type SAMLConfig, type SecurityInfoDiff, type SecurityInstallType, type SecurityReleaseImage, type SecurityScanSummary, type SecurityScanWrapper, type ServiceAccount, type ServiceAccountData, type ServiceAccountSummary, type SpdxCreationInfo, type SpdxDocument, type SupportBundleInsight, type SupportBundleSummary, type SwitchCustomerInput, type SwitchCustomerResult, type TeamUser, type ToggleSamlEnabledInput, type ToggleSamlEnabledResult, type UnifiedSbom, type UpdateNotificationsInput, type UpdateNotificationsResult, type UpdateSamlConfigInput, type UpdateSamlConfigResult, type UpdateUserInput, type UpdateUserResult, type UploadSupportBundleCompleteInput, type UploadSupportBundleCompleteResult, type UploadSupportBundleInput, type UploadSupportBundleResult, type UserProfile, type VerifyMagicLinkError, type VerifyMagicLinkInput, type VerifyMagicLinkResult, acceptInvite, createServiceAccount, decodeJwtPayload, defineServerAction, deleteSupportBundle, deleteUser, deprovisionSaml, downloadSupportBundle, fetchCurrentUser, fetchCustomBranding, fetchCustomers, fetchDashboardComposite, fetchDashboardInstances, fetchInstallOptions, fetchInstances, fetchLicenseDetails, fetchLicenseSummary, fetchNotifications, fetchSamlConfig, fetchServiceAccounts, fetchTeamStats, fetchTeamUsers, getApiOrigin, getCustomerIdFromToken, getSecurityInfo, getSecurityInfoDiff, getSecurityInfoSBOM, getSupportBundleUploadUrl, initiateLogin, inviteUser, listReleases, listSupportBundles, refreshInvite, revokeServiceAccount, rotateServiceAccountToken, switchCustomer, toggleSamlEnabled, updateNotifications, updateSamlConfig, updateUser, uploadSupportBundle, verifyMagicLink };
637
+ export { type AcceptInviteError, type AcceptInviteInput, type AcceptInviteResult, type CreateServiceAccountInput, type CreateServiceAccountResult, type CustomBrandingResponse, type Customer, type DeleteSupportBundleInput, type DeleteSupportBundleResult, type DeleteUserInput, type DeleteUserResult, type DeprovisionSamlInput, type DeprovisionSamlResult, type DownloadSBOMInput, type DownloadSupportBundleInput, type DownloadSupportBundleResult, type FetchCurrentUserInput, type FetchCurrentUserResult, type FetchCustomersInput, type FetchCustomersResult, type FetchDashboardInstancesInput, type FetchDashboardInstancesResult, type FetchInstallOptionsInput, type FetchInstallOptionsResult, type FetchInstancesInput, type FetchInstancesResult, type FetchLicenseDetailsInput, type FetchLicenseDetailsResult, type FetchLicenseSummaryInput, type FetchLicenseSummaryResult, type FetchNotificationsInput, type FetchNotificationsResult, type FetchSamlConfigInput, type FetchSamlConfigResult, type FetchServiceAccountsInput, type FetchServiceAccountsResult, type FetchTeamStatsInput, type FetchTeamStatsResult, type FetchTeamUsersInput, type FetchTeamUsersResult, type GetSecurityInfoDiffInput, type GetSecurityInfoDiffResult, type GetSecurityInfoInput, type GetSecurityInfoResult, type GetSecurityInfoSBOMInput, type GetSecurityInfoSBOMResult, type InitiateLoginInput, type InitiateLoginResult, type Instance, type InviteUserInput, type InviteUserResult, type ListReleasesInput, type ListReleasesResult, type ListSupportBundlesInput, type ListSupportBundlesResult, type NotificationSetting, type PortalActionContext, type PortalActionVisibility, type PortalLicenseDetails, type PortalLicenseField, type PortalServerActionDefinition, type RefreshInviteInput, type RefreshInviteResult, type RevokeServiceAccountInput, type RevokeServiceAccountResult, type RotateServiceAccountTokenInput, type RotateServiceAccountTokenResult, type SAMLConfig, type SBOMMetadata, type SecurityInfoDiff, type SecurityInstallType, type SecurityReleaseImage, type SecurityScanSummary, type SecurityScanWrapper, type ServiceAccount, type ServiceAccountData, type ServiceAccountSummary, type SupportBundleInsight, type SupportBundleSummary, type SwitchCustomerInput, type SwitchCustomerResult, type TeamUser, type ToggleSamlEnabledInput, type ToggleSamlEnabledResult, type UpdateNotificationsInput, type UpdateNotificationsResult, type UpdateSamlConfigInput, type UpdateSamlConfigResult, type UpdateUserInput, type UpdateUserResult, type UploadSupportBundleCompleteInput, type UploadSupportBundleCompleteResult, type UploadSupportBundleInput, type UploadSupportBundleResult, type UserProfile, type VerifyMagicLinkError, type VerifyMagicLinkInput, type VerifyMagicLinkResult, acceptInvite, createServiceAccount, decodeJwtPayload, defineServerAction, deleteSupportBundle, deleteUser, deprovisionSaml, downloadSecuritySBOM, downloadSupportBundle, fetchCurrentUser, fetchCustomBranding, fetchCustomers, fetchDashboardComposite, fetchDashboardInstances, fetchInstallOptions, fetchInstances, fetchLicenseDetails, fetchLicenseSummary, fetchNotifications, fetchSamlConfig, fetchServiceAccounts, fetchTeamStats, fetchTeamUsers, getApiOrigin, getCustomerIdFromToken, getSecurityInfo, getSecurityInfoDiff, getSecurityInfoSBOM, getSupportBundleUploadUrl, initiateLogin, inviteUser, listReleases, listSupportBundles, refreshInvite, revokeServiceAccount, rotateServiceAccountToken, switchCustomer, toggleSamlEnabled, updateNotifications, updateSamlConfig, updateUser, uploadSupportBundle, verifyMagicLink };
@@ -281,21 +281,14 @@ interface GetSecurityInfoDiffResult {
281
281
  to_channel_sequence: number;
282
282
  images: Record<string, SecurityInfoDiff>;
283
283
  }
284
- interface UnifiedSbom {
285
- sbom: string;
286
- sbom_source: string;
287
- }
288
- interface SpdxCreationInfo {
289
- created: string;
290
- creators: string[];
291
- }
292
- interface SpdxDocument {
293
- SPDXID: string;
294
- spdxVersion: string;
284
+ interface SBOMMetadata {
295
285
  name: string;
296
- creationInfo?: SpdxCreationInfo;
297
- packages?: unknown[];
298
- files?: unknown[];
286
+ spdxVersion: string;
287
+ packageCount: number;
288
+ fileCount: number;
289
+ created?: string;
290
+ creator?: string;
291
+ source?: string;
299
292
  }
300
293
  interface GetSecurityInfoSBOMInput {
301
294
  token: string;
@@ -306,9 +299,15 @@ interface GetSecurityInfoSBOMInput {
306
299
  }
307
300
  interface GetSecurityInfoSBOMResult {
308
301
  sboms: {
309
- unified?: UnifiedSbom;
302
+ unified?: SBOMMetadata;
310
303
  };
311
304
  }
305
+ interface DownloadSBOMInput {
306
+ token: string;
307
+ installType: SecurityInstallType;
308
+ channelSequence: number;
309
+ isAirgap?: boolean;
310
+ }
312
311
  /**
313
312
  * Fetches security scan (CVE) information for a specific release.
314
313
  */
@@ -321,6 +320,11 @@ declare const getSecurityInfoDiff: PortalServerActionDefinition<GetSecurityInfoD
321
320
  * Fetches SBOM (Software Bill of Materials) for a specific release.
322
321
  */
323
322
  declare const getSecurityInfoSBOM: PortalServerActionDefinition<GetSecurityInfoSBOMInput, GetSecurityInfoSBOMResult>;
323
+ /**
324
+ * Downloads the full SBOM file for a specific release.
325
+ * Returns a download URL that can be used to fetch the SBOM.
326
+ */
327
+ declare const downloadSecuritySBOM: PortalServerActionDefinition<DownloadSBOMInput, string>;
324
328
  interface FetchTeamStatsInput {
325
329
  token: string;
326
330
  }
@@ -630,4 +634,4 @@ interface RefreshInviteResult {
630
634
  */
631
635
  declare const refreshInvite: PortalServerActionDefinition<RefreshInviteInput, RefreshInviteResult>;
632
636
 
633
- export { type AcceptInviteError, type AcceptInviteInput, type AcceptInviteResult, type CreateServiceAccountInput, type CreateServiceAccountResult, type CustomBrandingResponse, type Customer, type DeleteSupportBundleInput, type DeleteSupportBundleResult, type DeleteUserInput, type DeleteUserResult, type DeprovisionSamlInput, type DeprovisionSamlResult, type DownloadSupportBundleInput, type DownloadSupportBundleResult, type FetchCurrentUserInput, type FetchCurrentUserResult, type FetchCustomersInput, type FetchCustomersResult, type FetchDashboardInstancesInput, type FetchDashboardInstancesResult, type FetchInstallOptionsInput, type FetchInstallOptionsResult, type FetchInstancesInput, type FetchInstancesResult, type FetchLicenseDetailsInput, type FetchLicenseDetailsResult, type FetchLicenseSummaryInput, type FetchLicenseSummaryResult, type FetchNotificationsInput, type FetchNotificationsResult, type FetchSamlConfigInput, type FetchSamlConfigResult, type FetchServiceAccountsInput, type FetchServiceAccountsResult, type FetchTeamStatsInput, type FetchTeamStatsResult, type FetchTeamUsersInput, type FetchTeamUsersResult, type GetSecurityInfoDiffInput, type GetSecurityInfoDiffResult, type GetSecurityInfoInput, type GetSecurityInfoResult, type GetSecurityInfoSBOMInput, type GetSecurityInfoSBOMResult, type InitiateLoginInput, type InitiateLoginResult, type Instance, type InviteUserInput, type InviteUserResult, type ListReleasesInput, type ListReleasesResult, type ListSupportBundlesInput, type ListSupportBundlesResult, type NotificationSetting, type PortalActionContext, type PortalActionVisibility, type PortalLicenseDetails, type PortalLicenseField, type PortalServerActionDefinition, type RefreshInviteInput, type RefreshInviteResult, type RevokeServiceAccountInput, type RevokeServiceAccountResult, type RotateServiceAccountTokenInput, type RotateServiceAccountTokenResult, type SAMLConfig, type SecurityInfoDiff, type SecurityInstallType, type SecurityReleaseImage, type SecurityScanSummary, type SecurityScanWrapper, type ServiceAccount, type ServiceAccountData, type ServiceAccountSummary, type SpdxCreationInfo, type SpdxDocument, type SupportBundleInsight, type SupportBundleSummary, type SwitchCustomerInput, type SwitchCustomerResult, type TeamUser, type ToggleSamlEnabledInput, type ToggleSamlEnabledResult, type UnifiedSbom, type UpdateNotificationsInput, type UpdateNotificationsResult, type UpdateSamlConfigInput, type UpdateSamlConfigResult, type UpdateUserInput, type UpdateUserResult, type UploadSupportBundleCompleteInput, type UploadSupportBundleCompleteResult, type UploadSupportBundleInput, type UploadSupportBundleResult, type UserProfile, type VerifyMagicLinkError, type VerifyMagicLinkInput, type VerifyMagicLinkResult, acceptInvite, createServiceAccount, decodeJwtPayload, defineServerAction, deleteSupportBundle, deleteUser, deprovisionSaml, downloadSupportBundle, fetchCurrentUser, fetchCustomBranding, fetchCustomers, fetchDashboardComposite, fetchDashboardInstances, fetchInstallOptions, fetchInstances, fetchLicenseDetails, fetchLicenseSummary, fetchNotifications, fetchSamlConfig, fetchServiceAccounts, fetchTeamStats, fetchTeamUsers, getApiOrigin, getCustomerIdFromToken, getSecurityInfo, getSecurityInfoDiff, getSecurityInfoSBOM, getSupportBundleUploadUrl, initiateLogin, inviteUser, listReleases, listSupportBundles, refreshInvite, revokeServiceAccount, rotateServiceAccountToken, switchCustomer, toggleSamlEnabled, updateNotifications, updateSamlConfig, updateUser, uploadSupportBundle, verifyMagicLink };
637
+ export { type AcceptInviteError, type AcceptInviteInput, type AcceptInviteResult, type CreateServiceAccountInput, type CreateServiceAccountResult, type CustomBrandingResponse, type Customer, type DeleteSupportBundleInput, type DeleteSupportBundleResult, type DeleteUserInput, type DeleteUserResult, type DeprovisionSamlInput, type DeprovisionSamlResult, type DownloadSBOMInput, type DownloadSupportBundleInput, type DownloadSupportBundleResult, type FetchCurrentUserInput, type FetchCurrentUserResult, type FetchCustomersInput, type FetchCustomersResult, type FetchDashboardInstancesInput, type FetchDashboardInstancesResult, type FetchInstallOptionsInput, type FetchInstallOptionsResult, type FetchInstancesInput, type FetchInstancesResult, type FetchLicenseDetailsInput, type FetchLicenseDetailsResult, type FetchLicenseSummaryInput, type FetchLicenseSummaryResult, type FetchNotificationsInput, type FetchNotificationsResult, type FetchSamlConfigInput, type FetchSamlConfigResult, type FetchServiceAccountsInput, type FetchServiceAccountsResult, type FetchTeamStatsInput, type FetchTeamStatsResult, type FetchTeamUsersInput, type FetchTeamUsersResult, type GetSecurityInfoDiffInput, type GetSecurityInfoDiffResult, type GetSecurityInfoInput, type GetSecurityInfoResult, type GetSecurityInfoSBOMInput, type GetSecurityInfoSBOMResult, type InitiateLoginInput, type InitiateLoginResult, type Instance, type InviteUserInput, type InviteUserResult, type ListReleasesInput, type ListReleasesResult, type ListSupportBundlesInput, type ListSupportBundlesResult, type NotificationSetting, type PortalActionContext, type PortalActionVisibility, type PortalLicenseDetails, type PortalLicenseField, type PortalServerActionDefinition, type RefreshInviteInput, type RefreshInviteResult, type RevokeServiceAccountInput, type RevokeServiceAccountResult, type RotateServiceAccountTokenInput, type RotateServiceAccountTokenResult, type SAMLConfig, type SBOMMetadata, type SecurityInfoDiff, type SecurityInstallType, type SecurityReleaseImage, type SecurityScanSummary, type SecurityScanWrapper, type ServiceAccount, type ServiceAccountData, type ServiceAccountSummary, type SupportBundleInsight, type SupportBundleSummary, type SwitchCustomerInput, type SwitchCustomerResult, type TeamUser, type ToggleSamlEnabledInput, type ToggleSamlEnabledResult, type UpdateNotificationsInput, type UpdateNotificationsResult, type UpdateSamlConfigInput, type UpdateSamlConfigResult, type UpdateUserInput, type UpdateUserResult, type UploadSupportBundleCompleteInput, type UploadSupportBundleCompleteResult, type UploadSupportBundleInput, type UploadSupportBundleResult, type UserProfile, type VerifyMagicLinkError, type VerifyMagicLinkInput, type VerifyMagicLinkResult, acceptInvite, createServiceAccount, decodeJwtPayload, defineServerAction, deleteSupportBundle, deleteUser, deprovisionSaml, downloadSecuritySBOM, downloadSupportBundle, fetchCurrentUser, fetchCustomBranding, fetchCustomers, fetchDashboardComposite, fetchDashboardInstances, fetchInstallOptions, fetchInstances, fetchLicenseDetails, fetchLicenseSummary, fetchNotifications, fetchSamlConfig, fetchServiceAccounts, fetchTeamStats, fetchTeamUsers, getApiOrigin, getCustomerIdFromToken, getSecurityInfo, getSecurityInfoDiff, getSecurityInfoSBOM, getSupportBundleUploadUrl, initiateLogin, inviteUser, listReleases, listSupportBundles, refreshInvite, revokeServiceAccount, rotateServiceAccountToken, switchCustomer, toggleSamlEnabled, updateNotifications, updateSamlConfig, updateUser, uploadSupportBundle, verifyMagicLink };
@@ -1098,6 +1098,36 @@ var getSecurityInfoSBOM = defineServerAction({
1098
1098
  return envelope.data;
1099
1099
  }
1100
1100
  });
1101
+ var downloadSecuritySBOM = defineServerAction({
1102
+ id: "security/download-sbom",
1103
+ description: "Downloads the full SBOM file for a specific release",
1104
+ visibility: "customer",
1105
+ tags: ["security", "sbom", "download"],
1106
+ async run({ token, installType, channelSequence, isAirgap = false }, context) {
1107
+ if (!token || typeof token !== "string") {
1108
+ throw new Error("Security SBOM download requires a session token");
1109
+ }
1110
+ const params = new URLSearchParams({
1111
+ install_type: installType,
1112
+ channel_sequence: channelSequence.toString(),
1113
+ is_airgap: isAirgap.toString()
1114
+ });
1115
+ const url = `${getApiOrigin()}/enterprise-portal/security-sbom/download?${params.toString()}`;
1116
+ if (process.env.NODE_ENV !== "production") {
1117
+ console.debug("[portal-components] downloading security SBOM via %s", url);
1118
+ }
1119
+ const response = await authenticatedFetch(url, {
1120
+ token,
1121
+ signal: context?.signal
1122
+ });
1123
+ if (!response.ok) {
1124
+ throw new Error(
1125
+ `Security SBOM download failed (${response.status} ${response.statusText})`
1126
+ );
1127
+ }
1128
+ return await response.text();
1129
+ }
1130
+ });
1101
1131
  var fetchDashboardComposite = defineServerAction({
1102
1132
  id: "dashboard/fetch-composite",
1103
1133
  description: "Fetches all dashboard data from the composite Enterprise Portal API endpoint",
@@ -1952,6 +1982,7 @@ exports.defineServerAction = defineServerAction;
1952
1982
  exports.deleteSupportBundle = deleteSupportBundle;
1953
1983
  exports.deleteUser = deleteUser;
1954
1984
  exports.deprovisionSaml = deprovisionSaml;
1985
+ exports.downloadSecuritySBOM = downloadSecuritySBOM;
1955
1986
  exports.downloadSupportBundle = downloadSupportBundle;
1956
1987
  exports.fetchCurrentUser = fetchCurrentUser;
1957
1988
  exports.fetchCustomBranding = fetchCustomBranding;