oci-vulnerabilityscanning 2.15.0 → 2.18.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/THIRD_PARTY_LICENSES.txt +467 -1412
- package/lib/client.d.ts +115 -75
- package/lib/client.js +341 -75
- package/lib/client.js.map +1 -1
- package/lib/model/container-scan-recipe.d.ts +4 -0
- package/lib/model/container-scan-recipe.js.map +1 -1
- package/lib/model/container-scan-result-problem.d.ts +8 -0
- package/lib/model/container-scan-result-problem.js.map +1 -1
- package/lib/model/container-scan-result-summary.d.ts +4 -0
- package/lib/model/container-scan-result-summary.js.map +1 -1
- package/lib/model/container-scan-result.d.ts +8 -0
- package/lib/model/container-scan-result.js.map +1 -1
- package/lib/model/container-scan-target-summary.d.ts +1 -0
- package/lib/model/container-scan-target-summary.js +30 -2
- package/lib/model/container-scan-target-summary.js.map +1 -1
- package/lib/model/create-container-scan-recipe-details.d.ts +4 -0
- package/lib/model/create-container-scan-recipe-details.js.map +1 -1
- package/lib/model/impacted-resources-count.d.ts +29 -0
- package/lib/model/impacted-resources-count.js +29 -0
- package/lib/model/impacted-resources-count.js.map +1 -0
- package/lib/model/index.d.ts +16 -0
- package/lib/model/index.js +18 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/update-container-scan-recipe-details.d.ts +4 -0
- package/lib/model/update-container-scan-recipe-details.js.map +1 -1
- package/lib/model/vulnerability-impacted-container-summary-collection.d.ts +26 -0
- package/lib/model/vulnerability-impacted-container-summary-collection.js +61 -0
- package/lib/model/vulnerability-impacted-container-summary-collection.js.map +1 -0
- package/lib/model/vulnerability-impacted-container-summary.d.ts +45 -0
- package/lib/model/vulnerability-impacted-container-summary.js +29 -0
- package/lib/model/vulnerability-impacted-container-summary.js.map +1 -0
- package/lib/model/vulnerability-impacted-host-summary-collection.d.ts +26 -0
- package/lib/model/vulnerability-impacted-host-summary-collection.js +61 -0
- package/lib/model/vulnerability-impacted-host-summary-collection.js.map +1 -0
- package/lib/model/vulnerability-impacted-host-summary.d.ts +33 -0
- package/lib/model/vulnerability-impacted-host-summary.js +29 -0
- package/lib/model/vulnerability-impacted-host-summary.js.map +1 -0
- package/lib/model/vulnerability-summary-collection.d.ts +26 -0
- package/lib/model/vulnerability-summary-collection.js +61 -0
- package/lib/model/vulnerability-summary-collection.js.map +1 -0
- package/lib/model/vulnerability-summary.d.ts +63 -0
- package/lib/model/vulnerability-summary.js +57 -0
- package/lib/model/vulnerability-summary.js.map +1 -0
- package/lib/model/vulnerability.d.ts +68 -0
- package/lib/model/vulnerability.js +61 -0
- package/lib/model/vulnerability.js.map +1 -0
- package/lib/request/change-container-scan-recipe-compartment-request.d.ts +1 -1
- package/lib/request/change-container-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-container-scan-target-compartment-request.d.ts +1 -1
- package/lib/request/change-host-agent-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-host-cis-benchmark-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-host-endpoint-protection-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-host-port-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-host-scan-recipe-compartment-request.d.ts +1 -1
- package/lib/request/change-host-scan-target-compartment-request.d.ts +1 -1
- package/lib/request/create-container-scan-recipe-request.d.ts +1 -1
- package/lib/request/create-container-scan-target-request.d.ts +1 -1
- package/lib/request/create-host-scan-recipe-request.d.ts +1 -1
- package/lib/request/create-host-scan-target-request.d.ts +1 -1
- package/lib/request/delete-container-scan-recipe-request.d.ts +1 -1
- package/lib/request/delete-container-scan-result-request.d.ts +1 -1
- package/lib/request/delete-container-scan-target-request.d.ts +1 -1
- package/lib/request/delete-host-agent-scan-result-request.d.ts +1 -1
- package/lib/request/delete-host-cis-benchmark-scan-result-request.d.ts +1 -1
- package/lib/request/delete-host-endpoint-protection-scan-result-request.d.ts +1 -1
- package/lib/request/delete-host-port-scan-result-request.d.ts +1 -1
- package/lib/request/delete-host-scan-recipe-request.d.ts +1 -1
- package/lib/request/delete-host-scan-target-request.d.ts +1 -1
- package/lib/request/export-host-agent-scan-result-csv-request.d.ts +1 -1
- package/lib/request/export-host-vulnerability-csv-request.d.ts +1 -1
- package/lib/request/get-container-scan-recipe-request.d.ts +1 -1
- package/lib/request/get-container-scan-result-request.d.ts +1 -1
- package/lib/request/get-container-scan-target-request.d.ts +1 -1
- package/lib/request/get-host-agent-scan-result-request.d.ts +1 -1
- package/lib/request/get-host-cis-benchmark-scan-result-request.d.ts +1 -1
- package/lib/request/get-host-endpoint-protection-scan-result-request.d.ts +1 -1
- package/lib/request/get-host-port-scan-result-request.d.ts +1 -1
- package/lib/request/get-host-scan-recipe-request.d.ts +1 -1
- package/lib/request/get-host-scan-target-request.d.ts +1 -1
- package/lib/request/get-host-vulnerability-request.d.ts +1 -1
- package/lib/request/get-vulnerability-request.d.ts +26 -0
- package/lib/request/get-vulnerability-request.js +15 -0
- package/lib/request/get-vulnerability-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +8 -0
- package/lib/request/index.js +24 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-container-scan-recipes-request.d.ts +1 -1
- package/lib/request/list-container-scan-results-request.d.ts +1 -1
- package/lib/request/list-container-scan-targets-request.d.ts +1 -1
- package/lib/request/list-host-agent-scan-results-request.d.ts +1 -1
- package/lib/request/list-host-cis-benchmark-scan-results-request.d.ts +1 -1
- package/lib/request/list-host-endpoint-protection-scan-results-request.d.ts +1 -1
- package/lib/request/list-host-port-scan-results-request.d.ts +1 -1
- package/lib/request/list-host-scan-recipes-request.d.ts +1 -1
- package/lib/request/list-host-scan-targets-request.d.ts +1 -1
- package/lib/request/list-host-vulnerabilities-request.d.ts +1 -1
- package/lib/request/list-host-vulnerability-impacted-hosts-request.d.ts +1 -1
- package/lib/request/list-vulnerabilities-request.d.ts +72 -0
- package/lib/request/list-vulnerabilities-request.js +29 -0
- package/lib/request/list-vulnerabilities-request.js.map +1 -0
- package/lib/request/list-vulnerability-impacted-containers-request.d.ts +51 -0
- package/lib/request/list-vulnerability-impacted-containers-request.js +25 -0
- package/lib/request/list-vulnerability-impacted-containers-request.js.map +1 -0
- package/lib/request/list-vulnerability-impacted-hosts-request.d.ts +44 -0
- package/lib/request/list-vulnerability-impacted-hosts-request.js +15 -0
- package/lib/request/list-vulnerability-impacted-hosts-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-container-scan-recipe-request.d.ts +1 -1
- package/lib/request/update-container-scan-target-request.d.ts +1 -1
- package/lib/request/update-host-scan-recipe-request.d.ts +1 -1
- package/lib/request/update-host-scan-target-request.d.ts +1 -1
- package/lib/response/get-vulnerability-response.d.ts +30 -0
- package/lib/response/get-vulnerability-response.js +15 -0
- package/lib/response/get-vulnerability-response.js.map +1 -0
- package/lib/response/index.d.ts +8 -0
- package/lib/response/list-vulnerabilities-response.d.ts +32 -0
- package/lib/response/list-vulnerabilities-response.js +15 -0
- package/lib/response/list-vulnerabilities-response.js.map +1 -0
- package/lib/response/list-vulnerability-impacted-containers-response.d.ts +32 -0
- package/lib/response/list-vulnerability-impacted-containers-response.js +15 -0
- package/lib/response/list-vulnerability-impacted-containers-response.js.map +1 -0
- package/lib/response/list-vulnerability-impacted-hosts-response.d.ts +32 -0
- package/lib/response/list-vulnerability-impacted-hosts-response.js +15 -0
- package/lib/response/list-vulnerability-impacted-hosts-response.js.map +1 -0
- package/lib/vulnerabilityscanning-waiter.d.ts +8 -0
- package/lib/vulnerabilityscanning-waiter.js +12 -0
- package/lib/vulnerabilityscanning-waiter.js.map +1 -1
- package/package.json +3 -3
package/lib/response/index.d.ts
CHANGED
|
@@ -78,6 +78,8 @@ import * as GetHostScanTargetResponse from "./get-host-scan-target-response";
|
|
|
78
78
|
export import GetHostScanTargetResponse = GetHostScanTargetResponse.GetHostScanTargetResponse;
|
|
79
79
|
import * as GetHostVulnerabilityResponse from "./get-host-vulnerability-response";
|
|
80
80
|
export import GetHostVulnerabilityResponse = GetHostVulnerabilityResponse.GetHostVulnerabilityResponse;
|
|
81
|
+
import * as GetVulnerabilityResponse from "./get-vulnerability-response";
|
|
82
|
+
export import GetVulnerabilityResponse = GetVulnerabilityResponse.GetVulnerabilityResponse;
|
|
81
83
|
import * as GetWorkRequestResponse from "./get-work-request-response";
|
|
82
84
|
export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse;
|
|
83
85
|
import * as ListContainerScanRecipesResponse from "./list-container-scan-recipes-response";
|
|
@@ -102,6 +104,12 @@ import * as ListHostVulnerabilitiesResponse from "./list-host-vulnerabilities-re
|
|
|
102
104
|
export import ListHostVulnerabilitiesResponse = ListHostVulnerabilitiesResponse.ListHostVulnerabilitiesResponse;
|
|
103
105
|
import * as ListHostVulnerabilityImpactedHostsResponse from "./list-host-vulnerability-impacted-hosts-response";
|
|
104
106
|
export import ListHostVulnerabilityImpactedHostsResponse = ListHostVulnerabilityImpactedHostsResponse.ListHostVulnerabilityImpactedHostsResponse;
|
|
107
|
+
import * as ListVulnerabilitiesResponse from "./list-vulnerabilities-response";
|
|
108
|
+
export import ListVulnerabilitiesResponse = ListVulnerabilitiesResponse.ListVulnerabilitiesResponse;
|
|
109
|
+
import * as ListVulnerabilityImpactedContainersResponse from "./list-vulnerability-impacted-containers-response";
|
|
110
|
+
export import ListVulnerabilityImpactedContainersResponse = ListVulnerabilityImpactedContainersResponse.ListVulnerabilityImpactedContainersResponse;
|
|
111
|
+
import * as ListVulnerabilityImpactedHostsResponse from "./list-vulnerability-impacted-hosts-response";
|
|
112
|
+
export import ListVulnerabilityImpactedHostsResponse = ListVulnerabilityImpactedHostsResponse.ListVulnerabilityImpactedHostsResponse;
|
|
105
113
|
import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response";
|
|
106
114
|
export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse;
|
|
107
115
|
import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210215
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListVulnerabilitiesResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
23
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
24
|
+
* subsequent GET request to get the next batch of items.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcNextPage": string;
|
|
28
|
+
/**
|
|
29
|
+
* The returned model.VulnerabilitySummaryCollection instance.
|
|
30
|
+
*/
|
|
31
|
+
"vulnerabilitySummaryCollection": model.VulnerabilitySummaryCollection;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210215
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-vulnerabilities-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-vulnerabilities-response.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/response/list-vulnerabilities-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210215
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListVulnerabilityImpactedContainersResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
23
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
24
|
+
* subsequent GET request to get the next batch of items.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcNextPage": string;
|
|
28
|
+
/**
|
|
29
|
+
* The returned model.VulnerabilityImpactedContainerSummaryCollection instance.
|
|
30
|
+
*/
|
|
31
|
+
"vulnerabilityImpactedContainerSummaryCollection": model.VulnerabilityImpactedContainerSummaryCollection;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210215
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-vulnerability-impacted-containers-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-vulnerability-impacted-containers-response.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/response/list-vulnerability-impacted-containers-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210215
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListVulnerabilityImpactedHostsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For pagination of a list of items. When paging through a list, if this header appears in the response,
|
|
23
|
+
* then a partial list might have been returned. Include this value as the `page` parameter for the
|
|
24
|
+
* subsequent GET request to get the next batch of items.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
"opcNextPage": string;
|
|
28
|
+
/**
|
|
29
|
+
* The returned model.VulnerabilityImpactedHostSummaryCollection instance.
|
|
30
|
+
*/
|
|
31
|
+
"vulnerabilityImpactedHostSummaryCollection": model.VulnerabilityImpactedHostSummaryCollection;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210215
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-vulnerability-impacted-hosts-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-vulnerability-impacted-hosts-response.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/response/list-vulnerability-impacted-hosts-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -90,6 +90,14 @@ export declare class VulnerabilityScanningWaiter {
|
|
|
90
90
|
* @return response returns GetHostVulnerabilityResponse | null (null in case of 404 response)
|
|
91
91
|
*/
|
|
92
92
|
forHostVulnerability(request: serviceRequests.GetHostVulnerabilityRequest, ...targetStates: models.LifecycleState[]): Promise<serviceResponses.GetHostVulnerabilityResponse | null>;
|
|
93
|
+
/**
|
|
94
|
+
* Waits forVulnerability till it reaches any of the provided states
|
|
95
|
+
*
|
|
96
|
+
* @param request the request to send
|
|
97
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
98
|
+
* @return response returns GetVulnerabilityResponse | null (null in case of 404 response)
|
|
99
|
+
*/
|
|
100
|
+
forVulnerability(request: serviceRequests.GetVulnerabilityRequest, ...targetStates: models.LifecycleState[]): Promise<serviceResponses.GetVulnerabilityResponse | null>;
|
|
93
101
|
/**
|
|
94
102
|
* Waits forWorkRequest
|
|
95
103
|
*
|
|
@@ -156,6 +156,18 @@ class VulnerabilityScanningWaiter {
|
|
|
156
156
|
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getHostVulnerability(request), response => targetStates.includes(response.hostVulnerability.lifecycleState), targetStates.includes(models.LifecycleState.Deleted));
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* Waits forVulnerability till it reaches any of the provided states
|
|
161
|
+
*
|
|
162
|
+
* @param request the request to send
|
|
163
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
164
|
+
* @return response returns GetVulnerabilityResponse | null (null in case of 404 response)
|
|
165
|
+
*/
|
|
166
|
+
forVulnerability(request, ...targetStates) {
|
|
167
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getVulnerability(request), response => targetStates.includes(response.vulnerability.lifecycleState), targetStates.includes(models.LifecycleState.Deleted));
|
|
169
|
+
});
|
|
170
|
+
}
|
|
159
171
|
/**
|
|
160
172
|
* Waits forWorkRequest
|
|
161
173
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vulnerabilityscanning-waiter.js","sourceRoot":"","sources":["../../../../lib/vulnerabilityscanning/lib/vulnerabilityscanning-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,2BAA2B;IACtC,YACU,MAAmC,EAC1B,MAA4B;QADrC,WAAM,GAAN,MAAM,CAA6B;QAC1B,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,sBAAsB,CACjC,OAAsD,EACtD,GAAG,YAAqC;;YAExC,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,EACjD,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,mBAAmB,CAAC,cAAe,CAAC,EAC/E,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CACrD,CAAC;QACJ,CAAC;KAAA;IAED;;;;;;OAMG;IACU,sBAAsB,CACjC,OAAsD,EACtD,GAAG,YAAqC;;YAExC,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,EACjD,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CA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qC;;YAExC,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAC/C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,iBAAiB,CAAC,cAAe,CAAC,EAC7E,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CACrD,CAAC;QACJ,CAAC;KAAA;IAED;;;;;OAKG;IACU,cAAc,CACzB,OAA8C;;YAE9C,OAAO,0BAAa,CAClB,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EACzC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/D,CAAC;QACJ,CAAC;KAAA;CACF;
|
|
1
|
+
{"version":3,"file":"vulnerabilityscanning-waiter.js","sourceRoot":"","sources":["../../../../lib/vulnerabilityscanning/lib/vulnerabilityscanning-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,2BAA2B;IACtC,YACU,MAAmC,EAC1B,MAA4B;QADrC,WAAM,GAAN,MAAM,CAA6B;QAC1B,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,sBAAsB,CACjC,OAAsD,EACtD,GAAG,YAAqC;;YAExC,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,sBAAsB,CAAC,OAAO,CAAC,EACjD,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,m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E,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/D,CAAC;QACJ,CAAC;KAAA;CACF;AAnND,kEAmNC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-vulnerabilityscanning",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.0",
|
|
4
4
|
"description": "OCI NodeJS client for Vulnerability Scanning Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.18.0",
|
|
19
|
+
"oci-workrequests": "2.18.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|