@vendasta/mission-control 3.6.0 → 3.8.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, } from './mission-control.enum';
3
+ export { AlertType, AppType, BuildStatus, DeliveryType, DeploymentStatus, EventType, KubernetesController, VulnerabilitySeverity, } from './mission-control.enum';
4
4
  export { ServiceReadiness, } from './service-level.enum';
@@ -38,3 +38,10 @@ export declare enum KubernetesController {
38
38
  KUBERNETES_CONTROLLER_DEPLOYMENT = 0,
39
39
  KUBERNETES_CONTROLLER_ARGOROLLOUT = 1
40
40
  }
41
+ export declare enum VulnerabilitySeverity {
42
+ VULNERABILITY_SEVERITY_UNSPECIFIED = 0,
43
+ VULNERABILITY_SEVERITY_LOW = 1,
44
+ VULNERABILITY_SEVERITY_MODERATE = 2,
45
+ VULNERABILITY_SEVERITY_HIGH = 3,
46
+ VULNERABILITY_SEVERITY_CRITICAL = 4
47
+ }
@@ -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, 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, } 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, 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';
4
4
  export { GetServiceLevelsRequestInterface, QueryServiceLevelsRequestInterface, ServiceLevelInterface, ServiceLevelsResponseInterface, } from './service-level.interface';
5
5
  export { GetUserSettingsRequestV2Interface, GetUserSettingsResponseV2Interface, UpdateUserSettingsRequestV2Interface, UserNotificationsV2Interface, UserSettingsV2Interface, } from './user.interface';
@@ -8,6 +8,7 @@ export interface AppConfigInterface {
8
8
  appengineProjectId?: string;
9
9
  entryUrlTemplate?: string;
10
10
  deliveryMethods?: DeliveryMethodInterface[];
11
+ customEnvName?: string;
11
12
  }
12
13
  export interface ApplicationInterface {
13
14
  appId?: string;
@@ -103,6 +104,8 @@ export interface DeploymentInterface {
103
104
  gitHashBase?: string;
104
105
  additionalGitCommitDetails?: GitCommitDetailsInterface[];
105
106
  k8sConfig?: K8SConfigInterface;
107
+ vulnerabilitySummary?: VulnerabilitySummaryInterface;
108
+ vulnerabilitySnapshot?: VulnerabilitySnapshotInterface;
106
109
  }
107
110
  export interface EventInterface {
108
111
  appId?: string;
@@ -186,6 +189,7 @@ export interface ListDeploymentsRequestInterface {
186
189
  appId?: string;
187
190
  environment?: e.Environment;
188
191
  pagingOptions?: PagedRequestOptionsInterface;
192
+ includeVulnerabilitySnapshot?: boolean;
189
193
  }
190
194
  export interface ListDeploymentsResponseInterface {
191
195
  deployments?: DeploymentInterface[];
@@ -248,3 +252,15 @@ export interface UserSettingsInterface {
248
252
  notifications?: UserNotificationsInterface;
249
253
  alternateEmail?: string;
250
254
  }
255
+ export interface VulnerabilitySnapshotInterface {
256
+ scannerType?: string;
257
+ scannerVersion?: string;
258
+ rawReportJson?: string;
259
+ }
260
+ export interface VulnerabilitySummaryInterface {
261
+ totalCount?: number;
262
+ criticalCount?: number;
263
+ highCount?: number;
264
+ moderateCount?: number;
265
+ lowCount?: number;
266
+ }
@@ -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, 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, } from './mission-control';
3
+ export { Alert, AppConfig, Application, ApplicationLink, Artifacts, CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, Delivery, DeliveryLock, DeliveryMethod, Deployment, Event, GetApplicationLinksRequest, GetApplicationLinksResponse, 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';
4
4
  export { GetServiceLevelsRequest, QueryServiceLevelsRequest, ServiceLevel, ServiceLevelsResponse, } from './service-level';
5
5
  export { GetUserSettingsRequestV2, GetUserSettingsResponseV2, UpdateUserSettingsRequestV2, UserNotificationsV2, UserSettingsV2, } from './user';
@@ -13,6 +13,7 @@ export declare class AppConfig implements i.AppConfigInterface {
13
13
  appengineProjectId: string;
14
14
  entryUrlTemplate: string;
15
15
  deliveryMethods: DeliveryMethod[];
16
+ customEnvName: string;
16
17
  static fromProto(proto: any): AppConfig;
17
18
  constructor(kwargs?: i.AppConfigInterface);
18
19
  toApiJson(): object;
@@ -150,6 +151,8 @@ export declare class Deployment implements i.DeploymentInterface {
150
151
  gitHashBase: string;
151
152
  additionalGitCommitDetails: GitCommitDetails[];
152
153
  k8sConfig: K8SConfig;
154
+ vulnerabilitySummary: VulnerabilitySummary;
155
+ vulnerabilitySnapshot: VulnerabilitySnapshot;
153
156
  static fromProto(proto: any): Deployment;
154
157
  constructor(kwargs?: i.DeploymentInterface);
155
158
  toApiJson(): object;
@@ -287,6 +290,7 @@ export declare class ListDeploymentsRequest implements i.ListDeploymentsRequestI
287
290
  appId: string;
288
291
  environment: e.Environment;
289
292
  pagingOptions: PagedRequestOptions;
293
+ includeVulnerabilitySnapshot: boolean;
290
294
  static fromProto(proto: any): ListDeploymentsRequest;
291
295
  constructor(kwargs?: i.ListDeploymentsRequestInterface);
292
296
  toApiJson(): object;
@@ -388,3 +392,21 @@ export declare class UserSettings implements i.UserSettingsInterface {
388
392
  constructor(kwargs?: i.UserSettingsInterface);
389
393
  toApiJson(): object;
390
394
  }
395
+ export declare class VulnerabilitySnapshot implements i.VulnerabilitySnapshotInterface {
396
+ scannerType: string;
397
+ scannerVersion: string;
398
+ rawReportJson: string;
399
+ static fromProto(proto: any): VulnerabilitySnapshot;
400
+ constructor(kwargs?: i.VulnerabilitySnapshotInterface);
401
+ toApiJson(): object;
402
+ }
403
+ export declare class VulnerabilitySummary implements i.VulnerabilitySummaryInterface {
404
+ totalCount: number;
405
+ criticalCount: number;
406
+ highCount: number;
407
+ moderateCount: number;
408
+ lowCount: number;
409
+ static fromProto(proto: any): VulnerabilitySummary;
410
+ constructor(kwargs?: i.VulnerabilitySummaryInterface);
411
+ toApiJson(): object;
412
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/mission-control",
3
- "version": "3.6.0",
3
+ "version": "3.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"