@vendasta/mission-control 3.9.0 → 3.11.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.
@@ -1,4 +1,4 @@
1
1
  export { Environment, } from './shared-const.enum';
2
2
  export { TimeRange, StatRateUnit, } from './app-metrics.enum';
3
- export { AlertType, AppType, BuildStatus, DeliveryType, DeploymentStatus, EventType, KubernetesController, VulnerabilitySeverity, } from './mission-control.enum';
3
+ export { AlertType, AppType, BuildStatus, DeliveryType, DeploymentStatus, EventType, KubernetesController, VulnerabilityScanStatus, VulnerabilitySeverity, } from './mission-control.enum';
4
4
  export { ServiceReadiness, } from './service-level.enum';
@@ -38,6 +38,13 @@ export declare enum KubernetesController {
38
38
  KUBERNETES_CONTROLLER_DEPLOYMENT = 0,
39
39
  KUBERNETES_CONTROLLER_ARGOROLLOUT = 1
40
40
  }
41
+ export declare enum VulnerabilityScanStatus {
42
+ VULNERABILITY_SCAN_STATUS_NOT_APPLICABLE = 0,
43
+ VULNERABILITY_SCAN_STATUS_PENDING = 1,
44
+ VULNERABILITY_SCAN_STATUS_IN_PROGRESS = 2,
45
+ VULNERABILITY_SCAN_STATUS_COMPLETE = 3,
46
+ VULNERABILITY_SCAN_STATUS_FAILED = 4
47
+ }
41
48
  export declare enum VulnerabilitySeverity {
42
49
  VULNERABILITY_SEVERITY_UNSPECIFIED = 0,
43
50
  VULNERABILITY_SEVERITY_LOW = 1,
@@ -1,5 +1,5 @@
1
1
  export { PagedRequestOptionsInterface, PagedResponseMetadataInterface, } from './shared-const.interface';
2
2
  export { ChangeFailDataInterface, ChangeFailGetMultiRequestInterface, ChangeFailGetMultiResponseInterface, DeploymentFrequencyDataInterface, DeploymentFrequencyGetMultiRequestInterface, DeploymentFrequencyGetMultiResponseInterface, LeadTimeInterface, LeadTimeGetMultiRequestInterface, LeadTimeGetMultiResponseInterface, LeadTimeListRequestInterface, LeadTimeListResponseInterface, LeadTimeSummaryInterface, MTTRDataInterface, MTTRGetMultiRequestInterface, MTTRGetMultiResponseInterface, StatRateInterface, StatSnapshotInterface, UserDeployFrequencyDataInterface, UserDeployFrequencyGetMultiRequestInterface, UserDeployFrequencyGetMultiResponseInterface, } from './app-metrics.interface';
3
- export { AlertInterface, AppConfigInterface, ApplicationInterface, ApplicationLinkInterface, ArtifactsInterface, CreateApplicationRequestInterface, CreateDeliveryRequestInterface, CreateDeliveryResponseInterface, CreateDeploymentRequestInterface, CreateDeploymentResponseInterface, DeleteApplicationRequestInterface, DeleteDeliveryRequestInterface, DeliveryInterface, DeliveryLockInterface, DeliveryMethodInterface, DeploymentInterface, EventInterface, GetApplicationLinksRequestInterface, GetApplicationLinksResponseInterface, GetDeploymentRequestInterface, GetDeploymentResponseInterface, GetSecurityVulnerabilitiesRequestInterface, GetSecurityVulnerabilitiesResponseInterface, GetUserSettingsRequestInterface, GetUserSettingsResponseInterface, GetZonesRequestInterface, GetZonesResponseInterface, GitCommitDetailsInterface, GithubCommitUserInterface, K8SConfigInterface, ListApplicationsRequestInterface, ListApplicationsResponseInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeliveriesResponseInterface, ListDeploymentsRequestInterface, ListDeploymentsResponseInterface, ListEventsRequestInterface, ListEventsResponseInterface, SecurityVulnerabilityInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateDeploymentResponseInterface, UpdateUserSettingsRequestInterface, UserNotificationsInterface, UserSettingsInterface, VulnerabilitySnapshotInterface, VulnerabilitySummaryInterface, } from './mission-control.interface';
3
+ export { AlertInterface, AppConfigInterface, ApplicationInterface, ApplicationLinkInterface, ArtifactsInterface, CreateApplicationRequestInterface, CreateDeliveryRequestInterface, CreateDeliveryResponseInterface, CreateDeploymentRequestInterface, CreateDeploymentResponseInterface, DeleteApplicationRequestInterface, DeleteDeliveryRequestInterface, DeliveryInterface, DeliveryLockInterface, DeliveryMethodInterface, DeploymentInterface, EventInterface, GetApplicationLinksRequestInterface, GetApplicationLinksResponseInterface, GetDeploymentRequestInterface, GetDeploymentResponseInterface, GetSecurityVulnerabilitiesRequestInterface, GetSecurityVulnerabilitiesResponseInterface, GetUserSettingsRequestInterface, GetUserSettingsResponseInterface, GetZonesRequestInterface, GetZonesResponseInterface, GitCommitDetailsInterface, GithubCommitUserInterface, K8SConfigInterface, ListApplicationsRequestInterface, ListApplicationsResponseInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeliveriesResponseInterface, ListDeploymentsRequestInterface, ListDeploymentsResponseInterface, ListEventsRequestInterface, ListEventsResponseInterface, SecurityVulnerabilityInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateDeploymentResponseInterface, UpdateDeploymentVulnerabilitiesRequestInterface, UpdateDeploymentVulnerabilitiesResponseInterface, UpdateUserSettingsRequestInterface, UserNotificationsInterface, UserSettingsInterface, VulnerabilitySnapshotInterface, VulnerabilitySummaryInterface, } from './mission-control.interface';
4
4
  export { GetServiceLevelsRequestInterface, QueryServiceLevelsRequestInterface, ServiceLevelInterface, ServiceLevelsResponseInterface, } from './service-level.interface';
5
5
  export { GetUserSettingsRequestV2Interface, GetUserSettingsResponseV2Interface, UpdateUserSettingsRequestV2Interface, UserNotificationsV2Interface, UserSettingsV2Interface, } from './user.interface';
@@ -72,6 +72,7 @@ export interface DeliveryInterface {
72
72
  message?: string;
73
73
  isRollback?: boolean;
74
74
  buildId?: string;
75
+ vulnerabilityRiskOverrideReason?: string;
75
76
  }
76
77
  export interface DeliveryLockInterface {
77
78
  userEmail?: string;
@@ -106,6 +107,7 @@ export interface DeploymentInterface {
106
107
  k8sConfig?: K8SConfigInterface;
107
108
  vulnerabilitySummary?: VulnerabilitySummaryInterface;
108
109
  vulnerabilitySnapshot?: VulnerabilitySnapshotInterface;
110
+ vulnerabilityScanStatus?: e.VulnerabilityScanStatus;
109
111
  }
110
112
  export interface EventInterface {
111
113
  appId?: string;
@@ -248,6 +250,16 @@ export interface UpdateDeploymentRequestInterface {
248
250
  export interface UpdateDeploymentResponseInterface {
249
251
  deploymentId?: string;
250
252
  }
253
+ export interface UpdateDeploymentVulnerabilitiesRequestInterface {
254
+ appId?: string;
255
+ deploymentId?: string;
256
+ environment?: e.Environment;
257
+ vulnerabilitySummary?: VulnerabilitySummaryInterface;
258
+ vulnerabilitySnapshot?: VulnerabilitySnapshotInterface;
259
+ vulnerabilityScanStatus?: e.VulnerabilityScanStatus;
260
+ }
261
+ export interface UpdateDeploymentVulnerabilitiesResponseInterface {
262
+ }
251
263
  export interface UpdateUserSettingsRequestInterface {
252
264
  settings?: UserSettingsInterface;
253
265
  }
@@ -1,5 +1,5 @@
1
- import { CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, GetApplicationLinksRequest, GetApplicationLinksResponse, GetDeploymentRequest, GetDeploymentResponse, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, SendBuildNotificationRequest, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateUserSettingsRequest } from './objects/';
2
- import { CreateApplicationRequestInterface, CreateDeliveryRequestInterface, CreateDeploymentRequestInterface, DeleteApplicationRequestInterface, DeleteDeliveryRequestInterface, GetApplicationLinksRequestInterface, GetDeploymentRequestInterface, GetSecurityVulnerabilitiesRequestInterface, GetUserSettingsRequestInterface, GetZonesRequestInterface, ListApplicationsRequestInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeploymentsRequestInterface, ListEventsRequestInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateUserSettingsRequestInterface } from './interfaces/';
1
+ import { CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, GetApplicationLinksRequest, GetApplicationLinksResponse, GetDeploymentRequest, GetDeploymentResponse, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, SendBuildNotificationRequest, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateDeploymentVulnerabilitiesRequest, UpdateDeploymentVulnerabilitiesResponse, UpdateUserSettingsRequest } from './objects/';
2
+ import { CreateApplicationRequestInterface, CreateDeliveryRequestInterface, CreateDeploymentRequestInterface, DeleteApplicationRequestInterface, DeleteDeliveryRequestInterface, GetApplicationLinksRequestInterface, GetDeploymentRequestInterface, GetSecurityVulnerabilitiesRequestInterface, GetUserSettingsRequestInterface, GetZonesRequestInterface, ListApplicationsRequestInterface, ListDeliveriesByUserRequestInterface, ListDeliveriesRequestInterface, ListDeploymentsRequestInterface, ListEventsRequestInterface, SendBuildNotificationRequestInterface, UpdateApplicationRequestInterface, UpdateDeliveryRequestInterface, UpdateDeploymentRequestInterface, UpdateDeploymentVulnerabilitiesRequestInterface, UpdateUserSettingsRequestInterface } from './interfaces/';
3
3
  import { HttpResponse } from '@angular/common/http';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -16,6 +16,7 @@ export declare class MissionControlApiService {
16
16
  listDeployments(r: ListDeploymentsRequest | ListDeploymentsRequestInterface): Observable<ListDeploymentsResponse>;
17
17
  getDeployment(r: GetDeploymentRequest | GetDeploymentRequestInterface): Observable<GetDeploymentResponse>;
18
18
  updateDeployment(r: UpdateDeploymentRequest | UpdateDeploymentRequestInterface): Observable<UpdateDeploymentResponse>;
19
+ updateDeploymentVulnerabilities(r: UpdateDeploymentVulnerabilitiesRequest | UpdateDeploymentVulnerabilitiesRequestInterface): Observable<UpdateDeploymentVulnerabilitiesResponse>;
19
20
  createDelivery(r: CreateDeliveryRequest | CreateDeliveryRequestInterface): Observable<CreateDeliveryResponse>;
20
21
  listDeliveries(r: ListDeliveriesRequest | ListDeliveriesRequestInterface): Observable<ListDeliveriesResponse>;
21
22
  listDeliveriesByUser(r: ListDeliveriesByUserRequest | ListDeliveriesByUserRequestInterface): Observable<ListDeliveriesResponse>;
@@ -1,5 +1,5 @@
1
1
  export { PagedRequestOptions, PagedResponseMetadata, } from './shared-const';
2
2
  export { ChangeFailData, ChangeFailGetMultiRequest, ChangeFailGetMultiResponse, DeploymentFrequencyData, DeploymentFrequencyGetMultiRequest, DeploymentFrequencyGetMultiResponse, LeadTime, LeadTimeGetMultiRequest, LeadTimeGetMultiResponse, LeadTimeListRequest, LeadTimeListResponse, LeadTimeSummary, MTTRData, MTTRGetMultiRequest, MTTRGetMultiResponse, StatRate, StatSnapshot, UserDeployFrequencyData, UserDeployFrequencyGetMultiRequest, UserDeployFrequencyGetMultiResponse, } from './app-metrics';
3
- export { Alert, AppConfig, Application, ApplicationLink, Artifacts, CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, Delivery, DeliveryLock, DeliveryMethod, Deployment, Event, GetApplicationLinksRequest, GetApplicationLinksResponse, GetDeploymentRequest, GetDeploymentResponse, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, GitCommitDetails, GithubCommitUser, K8SConfig, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, SecurityVulnerability, SendBuildNotificationRequest, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateUserSettingsRequest, UserNotifications, UserSettings, VulnerabilitySnapshot, VulnerabilitySummary, } from './mission-control';
3
+ export { Alert, AppConfig, Application, ApplicationLink, Artifacts, CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, Delivery, DeliveryLock, DeliveryMethod, Deployment, Event, GetApplicationLinksRequest, GetApplicationLinksResponse, GetDeploymentRequest, GetDeploymentResponse, GetSecurityVulnerabilitiesRequest, GetSecurityVulnerabilitiesResponse, GetUserSettingsRequest, GetUserSettingsResponse, GetZonesRequest, GetZonesResponse, GitCommitDetails, GithubCommitUser, K8SConfig, ListApplicationsRequest, ListApplicationsResponse, ListDeliveriesByUserRequest, ListDeliveriesRequest, ListDeliveriesResponse, ListDeploymentsRequest, ListDeploymentsResponse, ListEventsRequest, ListEventsResponse, SecurityVulnerability, SendBuildNotificationRequest, UpdateApplicationRequest, UpdateDeliveryRequest, UpdateDeploymentRequest, UpdateDeploymentResponse, UpdateDeploymentVulnerabilitiesRequest, UpdateDeploymentVulnerabilitiesResponse, UpdateUserSettingsRequest, UserNotifications, UserSettings, VulnerabilitySnapshot, VulnerabilitySummary, } from './mission-control';
4
4
  export { GetServiceLevelsRequest, QueryServiceLevelsRequest, ServiceLevel, ServiceLevelsResponse, } from './service-level';
5
5
  export { GetUserSettingsRequestV2, GetUserSettingsResponseV2, UpdateUserSettingsRequestV2, UserNotificationsV2, UserSettingsV2, } from './user';
@@ -110,6 +110,7 @@ export declare class Delivery implements i.DeliveryInterface {
110
110
  message: string;
111
111
  isRollback: boolean;
112
112
  buildId: string;
113
+ vulnerabilityRiskOverrideReason: string;
113
114
  static fromProto(proto: any): Delivery;
114
115
  constructor(kwargs?: i.DeliveryInterface);
115
116
  toApiJson(): object;
@@ -153,6 +154,7 @@ export declare class Deployment implements i.DeploymentInterface {
153
154
  k8sConfig: K8SConfig;
154
155
  vulnerabilitySummary: VulnerabilitySummary;
155
156
  vulnerabilitySnapshot: VulnerabilitySnapshot;
157
+ vulnerabilityScanStatus: e.VulnerabilityScanStatus;
156
158
  static fromProto(proto: any): Deployment;
157
159
  constructor(kwargs?: i.DeploymentInterface);
158
160
  toApiJson(): object;
@@ -385,6 +387,22 @@ export declare class UpdateDeploymentResponse implements i.UpdateDeploymentRespo
385
387
  constructor(kwargs?: i.UpdateDeploymentResponseInterface);
386
388
  toApiJson(): object;
387
389
  }
390
+ export declare class UpdateDeploymentVulnerabilitiesRequest implements i.UpdateDeploymentVulnerabilitiesRequestInterface {
391
+ appId: string;
392
+ deploymentId: string;
393
+ environment: e.Environment;
394
+ vulnerabilitySummary: VulnerabilitySummary;
395
+ vulnerabilitySnapshot: VulnerabilitySnapshot;
396
+ vulnerabilityScanStatus: e.VulnerabilityScanStatus;
397
+ static fromProto(proto: any): UpdateDeploymentVulnerabilitiesRequest;
398
+ constructor(kwargs?: i.UpdateDeploymentVulnerabilitiesRequestInterface);
399
+ toApiJson(): object;
400
+ }
401
+ export declare class UpdateDeploymentVulnerabilitiesResponse implements i.UpdateDeploymentVulnerabilitiesResponseInterface {
402
+ static fromProto(proto: any): UpdateDeploymentVulnerabilitiesResponse;
403
+ constructor(kwargs?: i.UpdateDeploymentVulnerabilitiesResponseInterface);
404
+ toApiJson(): object;
405
+ }
388
406
  export declare class UpdateUserSettingsRequest implements i.UpdateUserSettingsRequestInterface {
389
407
  settings: UserSettings;
390
408
  static fromProto(proto: any): UpdateUserSettingsRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/mission-control",
3
- "version": "3.9.0",
3
+ "version": "3.11.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"