@vendasta/mission-control 3.7.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';
@@ -104,6 +104,8 @@ export interface DeploymentInterface {
104
104
  gitHashBase?: string;
105
105
  additionalGitCommitDetails?: GitCommitDetailsInterface[];
106
106
  k8sConfig?: K8SConfigInterface;
107
+ vulnerabilitySummary?: VulnerabilitySummaryInterface;
108
+ vulnerabilitySnapshot?: VulnerabilitySnapshotInterface;
107
109
  }
108
110
  export interface EventInterface {
109
111
  appId?: string;
@@ -187,6 +189,7 @@ export interface ListDeploymentsRequestInterface {
187
189
  appId?: string;
188
190
  environment?: e.Environment;
189
191
  pagingOptions?: PagedRequestOptionsInterface;
192
+ includeVulnerabilitySnapshot?: boolean;
190
193
  }
191
194
  export interface ListDeploymentsResponseInterface {
192
195
  deployments?: DeploymentInterface[];
@@ -249,3 +252,15 @@ export interface UserSettingsInterface {
249
252
  notifications?: UserNotificationsInterface;
250
253
  alternateEmail?: string;
251
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';
@@ -151,6 +151,8 @@ export declare class Deployment implements i.DeploymentInterface {
151
151
  gitHashBase: string;
152
152
  additionalGitCommitDetails: GitCommitDetails[];
153
153
  k8sConfig: K8SConfig;
154
+ vulnerabilitySummary: VulnerabilitySummary;
155
+ vulnerabilitySnapshot: VulnerabilitySnapshot;
154
156
  static fromProto(proto: any): Deployment;
155
157
  constructor(kwargs?: i.DeploymentInterface);
156
158
  toApiJson(): object;
@@ -288,6 +290,7 @@ export declare class ListDeploymentsRequest implements i.ListDeploymentsRequestI
288
290
  appId: string;
289
291
  environment: e.Environment;
290
292
  pagingOptions: PagedRequestOptions;
293
+ includeVulnerabilitySnapshot: boolean;
291
294
  static fromProto(proto: any): ListDeploymentsRequest;
292
295
  constructor(kwargs?: i.ListDeploymentsRequestInterface);
293
296
  toApiJson(): object;
@@ -389,3 +392,21 @@ export declare class UserSettings implements i.UserSettingsInterface {
389
392
  constructor(kwargs?: i.UserSettingsInterface);
390
393
  toApiJson(): object;
391
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.7.0",
3
+ "version": "3.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"