@vendasta/mission-control 3.7.0 → 3.9.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.
- package/esm2020/lib/_internal/enums/index.mjs +2 -2
- package/esm2020/lib/_internal/enums/mission-control.enum.mjs +9 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/mission-control.interface.mjs +1 -1
- package/esm2020/lib/_internal/mission-control.api.service.mjs +7 -2
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/mission-control.mjs +129 -1
- package/fesm2015/vendasta-mission-control.mjs +142 -1
- package/fesm2015/vendasta-mission-control.mjs.map +1 -1
- package/fesm2020/vendasta-mission-control.mjs +142 -1
- package/fesm2020/vendasta-mission-control.mjs.map +1 -1
- package/lib/_internal/enums/index.d.ts +1 -1
- package/lib/_internal/enums/mission-control.enum.d.ts +7 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/mission-control.interface.d.ts +24 -0
- package/lib/_internal/mission-control.api.service.d.ts +3 -2
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/mission-control.d.ts +36 -0
- package/package.json +1 -1
|
@@ -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, 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';
|
|
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;
|
|
@@ -127,6 +129,15 @@ export interface GetApplicationLinksRequestInterface {
|
|
|
127
129
|
export interface GetApplicationLinksResponseInterface {
|
|
128
130
|
links?: ApplicationLinkInterface[];
|
|
129
131
|
}
|
|
132
|
+
export interface GetDeploymentRequestInterface {
|
|
133
|
+
appId?: string;
|
|
134
|
+
environment?: e.Environment;
|
|
135
|
+
deploymentId?: string;
|
|
136
|
+
includeVulnerabilitySnapshot?: boolean;
|
|
137
|
+
}
|
|
138
|
+
export interface GetDeploymentResponseInterface {
|
|
139
|
+
deployment?: DeploymentInterface;
|
|
140
|
+
}
|
|
130
141
|
export interface GetSecurityVulnerabilitiesRequestInterface {
|
|
131
142
|
applicationId?: string;
|
|
132
143
|
}
|
|
@@ -187,6 +198,7 @@ export interface ListDeploymentsRequestInterface {
|
|
|
187
198
|
appId?: string;
|
|
188
199
|
environment?: e.Environment;
|
|
189
200
|
pagingOptions?: PagedRequestOptionsInterface;
|
|
201
|
+
includeVulnerabilitySnapshot?: boolean;
|
|
190
202
|
}
|
|
191
203
|
export interface ListDeploymentsResponseInterface {
|
|
192
204
|
deployments?: DeploymentInterface[];
|
|
@@ -249,3 +261,15 @@ export interface UserSettingsInterface {
|
|
|
249
261
|
notifications?: UserNotificationsInterface;
|
|
250
262
|
alternateEmail?: string;
|
|
251
263
|
}
|
|
264
|
+
export interface VulnerabilitySnapshotInterface {
|
|
265
|
+
scannerType?: string;
|
|
266
|
+
scannerVersion?: string;
|
|
267
|
+
rawReportJson?: string;
|
|
268
|
+
}
|
|
269
|
+
export interface VulnerabilitySummaryInterface {
|
|
270
|
+
totalCount?: number;
|
|
271
|
+
criticalCount?: number;
|
|
272
|
+
highCount?: number;
|
|
273
|
+
moderateCount?: number;
|
|
274
|
+
lowCount?: number;
|
|
275
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreateApplicationRequest, CreateDeliveryRequest, CreateDeliveryResponse, CreateDeploymentRequest, CreateDeploymentResponse, DeleteApplicationRequest, DeleteDeliveryRequest, GetApplicationLinksRequest, GetApplicationLinksResponse, 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, 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, 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/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -14,6 +14,7 @@ export declare class MissionControlApiService {
|
|
|
14
14
|
deleteApplication(r: DeleteApplicationRequest | DeleteApplicationRequestInterface): Observable<HttpResponse<null>>;
|
|
15
15
|
createDeployment(r: CreateDeploymentRequest | CreateDeploymentRequestInterface): Observable<CreateDeploymentResponse>;
|
|
16
16
|
listDeployments(r: ListDeploymentsRequest | ListDeploymentsRequestInterface): Observable<ListDeploymentsResponse>;
|
|
17
|
+
getDeployment(r: GetDeploymentRequest | GetDeploymentRequestInterface): Observable<GetDeploymentResponse>;
|
|
17
18
|
updateDeployment(r: UpdateDeploymentRequest | UpdateDeploymentRequestInterface): Observable<UpdateDeploymentResponse>;
|
|
18
19
|
createDelivery(r: CreateDeliveryRequest | CreateDeliveryRequestInterface): Observable<CreateDeliveryResponse>;
|
|
19
20
|
listDeliveries(r: ListDeliveriesRequest | ListDeliveriesRequestInterface): 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, 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, 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';
|
|
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;
|
|
@@ -186,6 +188,21 @@ export declare class GetApplicationLinksResponse implements i.GetApplicationLink
|
|
|
186
188
|
constructor(kwargs?: i.GetApplicationLinksResponseInterface);
|
|
187
189
|
toApiJson(): object;
|
|
188
190
|
}
|
|
191
|
+
export declare class GetDeploymentRequest implements i.GetDeploymentRequestInterface {
|
|
192
|
+
appId: string;
|
|
193
|
+
environment: e.Environment;
|
|
194
|
+
deploymentId: string;
|
|
195
|
+
includeVulnerabilitySnapshot: boolean;
|
|
196
|
+
static fromProto(proto: any): GetDeploymentRequest;
|
|
197
|
+
constructor(kwargs?: i.GetDeploymentRequestInterface);
|
|
198
|
+
toApiJson(): object;
|
|
199
|
+
}
|
|
200
|
+
export declare class GetDeploymentResponse implements i.GetDeploymentResponseInterface {
|
|
201
|
+
deployment: Deployment;
|
|
202
|
+
static fromProto(proto: any): GetDeploymentResponse;
|
|
203
|
+
constructor(kwargs?: i.GetDeploymentResponseInterface);
|
|
204
|
+
toApiJson(): object;
|
|
205
|
+
}
|
|
189
206
|
export declare class GetSecurityVulnerabilitiesRequest implements i.GetSecurityVulnerabilitiesRequestInterface {
|
|
190
207
|
applicationId: string;
|
|
191
208
|
static fromProto(proto: any): GetSecurityVulnerabilitiesRequest;
|
|
@@ -288,6 +305,7 @@ export declare class ListDeploymentsRequest implements i.ListDeploymentsRequestI
|
|
|
288
305
|
appId: string;
|
|
289
306
|
environment: e.Environment;
|
|
290
307
|
pagingOptions: PagedRequestOptions;
|
|
308
|
+
includeVulnerabilitySnapshot: boolean;
|
|
291
309
|
static fromProto(proto: any): ListDeploymentsRequest;
|
|
292
310
|
constructor(kwargs?: i.ListDeploymentsRequestInterface);
|
|
293
311
|
toApiJson(): object;
|
|
@@ -389,3 +407,21 @@ export declare class UserSettings implements i.UserSettingsInterface {
|
|
|
389
407
|
constructor(kwargs?: i.UserSettingsInterface);
|
|
390
408
|
toApiJson(): object;
|
|
391
409
|
}
|
|
410
|
+
export declare class VulnerabilitySnapshot implements i.VulnerabilitySnapshotInterface {
|
|
411
|
+
scannerType: string;
|
|
412
|
+
scannerVersion: string;
|
|
413
|
+
rawReportJson: string;
|
|
414
|
+
static fromProto(proto: any): VulnerabilitySnapshot;
|
|
415
|
+
constructor(kwargs?: i.VulnerabilitySnapshotInterface);
|
|
416
|
+
toApiJson(): object;
|
|
417
|
+
}
|
|
418
|
+
export declare class VulnerabilitySummary implements i.VulnerabilitySummaryInterface {
|
|
419
|
+
totalCount: number;
|
|
420
|
+
criticalCount: number;
|
|
421
|
+
highCount: number;
|
|
422
|
+
moderateCount: number;
|
|
423
|
+
lowCount: number;
|
|
424
|
+
static fromProto(proto: any): VulnerabilitySummary;
|
|
425
|
+
constructor(kwargs?: i.VulnerabilitySummaryInterface);
|
|
426
|
+
toApiJson(): object;
|
|
427
|
+
}
|