@vendasta/mission-control 3.10.0 → 3.12.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';
@@ -9,6 +9,7 @@ export interface AppConfigInterface {
9
9
  entryUrlTemplate?: string;
10
10
  deliveryMethods?: DeliveryMethodInterface[];
11
11
  customEnvName?: string;
12
+ allowedDeploymentBranches?: string[];
12
13
  }
13
14
  export interface ApplicationInterface {
14
15
  appId?: string;
@@ -107,6 +108,7 @@ export interface DeploymentInterface {
107
108
  k8sConfig?: K8SConfigInterface;
108
109
  vulnerabilitySummary?: VulnerabilitySummaryInterface;
109
110
  vulnerabilitySnapshot?: VulnerabilitySnapshotInterface;
111
+ vulnerabilityScanStatus?: e.VulnerabilityScanStatus;
110
112
  }
111
113
  export interface EventInterface {
112
114
  appId?: string;
@@ -249,6 +251,16 @@ export interface UpdateDeploymentRequestInterface {
249
251
  export interface UpdateDeploymentResponseInterface {
250
252
  deploymentId?: string;
251
253
  }
254
+ export interface UpdateDeploymentVulnerabilitiesRequestInterface {
255
+ appId?: string;
256
+ deploymentId?: string;
257
+ environment?: e.Environment;
258
+ vulnerabilitySummary?: VulnerabilitySummaryInterface;
259
+ vulnerabilitySnapshot?: VulnerabilitySnapshotInterface;
260
+ vulnerabilityScanStatus?: e.VulnerabilityScanStatus;
261
+ }
262
+ export interface UpdateDeploymentVulnerabilitiesResponseInterface {
263
+ }
252
264
  export interface UpdateUserSettingsRequestInterface {
253
265
  settings?: UserSettingsInterface;
254
266
  }
@@ -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';
@@ -14,6 +14,7 @@ export declare class AppConfig implements i.AppConfigInterface {
14
14
  entryUrlTemplate: string;
15
15
  deliveryMethods: DeliveryMethod[];
16
16
  customEnvName: string;
17
+ allowedDeploymentBranches: string[];
17
18
  static fromProto(proto: any): AppConfig;
18
19
  constructor(kwargs?: i.AppConfigInterface);
19
20
  toApiJson(): object;
@@ -154,6 +155,7 @@ export declare class Deployment implements i.DeploymentInterface {
154
155
  k8sConfig: K8SConfig;
155
156
  vulnerabilitySummary: VulnerabilitySummary;
156
157
  vulnerabilitySnapshot: VulnerabilitySnapshot;
158
+ vulnerabilityScanStatus: e.VulnerabilityScanStatus;
157
159
  static fromProto(proto: any): Deployment;
158
160
  constructor(kwargs?: i.DeploymentInterface);
159
161
  toApiJson(): object;
@@ -386,6 +388,22 @@ export declare class UpdateDeploymentResponse implements i.UpdateDeploymentRespo
386
388
  constructor(kwargs?: i.UpdateDeploymentResponseInterface);
387
389
  toApiJson(): object;
388
390
  }
391
+ export declare class UpdateDeploymentVulnerabilitiesRequest implements i.UpdateDeploymentVulnerabilitiesRequestInterface {
392
+ appId: string;
393
+ deploymentId: string;
394
+ environment: e.Environment;
395
+ vulnerabilitySummary: VulnerabilitySummary;
396
+ vulnerabilitySnapshot: VulnerabilitySnapshot;
397
+ vulnerabilityScanStatus: e.VulnerabilityScanStatus;
398
+ static fromProto(proto: any): UpdateDeploymentVulnerabilitiesRequest;
399
+ constructor(kwargs?: i.UpdateDeploymentVulnerabilitiesRequestInterface);
400
+ toApiJson(): object;
401
+ }
402
+ export declare class UpdateDeploymentVulnerabilitiesResponse implements i.UpdateDeploymentVulnerabilitiesResponseInterface {
403
+ static fromProto(proto: any): UpdateDeploymentVulnerabilitiesResponse;
404
+ constructor(kwargs?: i.UpdateDeploymentVulnerabilitiesResponseInterface);
405
+ toApiJson(): object;
406
+ }
389
407
  export declare class UpdateUserSettingsRequest implements i.UpdateUserSettingsRequestInterface {
390
408
  settings: UserSettings;
391
409
  static fromProto(proto: any): UpdateUserSettingsRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/mission-control",
3
- "version": "3.10.0",
3
+ "version": "3.12.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"