oci-adm 2.70.4 → 2.72.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/lib/applicationdependencymanagement-waiter.d.ts +16 -0
- package/lib/applicationdependencymanagement-waiter.js +24 -0
- package/lib/applicationdependencymanagement-waiter.js.map +1 -1
- package/lib/client.d.ts +184 -18
- package/lib/client.js +1312 -176
- package/lib/client.js.map +1 -1
- package/lib/model/application-dependency-recommendation-collection.d.ts +26 -0
- package/lib/model/application-dependency-recommendation-collection.js +61 -0
- package/lib/model/application-dependency-recommendation-collection.js.map +1 -0
- package/lib/model/application-dependency-recommendation-summary.d.ts +39 -0
- package/lib/model/application-dependency-recommendation-summary.js +29 -0
- package/lib/model/application-dependency-recommendation-summary.js.map +1 -0
- package/lib/model/application-dependency-vulnerability-collection.d.ts +3 -3
- package/lib/model/application-dependency-vulnerability-summary.d.ts +6 -6
- package/lib/model/application-dependency.d.ts +3 -3
- package/lib/model/apply-stage.d.ts +27 -0
- package/lib/model/apply-stage.js +66 -0
- package/lib/model/apply-stage.js.map +1 -0
- package/lib/model/change-knowledge-base-compartment-details.d.ts +2 -2
- package/lib/model/change-remediation-recipe-compartment-details.d.ts +25 -0
- package/lib/model/change-remediation-recipe-compartment-details.js +29 -0
- package/lib/model/change-remediation-recipe-compartment-details.js.map +1 -0
- package/lib/model/change-remediation-run-compartment-details.d.ts +25 -0
- package/lib/model/change-remediation-run-compartment-details.js +29 -0
- package/lib/model/change-remediation-run-compartment-details.js.map +1 -0
- package/lib/model/change-vulnerability-audit-compartment-details.d.ts +1 -1
- package/lib/model/create-knowledge-base-details.d.ts +3 -3
- package/lib/model/create-remediation-recipe-details.d.ts +60 -0
- package/lib/model/create-remediation-recipe-details.js +75 -0
- package/lib/model/create-remediation-recipe-details.js.map +1 -0
- package/lib/model/create-remediation-run-details.d.ts +47 -0
- package/lib/model/create-remediation-run-details.js +29 -0
- package/lib/model/create-remediation-run-details.js.map +1 -0
- package/lib/model/create-vulnerability-audit-details.d.ts +6 -6
- package/lib/model/detect-configuration.d.ts +50 -0
- package/lib/model/detect-configuration.js +38 -0
- package/lib/model/detect-configuration.js.map +1 -0
- package/lib/model/detect-stage.d.ts +29 -0
- package/lib/model/detect-stage.js +52 -0
- package/lib/model/detect-stage.js.map +1 -0
- package/lib/model/external-resource-vulnerability-audit-source.d.ts +1 -1
- package/lib/model/external-scm-configuration.d.ts +57 -0
- package/lib/model/external-scm-configuration.js +64 -0
- package/lib/model/external-scm-configuration.js.map +1 -0
- package/lib/model/git-hub-actions-configuration.d.ts +51 -0
- package/lib/model/git-hub-actions-configuration.js +54 -0
- package/lib/model/git-hub-actions-configuration.js.map +1 -0
- package/lib/model/git-lab-pipeline-configuration.d.ts +52 -0
- package/lib/model/git-lab-pipeline-configuration.js +54 -0
- package/lib/model/git-lab-pipeline-configuration.js.map +1 -0
- package/lib/model/index.d.ts +72 -0
- package/lib/model/index.js +74 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/jenkins-pipeline-configuration.d.ts +48 -0
- package/lib/model/jenkins-pipeline-configuration.js +54 -0
- package/lib/model/jenkins-pipeline-configuration.js.map +1 -0
- package/lib/model/knowledge-base-collection.d.ts +2 -2
- package/lib/model/knowledge-base-summary.d.ts +7 -7
- package/lib/model/knowledge-base.d.ts +7 -7
- package/lib/model/network-configuration.d.ts +31 -0
- package/lib/model/network-configuration.js +29 -0
- package/lib/model/network-configuration.js.map +1 -0
- package/lib/model/none-verify-configuration.d.ts +24 -0
- package/lib/model/none-verify-configuration.js +54 -0
- package/lib/model/none-verify-configuration.js.map +1 -0
- package/lib/model/oci-code-repository-configuration.d.ts +28 -0
- package/lib/model/oci-code-repository-configuration.js +54 -0
- package/lib/model/oci-code-repository-configuration.js.map +1 -0
- package/lib/model/oci-dev-ops-build-configuration.d.ts +34 -0
- package/lib/model/oci-dev-ops-build-configuration.js +54 -0
- package/lib/model/oci-dev-ops-build-configuration.js.map +1 -0
- package/lib/model/oci-resource-vulnerability-audit-source.d.ts +2 -2
- package/lib/model/operation-type.d.ts +6 -0
- package/lib/model/operation-type.js +6 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/pipeline-properties.d.ts +29 -0
- package/lib/model/pipeline-properties.js +29 -0
- package/lib/model/pipeline-properties.js.map +1 -0
- package/lib/model/pull-request-properties.d.ts +29 -0
- package/lib/model/pull-request-properties.js +29 -0
- package/lib/model/pull-request-properties.js.map +1 -0
- package/lib/model/recommend-stage.d.ts +30 -0
- package/lib/model/recommend-stage.js +60 -0
- package/lib/model/recommend-stage.js.map +1 -0
- package/lib/model/remediation-recipe-collection.d.ts +26 -0
- package/lib/model/remediation-recipe-collection.js +61 -0
- package/lib/model/remediation-recipe-collection.js.map +1 -0
- package/lib/model/remediation-recipe-summary.d.ts +81 -0
- package/lib/model/remediation-recipe-summary.js +29 -0
- package/lib/model/remediation-recipe-summary.js.map +1 -0
- package/lib/model/remediation-recipe.d.ts +103 -0
- package/lib/model/remediation-recipe.js +91 -0
- package/lib/model/remediation-recipe.js.map +1 -0
- package/lib/model/remediation-run-collection.d.ts +26 -0
- package/lib/model/remediation-run-collection.js +61 -0
- package/lib/model/remediation-run-collection.js.map +1 -0
- package/lib/model/remediation-run-stage-collection.d.ts +26 -0
- package/lib/model/remediation-run-stage-collection.js +61 -0
- package/lib/model/remediation-run-stage-collection.js.map +1 -0
- package/lib/model/remediation-run-stage-summary.d.ts +50 -0
- package/lib/model/remediation-run-stage-summary.js +29 -0
- package/lib/model/remediation-run-stage-summary.js.map +1 -0
- package/lib/model/remediation-run-stage-type.d.ts +30 -0
- package/lib/model/remediation-run-stage-type.js +41 -0
- package/lib/model/remediation-run-stage-type.js.map +1 -0
- package/lib/model/remediation-run-stage.d.ts +70 -0
- package/lib/model/remediation-run-stage.js +94 -0
- package/lib/model/remediation-run-stage.js.map +1 -0
- package/lib/model/remediation-run-summary.d.ts +94 -0
- package/lib/model/remediation-run-summary.js +29 -0
- package/lib/model/remediation-run-summary.js.map +1 -0
- package/lib/model/remediation-run.d.ts +125 -0
- package/lib/model/remediation-run.js +87 -0
- package/lib/model/remediation-run.js.map +1 -0
- package/lib/model/scm-configuration.d.ts +38 -0
- package/lib/model/scm-configuration.js +72 -0
- package/lib/model/scm-configuration.js.map +1 -0
- package/lib/model/stage-summary.d.ts +42 -0
- package/lib/model/stage-summary.js +29 -0
- package/lib/model/stage-summary.js.map +1 -0
- package/lib/model/unknown-source-vulnerability-audit-source.d.ts +1 -1
- package/lib/model/update-knowledge-base-details.d.ts +2 -2
- package/lib/model/update-remediation-recipe-details.d.ts +56 -0
- package/lib/model/update-remediation-recipe-details.js +75 -0
- package/lib/model/update-remediation-recipe-details.js.map +1 -0
- package/lib/model/update-remediation-run-details.d.ts +43 -0
- package/lib/model/update-remediation-run-details.js +29 -0
- package/lib/model/update-remediation-run-details.js.map +1 -0
- package/lib/model/update-vulnerability-audit-details.d.ts +2 -2
- package/lib/model/verify-configuration.d.ts +25 -0
- package/lib/model/verify-configuration.js +84 -0
- package/lib/model/verify-configuration.js.map +1 -0
- package/lib/model/verify-stage.d.ts +27 -0
- package/lib/model/verify-stage.js +66 -0
- package/lib/model/verify-stage.js.map +1 -0
- package/lib/model/vulnerability-audit-collection.d.ts +2 -2
- package/lib/model/vulnerability-audit-configuration.d.ts +7 -5
- package/lib/model/vulnerability-audit-configuration.js.map +1 -1
- package/lib/model/vulnerability-audit-source.d.ts +1 -1
- package/lib/model/vulnerability-audit-summary.d.ts +14 -14
- package/lib/model/vulnerability-audit.d.ts +17 -17
- package/lib/request/activate-remediation-recipe-request.d.ts +35 -0
- package/lib/request/activate-remediation-recipe-request.js +15 -0
- package/lib/request/activate-remediation-recipe-request.js.map +1 -0
- package/lib/request/cancel-remediation-run-request.d.ts +44 -0
- package/lib/request/cancel-remediation-run-request.js +15 -0
- package/lib/request/cancel-remediation-run-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-knowledge-base-compartment-request.d.ts +1 -1
- package/lib/request/change-remediation-recipe-compartment-request.d.ts +49 -0
- package/lib/request/change-remediation-recipe-compartment-request.js +15 -0
- package/lib/request/change-remediation-recipe-compartment-request.js.map +1 -0
- package/lib/request/change-remediation-run-compartment-request.d.ts +49 -0
- package/lib/request/change-remediation-run-compartment-request.js +15 -0
- package/lib/request/change-remediation-run-compartment-request.js.map +1 -0
- package/lib/request/change-vulnerability-audit-compartment-request.d.ts +1 -1
- package/lib/request/create-knowledge-base-request.d.ts +1 -1
- package/lib/request/create-remediation-recipe-request.d.ts +36 -0
- package/lib/request/create-remediation-recipe-request.js +15 -0
- package/lib/request/create-remediation-recipe-request.js.map +1 -0
- package/lib/request/create-remediation-run-request.d.ts +36 -0
- package/lib/request/create-remediation-run-request.js +15 -0
- package/lib/request/create-remediation-run-request.js.map +1 -0
- package/lib/request/create-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/deactivate-remediation-recipe-request.d.ts +35 -0
- package/lib/request/deactivate-remediation-recipe-request.js +15 -0
- package/lib/request/deactivate-remediation-recipe-request.js.map +1 -0
- package/lib/request/delete-knowledge-base-request.d.ts +1 -1
- package/lib/request/delete-remediation-recipe-request.d.ts +35 -0
- package/lib/request/delete-remediation-recipe-request.js +15 -0
- package/lib/request/delete-remediation-recipe-request.js.map +1 -0
- package/lib/request/delete-remediation-run-request.d.ts +35 -0
- package/lib/request/delete-remediation-run-request.js +15 -0
- package/lib/request/delete-remediation-run-request.js.map +1 -0
- package/lib/request/delete-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/get-knowledge-base-request.d.ts +1 -1
- package/lib/request/get-remediation-recipe-request.d.ts +26 -0
- package/lib/request/get-remediation-recipe-request.js +15 -0
- package/lib/request/get-remediation-recipe-request.js.map +1 -0
- package/lib/request/get-remediation-run-request.d.ts +26 -0
- package/lib/request/get-remediation-run-request.js +15 -0
- package/lib/request/get-remediation-run-request.js.map +1 -0
- package/lib/request/get-stage-request.d.ts +31 -0
- package/lib/request/get-stage-request.js +15 -0
- package/lib/request/get-stage-request.js.map +1 -0
- package/lib/request/get-vulnerability-audit-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +36 -0
- package/lib/request/index.js +9 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-application-dependency-recommendations-request.d.ts +61 -0
- package/lib/request/list-application-dependency-recommendations-request.js +26 -0
- package/lib/request/list-application-dependency-recommendations-request.js.map +1 -0
- package/lib/request/list-application-dependency-vulnerabilities-request.d.ts +1 -1
- package/lib/request/list-knowledge-bases-request.d.ts +5 -1
- package/lib/request/list-knowledge-bases-request.js.map +1 -1
- package/lib/request/list-remediation-recipes-request.d.ts +74 -0
- package/lib/request/list-remediation-recipes-request.js +27 -0
- package/lib/request/list-remediation-recipes-request.js.map +1 -0
- package/lib/request/list-remediation-runs-request.d.ts +80 -0
- package/lib/request/list-remediation-runs-request.js +28 -0
- package/lib/request/list-remediation-runs-request.js.map +1 -0
- package/lib/request/list-stages-request.d.ts +66 -0
- package/lib/request/list-stages-request.js +27 -0
- package/lib/request/list-stages-request.js.map +1 -0
- package/lib/request/list-vulnerability-audits-request.d.ts +5 -1
- package/lib/request/list-vulnerability-audits-request.js.map +1 -1
- 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 +3 -1
- package/lib/request/list-work-requests-request.js.map +1 -1
- package/lib/request/update-knowledge-base-request.d.ts +1 -1
- package/lib/request/update-remediation-recipe-request.d.ts +40 -0
- package/lib/request/update-remediation-recipe-request.js +15 -0
- package/lib/request/update-remediation-recipe-request.js.map +1 -0
- package/lib/request/update-remediation-run-request.d.ts +40 -0
- package/lib/request/update-remediation-run-request.js +15 -0
- package/lib/request/update-remediation-run-request.js.map +1 -0
- package/lib/request/update-vulnerability-audit-request.d.ts +1 -1
- package/lib/response/activate-remediation-recipe-response.d.ts +25 -0
- package/lib/response/activate-remediation-recipe-response.js +15 -0
- package/lib/response/activate-remediation-recipe-response.js.map +1 -0
- package/lib/response/cancel-remediation-run-response.d.ts +30 -0
- package/lib/response/cancel-remediation-run-response.js +15 -0
- package/lib/response/cancel-remediation-run-response.js.map +1 -0
- package/lib/response/change-remediation-recipe-compartment-response.d.ts +25 -0
- package/lib/response/change-remediation-recipe-compartment-response.js +15 -0
- package/lib/response/change-remediation-recipe-compartment-response.js.map +1 -0
- package/lib/response/change-remediation-run-compartment-response.d.ts +20 -0
- package/lib/response/change-remediation-run-compartment-response.js +15 -0
- package/lib/response/change-remediation-run-compartment-response.js.map +1 -0
- package/lib/response/create-remediation-recipe-response.d.ts +25 -0
- package/lib/response/create-remediation-recipe-response.js +15 -0
- package/lib/response/create-remediation-recipe-response.js.map +1 -0
- package/lib/response/create-remediation-run-response.d.ts +30 -0
- package/lib/response/create-remediation-run-response.js +15 -0
- package/lib/response/create-remediation-run-response.js.map +1 -0
- package/lib/response/deactivate-remediation-recipe-response.d.ts +25 -0
- package/lib/response/deactivate-remediation-recipe-response.js +15 -0
- package/lib/response/deactivate-remediation-recipe-response.js.map +1 -0
- package/lib/response/delete-remediation-recipe-response.d.ts +25 -0
- package/lib/response/delete-remediation-recipe-response.js +15 -0
- package/lib/response/delete-remediation-recipe-response.js.map +1 -0
- package/lib/response/delete-remediation-run-response.d.ts +20 -0
- package/lib/response/delete-remediation-run-response.js +15 -0
- package/lib/response/delete-remediation-run-response.js.map +1 -0
- package/lib/response/get-remediation-recipe-response.d.ts +30 -0
- package/lib/response/get-remediation-recipe-response.js +15 -0
- package/lib/response/get-remediation-recipe-response.js.map +1 -0
- package/lib/response/get-remediation-run-response.d.ts +30 -0
- package/lib/response/get-remediation-run-response.js +15 -0
- package/lib/response/get-remediation-run-response.js.map +1 -0
- package/lib/response/get-stage-response.d.ts +25 -0
- package/lib/response/get-stage-response.js +15 -0
- package/lib/response/get-stage-response.js.map +1 -0
- package/lib/response/index.d.ts +36 -0
- package/lib/response/list-application-dependency-recommendations-response.d.ts +32 -0
- package/lib/response/list-application-dependency-recommendations-response.js +15 -0
- package/lib/response/list-application-dependency-recommendations-response.js.map +1 -0
- package/lib/response/list-remediation-recipes-response.d.ts +32 -0
- package/lib/response/list-remediation-recipes-response.js +15 -0
- package/lib/response/list-remediation-recipes-response.js.map +1 -0
- package/lib/response/list-remediation-runs-response.d.ts +32 -0
- package/lib/response/list-remediation-runs-response.js +15 -0
- package/lib/response/list-remediation-runs-response.js.map +1 -0
- package/lib/response/list-stages-response.d.ts +32 -0
- package/lib/response/list-stages-response.js +15 -0
- package/lib/response/list-stages-response.js.map +1 -0
- package/lib/response/update-remediation-recipe-response.d.ts +25 -0
- package/lib/response/update-remediation-recipe-response.js +15 -0
- package/lib/response/update-remediation-recipe-response.js.map +1 -0
- package/lib/response/update-remediation-run-response.d.ts +30 -0
- package/lib/response/update-remediation-run-response.js +15 -0
- package/lib/response/update-remediation-run-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -11,11 +11,11 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* Details to update a
|
|
14
|
+
* Details to update a vulnerability audit.
|
|
15
15
|
*/
|
|
16
16
|
export interface UpdateVulnerabilityAuditDetails {
|
|
17
17
|
/**
|
|
18
|
-
* The name of the
|
|
18
|
+
* The name of the vulnerability audit.
|
|
19
19
|
*/
|
|
20
20
|
"displayName"?: string;
|
|
21
21
|
/**
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Application Dependency Management API
|
|
3
|
+
* Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220421
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, 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
|
+
/**
|
|
14
|
+
* The Verify stage configuration specifies a build service to run a pipeline for the recommended code changes.
|
|
15
|
+
* The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions
|
|
16
|
+
* have been updated in source to avoid vulnerabilities.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface VerifyConfiguration {
|
|
20
|
+
"buildServiceType": string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace VerifyConfiguration {
|
|
23
|
+
function getJsonObj(obj: VerifyConfiguration): object;
|
|
24
|
+
function getDeserializedJsonObj(obj: VerifyConfiguration): object;
|
|
25
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Application Dependency Management API
|
|
4
|
+
* Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220421
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.VerifyConfiguration = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
const common = require("oci-common");
|
|
37
|
+
var VerifyConfiguration;
|
|
38
|
+
(function (VerifyConfiguration) {
|
|
39
|
+
function getJsonObj(obj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
|
+
if (obj && "buildServiceType" in obj && obj.buildServiceType) {
|
|
42
|
+
switch (obj.buildServiceType) {
|
|
43
|
+
case "JENKINS_PIPELINE":
|
|
44
|
+
return model.JenkinsPipelineConfiguration.getJsonObj(jsonObj, true);
|
|
45
|
+
case "NONE":
|
|
46
|
+
return model.NoneVerifyConfiguration.getJsonObj(jsonObj, true);
|
|
47
|
+
case "OCI_DEVOPS_BUILD":
|
|
48
|
+
return model.OciDevOpsBuildConfiguration.getJsonObj(jsonObj, true);
|
|
49
|
+
case "GITHUB_ACTIONS":
|
|
50
|
+
return model.GitHubActionsConfiguration.getJsonObj(jsonObj, true);
|
|
51
|
+
case "GITLAB_PIPELINE":
|
|
52
|
+
return model.GitLabPipelineConfiguration.getJsonObj(jsonObj, true);
|
|
53
|
+
default:
|
|
54
|
+
if (common.LOG.logger)
|
|
55
|
+
common.LOG.logger.info(`Unknown value for: ${obj.buildServiceType}`);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
VerifyConfiguration.getJsonObj = getJsonObj;
|
|
61
|
+
function getDeserializedJsonObj(obj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
63
|
+
if (obj && "buildServiceType" in obj && obj.buildServiceType) {
|
|
64
|
+
switch (obj.buildServiceType) {
|
|
65
|
+
case "JENKINS_PIPELINE":
|
|
66
|
+
return model.JenkinsPipelineConfiguration.getDeserializedJsonObj(jsonObj, true);
|
|
67
|
+
case "NONE":
|
|
68
|
+
return model.NoneVerifyConfiguration.getDeserializedJsonObj(jsonObj, true);
|
|
69
|
+
case "OCI_DEVOPS_BUILD":
|
|
70
|
+
return model.OciDevOpsBuildConfiguration.getDeserializedJsonObj(jsonObj, true);
|
|
71
|
+
case "GITHUB_ACTIONS":
|
|
72
|
+
return model.GitHubActionsConfiguration.getDeserializedJsonObj(jsonObj, true);
|
|
73
|
+
case "GITLAB_PIPELINE":
|
|
74
|
+
return model.GitLabPipelineConfiguration.getDeserializedJsonObj(jsonObj, true);
|
|
75
|
+
default:
|
|
76
|
+
if (common.LOG.logger)
|
|
77
|
+
common.LOG.logger.info(`Unknown value for: ${obj.buildServiceType}`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return jsonObj;
|
|
81
|
+
}
|
|
82
|
+
VerifyConfiguration.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
83
|
+
})(VerifyConfiguration = exports.VerifyConfiguration || (exports.VerifyConfiguration = {}));
|
|
84
|
+
//# sourceMappingURL=verify-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-configuration.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/verify-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAYtC,IAAiB,mBAAmB,CA2EnC;AA3ED,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,kBAAkB,IAAI,GAAG,IAAI,GAAG,CAAC,gBAAgB,EAAE;YAC5D,QAAQ,GAAG,CAAC,gBAAgB,EAAE;gBAC5B,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,4BAA4B,CAAC,UAAU,CACL,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,uBAAuB,CAAC,UAAU,CACL,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CACL,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,gBAAgB;oBACnB,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CACL,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;aAC1E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApCe,8BAAU,aAoCzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,kBAAkB,IAAI,GAAG,IAAI,GAAG,CAAC,gBAAgB,EAAE;YAC5D,QAAQ,GAAG,CAAC,gBAAgB,EAAE;gBAC5B,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,4BAA4B,CAAC,sBAAsB,CACjB,OAAQ,EACrD,IAAI,CACL,CAAC;gBACJ,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,uBAAuB,CAAC,sBAAsB,CACjB,OAAQ,EAChD,IAAI,CACL,CAAC;gBACJ,KAAK,kBAAkB;oBACrB,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ,KAAK,gBAAgB;oBACnB,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACjB,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,gBAAgB,EAAE,CAAC,CAAC;aAC1E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApCe,0CAAsB,yBAoCrC,CAAA;AACH,CAAC,EA3EgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QA2EnC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Application Dependency Management API
|
|
3
|
+
* Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
|
|
4
|
+
* OpenAPI spec version: 20220421
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, 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
|
+
/**
|
|
15
|
+
* A verify stage will run a build pipeline in a branch.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface VerifyStage extends model.RemediationRunStage {
|
|
19
|
+
"pullRequestProperties"?: model.PullRequestProperties;
|
|
20
|
+
"pipelineProperties"?: model.PipelineProperties;
|
|
21
|
+
"type": string;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace VerifyStage {
|
|
24
|
+
function getJsonObj(obj: VerifyStage, isParentJsonObj?: boolean): object;
|
|
25
|
+
const type = "VERIFY";
|
|
26
|
+
function getDeserializedJsonObj(obj: VerifyStage, isParentJsonObj?: boolean): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Application Dependency Management API
|
|
4
|
+
* Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
|
|
5
|
+
* OpenAPI spec version: 20220421
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, 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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.VerifyStage = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var VerifyStage;
|
|
37
|
+
(function (VerifyStage) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.RemediationRunStage.getJsonObj(obj))), {
|
|
40
|
+
"pullRequestProperties": obj.pullRequestProperties
|
|
41
|
+
? model.PullRequestProperties.getJsonObj(obj.pullRequestProperties)
|
|
42
|
+
: undefined,
|
|
43
|
+
"pipelineProperties": obj.pipelineProperties
|
|
44
|
+
? model.PipelineProperties.getJsonObj(obj.pipelineProperties)
|
|
45
|
+
: undefined
|
|
46
|
+
});
|
|
47
|
+
return jsonObj;
|
|
48
|
+
}
|
|
49
|
+
VerifyStage.getJsonObj = getJsonObj;
|
|
50
|
+
VerifyStage.type = "VERIFY";
|
|
51
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
53
|
+
? obj
|
|
54
|
+
: model.RemediationRunStage.getDeserializedJsonObj(obj))), {
|
|
55
|
+
"pullRequestProperties": obj.pullRequestProperties
|
|
56
|
+
? model.PullRequestProperties.getDeserializedJsonObj(obj.pullRequestProperties)
|
|
57
|
+
: undefined,
|
|
58
|
+
"pipelineProperties": obj.pipelineProperties
|
|
59
|
+
? model.PipelineProperties.getDeserializedJsonObj(obj.pipelineProperties)
|
|
60
|
+
: undefined
|
|
61
|
+
});
|
|
62
|
+
return jsonObj;
|
|
63
|
+
}
|
|
64
|
+
VerifyStage.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
65
|
+
})(VerifyStage = exports.VerifyStage || (exports.VerifyStage = {}));
|
|
66
|
+
//# sourceMappingURL=verify-stage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-stage.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/verify-stage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,WAAW,CAkC3B;AAlCD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB,EAAE,eAAyB;QACpE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAiB,CAAC,GACpF;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBACnE,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,sBAAU,aAczB,CAAA;IACY,gBAAI,GAAG,QAAQ,CAAC;IAC7B,SAAgB,sBAAsB,CAAC,GAAgB,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAiB,CAAC,GACxE;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBAC/E,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBACzE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,kCAAsB,yBAgBrC,CAAA;AACH,CAAC,EAlCgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkC3B"}
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
* Collection of
|
|
15
|
+
* Collection of vulnerability audit summaries.
|
|
16
16
|
*/
|
|
17
17
|
export interface VulnerabilityAuditCollection {
|
|
18
18
|
/**
|
|
19
|
-
* List of
|
|
19
|
+
* List of vulnerability audit summaries.
|
|
20
20
|
*/
|
|
21
21
|
"items": Array<model.VulnerabilityAuditSummary>;
|
|
22
22
|
}
|
|
@@ -11,22 +11,24 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
* Configuration for a
|
|
15
|
-
* A vulnerable
|
|
14
|
+
* Configuration for a vulnerability audit.
|
|
15
|
+
* A vulnerable application dependency is ignored if its name does match any of the items in `exclusions`, or all of the associated Vulnerabilies have a CVSS v2 score below `maxPermissibleCvssV2Score` and a CVSS v3 score below `maxPermissibleCvssV3Score`.
|
|
16
16
|
* type: object
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export interface VulnerabilityAuditConfiguration {
|
|
20
20
|
/**
|
|
21
|
-
* A vulnerable
|
|
21
|
+
* A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
22
22
|
*/
|
|
23
23
|
"maxPermissibleCvssV2Score"?: number;
|
|
24
24
|
/**
|
|
25
|
-
* A vulnerable
|
|
25
|
+
* A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
26
26
|
*/
|
|
27
27
|
"maxPermissibleCvssV3Score"?: number;
|
|
28
28
|
/**
|
|
29
|
-
* A vulnerable
|
|
29
|
+
* A vulnerable application dependency is ignored if its name matches any of the items in `exclusions`.
|
|
30
|
+
* An asterisk (*) in the dependency pattern acts as a wildcard and matches zero or more characters.
|
|
31
|
+
*
|
|
30
32
|
*/
|
|
31
33
|
"exclusions"?: Array<string>;
|
|
32
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vulnerability-audit-configuration.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/vulnerability-audit-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"vulnerability-audit-configuration.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/vulnerability-audit-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA4BH,IAAiB,+BAA+B,CAW/C;AAXD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CAAC,GAAoC;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoC;QACzE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAW/C"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* vulnerability audit source.
|
|
15
15
|
*/
|
|
16
16
|
export interface VulnerabilityAuditSource {
|
|
17
17
|
"type": string;
|
|
@@ -11,55 +11,55 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* vulnerability audit summary.
|
|
15
15
|
*/
|
|
16
16
|
export interface VulnerabilityAuditSummary {
|
|
17
17
|
/**
|
|
18
|
-
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the
|
|
18
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit.
|
|
19
19
|
*/
|
|
20
20
|
"id": string;
|
|
21
21
|
/**
|
|
22
|
-
* The name of the
|
|
22
|
+
* The name of the vulnerability audit.
|
|
23
23
|
*/
|
|
24
24
|
"displayName"?: string;
|
|
25
25
|
/**
|
|
26
|
-
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the
|
|
26
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base.
|
|
27
27
|
*/
|
|
28
28
|
"knowledgeBaseId": string;
|
|
29
29
|
/**
|
|
30
|
-
* The creation date and time of the
|
|
30
|
+
* The creation date and time of the vulnerability audit (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
31
31
|
*/
|
|
32
32
|
"timeCreated": Date;
|
|
33
33
|
/**
|
|
34
|
-
* The update date and time of the
|
|
34
|
+
* The update date and time of the vulnerability audit (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
35
35
|
*/
|
|
36
36
|
"timeUpdated": Date;
|
|
37
37
|
/**
|
|
38
|
-
* The current lifecycle state of the
|
|
38
|
+
* The current lifecycle state of the vulnerability audit.
|
|
39
39
|
*/
|
|
40
40
|
"lifecycleState": string;
|
|
41
41
|
/**
|
|
42
|
-
* Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable
|
|
42
|
+
* Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable application dependencies. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
43
43
|
*/
|
|
44
44
|
"maxObservedCvssV2Score": number;
|
|
45
45
|
/**
|
|
46
|
-
* Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable
|
|
46
|
+
* Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable application dependencies. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
47
47
|
*/
|
|
48
48
|
"maxObservedCvssV3Score": number;
|
|
49
49
|
/**
|
|
50
|
-
* Count of non-ignored vulnerable
|
|
50
|
+
* Count of non-ignored vulnerable application dependencies. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
51
51
|
*/
|
|
52
52
|
"vulnerableArtifactsCount": number;
|
|
53
53
|
/**
|
|
54
|
-
* Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable
|
|
54
|
+
* Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable application dependencies including ignored ones. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
55
55
|
*/
|
|
56
56
|
"maxObservedCvssV2ScoreWithIgnored": number;
|
|
57
57
|
/**
|
|
58
|
-
* Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable
|
|
58
|
+
* Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable application dependencies including ignored ones. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
59
59
|
*/
|
|
60
60
|
"maxObservedCvssV3ScoreWithIgnored": number;
|
|
61
61
|
/**
|
|
62
|
-
* Count of all vulnerable
|
|
62
|
+
* Count of all vulnerable application dependencies. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
63
63
|
*/
|
|
64
64
|
"vulnerableArtifactsCountWithIgnored": number;
|
|
65
65
|
/**
|
|
@@ -71,7 +71,7 @@ export interface VulnerabilityAuditSummary {
|
|
|
71
71
|
*/
|
|
72
72
|
"buildType"?: string;
|
|
73
73
|
/**
|
|
74
|
-
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the
|
|
74
|
+
* The compartment Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit.
|
|
75
75
|
*/
|
|
76
76
|
"compartmentId": string;
|
|
77
77
|
/**
|
|
@@ -12,63 +12,63 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
* A
|
|
15
|
+
* A vulnerability audit associates the application dependencies of a project with their associated Vulnerabilities.
|
|
16
16
|
* Each Vulnerability is associated with a score (Common Vulnerability Scoring System V2 or V3).
|
|
17
|
-
* A vulnerable
|
|
18
|
-
* maxObservedCvssV2Score, maxObservedCvssV3Score and vulnerableArtifactsCount do not take into account non-vulnerable
|
|
17
|
+
* A vulnerable application dependency can be ignored based on the configuration of the vulnerability audit.
|
|
18
|
+
* maxObservedCvssV2Score, maxObservedCvssV3Score and vulnerableArtifactsCount do not take into account non-vulnerable application dependency.
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
export interface VulnerabilityAudit {
|
|
22
22
|
/**
|
|
23
|
-
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the
|
|
23
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit.
|
|
24
24
|
*/
|
|
25
25
|
"id": string;
|
|
26
26
|
/**
|
|
27
|
-
* The name of the
|
|
27
|
+
* The name of the vulnerability audit.
|
|
28
28
|
*/
|
|
29
29
|
"displayName"?: string;
|
|
30
30
|
/**
|
|
31
|
-
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the
|
|
31
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base.
|
|
32
32
|
*/
|
|
33
33
|
"knowledgeBaseId": string;
|
|
34
34
|
/**
|
|
35
|
-
* The creation date and time of the
|
|
35
|
+
* The creation date and time of the vulnerability audit (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
36
36
|
*/
|
|
37
37
|
"timeCreated": Date;
|
|
38
38
|
/**
|
|
39
|
-
* The update date and time of the
|
|
39
|
+
* The update date and time of the vulnerability audit (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
40
40
|
*/
|
|
41
41
|
"timeUpdated": Date;
|
|
42
42
|
/**
|
|
43
|
-
* The current lifecycle state of the
|
|
43
|
+
* The current lifecycle state of the vulnerability audit.
|
|
44
44
|
*/
|
|
45
45
|
"lifecycleState": VulnerabilityAudit.LifecycleState;
|
|
46
46
|
/**
|
|
47
|
-
* List of vulnerabilities found in the
|
|
47
|
+
* List of vulnerabilities found in the vulnerability audit.
|
|
48
48
|
*/
|
|
49
49
|
"vulnerabilities": Array<model.Vulnerability>;
|
|
50
50
|
/**
|
|
51
|
-
* Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable
|
|
51
|
+
* Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable application dependencies. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
52
52
|
*/
|
|
53
53
|
"maxObservedCvssV2Score": number;
|
|
54
54
|
/**
|
|
55
|
-
* Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable
|
|
55
|
+
* Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable application dependencies. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
56
56
|
*/
|
|
57
57
|
"maxObservedCvssV3Score": number;
|
|
58
58
|
/**
|
|
59
|
-
* Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable
|
|
59
|
+
* Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable application dependencies including ignored ones. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
60
60
|
*/
|
|
61
61
|
"maxObservedCvssV2ScoreWithIgnored": number;
|
|
62
62
|
/**
|
|
63
|
-
* Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable
|
|
63
|
+
* Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable application dependencies including ignored ones. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
64
64
|
*/
|
|
65
65
|
"maxObservedCvssV3ScoreWithIgnored": number;
|
|
66
66
|
/**
|
|
67
|
-
* Count of all vulnerable
|
|
67
|
+
* Count of all vulnerable application dependencies. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
68
68
|
*/
|
|
69
69
|
"vulnerableArtifactsCountWithIgnored": number;
|
|
70
70
|
/**
|
|
71
|
-
* Count of non-ignored vulnerable
|
|
71
|
+
* Count of non-ignored vulnerable application dependencies. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
72
72
|
*/
|
|
73
73
|
"vulnerableArtifactsCount": number;
|
|
74
74
|
"configuration"?: model.VulnerabilityAuditConfiguration;
|
|
@@ -82,7 +82,7 @@ export interface VulnerabilityAudit {
|
|
|
82
82
|
"buildType": VulnerabilityAudit.BuildType;
|
|
83
83
|
"source": model.UnknownSourceVulnerabilityAuditSource | model.OciResourceVulnerabilityAuditSource | model.ExternalResourceVulnerabilityAuditSource;
|
|
84
84
|
/**
|
|
85
|
-
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the
|
|
85
|
+
* The compartment Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit.
|
|
86
86
|
*/
|
|
87
87
|
"compartmentId": string;
|
|
88
88
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20220421
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/adm/ActivateRemediationRecipe.ts.html |here} to see how to use ActivateRemediationRecipeRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface ActivateRemediationRecipeRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
|
|
20
|
+
*/
|
|
21
|
+
"remediationRecipeId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
24
|
+
* for a resource, set the `if-match` parameter to the value of the
|
|
25
|
+
* etag from a previous GET or POST response for that resource.
|
|
26
|
+
* The resource will be updated or deleted only if the etag you
|
|
27
|
+
* provide matches the resource's current etag value.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"ifMatch"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The client request ID for tracing.
|
|
33
|
+
*/
|
|
34
|
+
"opcRequestId"?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20220421
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, 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=activate-remediation-recipe-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activate-remediation-recipe-request.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/request/activate-remediation-recipe-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20220421
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2023, 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 common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/adm/CancelRemediationRun.ts.html |here} to see how to use CancelRemediationRunRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface CancelRemediationRunRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Unique Remediation Run identifier path parameter.
|
|
20
|
+
*/
|
|
21
|
+
"remediationRunId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
24
|
+
* for a resource, set the `if-match` parameter to the value of the
|
|
25
|
+
* etag from a previous GET or POST response for that resource.
|
|
26
|
+
* The resource will be updated or deleted only if the etag you
|
|
27
|
+
* provide matches the resource's current etag value.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"ifMatch"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The client request ID for tracing.
|
|
33
|
+
*/
|
|
34
|
+
"opcRequestId"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
37
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
38
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
39
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
40
|
+
* might be rejected.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
"opcRetryToken"?: string;
|
|
44
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20220421
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2023, 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=cancel-remediation-run-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cancel-remediation-run-request.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/request/cancel-remediation-run-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/adm/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface CancelWorkRequestRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.72.0/adm/ChangeKnowledgeBaseCompartment.ts.html |here} to see how to use ChangeKnowledgeBaseCompartmentRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface ChangeKnowledgeBaseCompartmentRequest extends common.BaseRequest {
|
|
19
19
|
/**
|