@vendasta/mission-control 3.10.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.
- 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 +71 -1
- package/fesm2015/vendasta-mission-control.mjs +84 -1
- package/fesm2015/vendasta-mission-control.mjs.map +1 -1
- package/fesm2020/vendasta-mission-control.mjs +84 -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 +11 -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 +17 -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, 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';
|
|
@@ -107,6 +107,7 @@ export interface DeploymentInterface {
|
|
|
107
107
|
k8sConfig?: K8SConfigInterface;
|
|
108
108
|
vulnerabilitySummary?: VulnerabilitySummaryInterface;
|
|
109
109
|
vulnerabilitySnapshot?: VulnerabilitySnapshotInterface;
|
|
110
|
+
vulnerabilityScanStatus?: e.VulnerabilityScanStatus;
|
|
110
111
|
}
|
|
111
112
|
export interface EventInterface {
|
|
112
113
|
appId?: string;
|
|
@@ -249,6 +250,16 @@ export interface UpdateDeploymentRequestInterface {
|
|
|
249
250
|
export interface UpdateDeploymentResponseInterface {
|
|
250
251
|
deploymentId?: string;
|
|
251
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
|
+
}
|
|
252
263
|
export interface UpdateUserSettingsRequestInterface {
|
|
253
264
|
settings?: UserSettingsInterface;
|
|
254
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';
|
|
@@ -154,6 +154,7 @@ export declare class Deployment implements i.DeploymentInterface {
|
|
|
154
154
|
k8sConfig: K8SConfig;
|
|
155
155
|
vulnerabilitySummary: VulnerabilitySummary;
|
|
156
156
|
vulnerabilitySnapshot: VulnerabilitySnapshot;
|
|
157
|
+
vulnerabilityScanStatus: e.VulnerabilityScanStatus;
|
|
157
158
|
static fromProto(proto: any): Deployment;
|
|
158
159
|
constructor(kwargs?: i.DeploymentInterface);
|
|
159
160
|
toApiJson(): object;
|
|
@@ -386,6 +387,22 @@ export declare class UpdateDeploymentResponse implements i.UpdateDeploymentRespo
|
|
|
386
387
|
constructor(kwargs?: i.UpdateDeploymentResponseInterface);
|
|
387
388
|
toApiJson(): object;
|
|
388
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
|
+
}
|
|
389
406
|
export declare class UpdateUserSettingsRequest implements i.UpdateUserSettingsRequestInterface {
|
|
390
407
|
settings: UserSettings;
|
|
391
408
|
static fromProto(proto: any): UpdateUserSettingsRequest;
|