oci-adm 2.25.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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/applicationdependencymanagement-waiter.d.ts +44 -0
- package/lib/applicationdependencymanagement-waiter.js +88 -0
- package/lib/applicationdependencymanagement-waiter.js.map +1 -0
- package/lib/client.d.ts +240 -0
- package/lib/client.js +1284 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-type.d.ts +32 -0
- package/lib/model/action-type.js +43 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/application-dependency-vulnerability-collection.d.ts +28 -0
- package/lib/model/application-dependency-vulnerability-collection.js +61 -0
- package/lib/model/application-dependency-vulnerability-collection.js.map +1 -0
- package/lib/model/application-dependency-vulnerability-summary.d.ts +45 -0
- package/lib/model/application-dependency-vulnerability-summary.js +61 -0
- package/lib/model/application-dependency-vulnerability-summary.js.map +1 -0
- package/lib/model/application-dependency.d.ts +33 -0
- package/lib/model/application-dependency.js +29 -0
- package/lib/model/application-dependency.js.map +1 -0
- package/lib/model/change-knowledge-base-compartment-details.d.ts +25 -0
- package/lib/model/change-knowledge-base-compartment-details.js +29 -0
- package/lib/model/change-knowledge-base-compartment-details.js.map +1 -0
- package/lib/model/change-vulnerability-audit-compartment-details.d.ts +25 -0
- package/lib/model/change-vulnerability-audit-compartment-details.js +29 -0
- package/lib/model/change-vulnerability-audit-compartment-details.js.map +1 -0
- package/lib/model/create-knowledge-base-details.d.ts +47 -0
- package/lib/model/create-knowledge-base-details.js +29 -0
- package/lib/model/create-knowledge-base-details.js.map +1 -0
- package/lib/model/create-vulnerability-audit-details.d.ts +61 -0
- package/lib/model/create-vulnerability-audit-details.js +67 -0
- package/lib/model/create-vulnerability-audit-details.js.map +1 -0
- package/lib/model/index.d.ts +72 -0
- package/lib/model/index.js +95 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/knowledge-base-collection.d.ts +26 -0
- package/lib/model/knowledge-base-collection.js +61 -0
- package/lib/model/knowledge-base-collection.js.map +1 -0
- package/lib/model/knowledge-base-summary.d.ts +73 -0
- package/lib/model/knowledge-base-summary.js +29 -0
- package/lib/model/knowledge-base-summary.js.map +1 -0
- package/lib/model/knowledge-base.d.ts +87 -0
- package/lib/model/knowledge-base.js +43 -0
- package/lib/model/knowledge-base.js.map +1 -0
- package/lib/model/operation-status.d.ts +33 -0
- package/lib/model/operation-status.js +44 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +30 -0
- package/lib/model/operation-type.js +41 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/sort-order.d.ts +23 -0
- package/lib/model/sort-order.js +34 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-knowledge-base-details.d.ts +43 -0
- package/lib/model/update-knowledge-base-details.js +29 -0
- package/lib/model/update-knowledge-base-details.js.map +1 -0
- package/lib/model/update-vulnerability-audit-details.d.ts +43 -0
- package/lib/model/update-vulnerability-audit-details.js +29 -0
- package/lib/model/update-vulnerability-audit-details.js.map +1 -0
- package/lib/model/vulnerability-audit-collection.d.ts +26 -0
- package/lib/model/vulnerability-audit-collection.js +61 -0
- package/lib/model/vulnerability-audit-collection.js.map +1 -0
- package/lib/model/vulnerability-audit-configuration.d.ts +35 -0
- package/lib/model/vulnerability-audit-configuration.js +29 -0
- package/lib/model/vulnerability-audit-configuration.js.map +1 -0
- package/lib/model/vulnerability-audit-summary.d.ts +97 -0
- package/lib/model/vulnerability-audit-summary.js +29 -0
- package/lib/model/vulnerability-audit-summary.js.map +1 -0
- package/lib/model/vulnerability-audit.d.ts +125 -0
- package/lib/model/vulnerability-audit.js +89 -0
- package/lib/model/vulnerability-audit.js.map +1 -0
- package/lib/model/vulnerability.d.ts +39 -0
- package/lib/model/vulnerability.js +29 -0
- package/lib/model/vulnerability.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +26 -0
- package/lib/model/work-request-error-collection.js +61 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +35 -0
- package/lib/model/work-request-error.js +29 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +26 -0
- package/lib/model/work-request-log-entry-collection.js +61 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +29 -0
- package/lib/model/work-request-log-entry.js +29 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +27 -0
- package/lib/model/work-request-resource-metadata-key.js +38 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +48 -0
- package/lib/model/work-request-resource.js +29 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +26 -0
- package/lib/model/work-request-summary-collection.js +61 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +85 -0
- package/lib/model/work-request-summary.js +61 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +67 -0
- package/lib/model/work-request.js +61 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +35 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-knowledge-base-compartment-request.d.ts +49 -0
- package/lib/request/change-knowledge-base-compartment-request.js +15 -0
- package/lib/request/change-knowledge-base-compartment-request.js.map +1 -0
- package/lib/request/change-vulnerability-audit-compartment-request.d.ts +49 -0
- package/lib/request/change-vulnerability-audit-compartment-request.js +15 -0
- package/lib/request/change-vulnerability-audit-compartment-request.js.map +1 -0
- package/lib/request/create-knowledge-base-request.d.ts +36 -0
- package/lib/request/create-knowledge-base-request.js +15 -0
- package/lib/request/create-knowledge-base-request.js.map +1 -0
- package/lib/request/create-vulnerability-audit-request.d.ts +45 -0
- package/lib/request/create-vulnerability-audit-request.js +15 -0
- package/lib/request/create-vulnerability-audit-request.js.map +1 -0
- package/lib/request/delete-knowledge-base-request.d.ts +35 -0
- package/lib/request/delete-knowledge-base-request.js +15 -0
- package/lib/request/delete-knowledge-base-request.js.map +1 -0
- package/lib/request/delete-vulnerability-audit-request.d.ts +35 -0
- package/lib/request/delete-vulnerability-audit-request.js +15 -0
- package/lib/request/delete-vulnerability-audit-request.js.map +1 -0
- package/lib/request/get-knowledge-base-request.d.ts +26 -0
- package/lib/request/get-knowledge-base-request.js +15 -0
- package/lib/request/get-knowledge-base-request.js.map +1 -0
- package/lib/request/get-vulnerability-audit-request.d.ts +26 -0
- package/lib/request/get-vulnerability-audit-request.js +15 -0
- package/lib/request/get-vulnerability-audit-request.js.map +1 -0
- package/lib/request/get-work-request-request.d.ts +26 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +48 -0
- package/lib/request/index.js +47 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-application-dependency-vulnerabilities-request.d.ts +70 -0
- package/lib/request/list-application-dependency-vulnerabilities-request.js +24 -0
- package/lib/request/list-application-dependency-vulnerabilities-request.js.map +1 -0
- package/lib/request/list-knowledge-bases-request.d.ts +67 -0
- package/lib/request/list-knowledge-bases-request.js +26 -0
- package/lib/request/list-knowledge-bases-request.js.map +1 -0
- package/lib/request/list-vulnerability-audits-request.d.ts +76 -0
- package/lib/request/list-vulnerability-audits-request.js +26 -0
- package/lib/request/list-vulnerability-audits-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +49 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +49 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +61 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-knowledge-base-request.d.ts +40 -0
- package/lib/request/update-knowledge-base-request.js +15 -0
- package/lib/request/update-knowledge-base-request.js.map +1 -0
- package/lib/request/update-vulnerability-audit-request.d.ts +40 -0
- package/lib/request/update-vulnerability-audit-request.js +15 -0
- package/lib/request/update-vulnerability-audit-request.js.map +1 -0
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-knowledge-base-compartment-response.d.ts +25 -0
- package/lib/response/change-knowledge-base-compartment-response.js +15 -0
- package/lib/response/change-knowledge-base-compartment-response.js.map +1 -0
- package/lib/response/change-vulnerability-audit-compartment-response.d.ts +20 -0
- package/lib/response/change-vulnerability-audit-compartment-response.js +15 -0
- package/lib/response/change-vulnerability-audit-compartment-response.js.map +1 -0
- package/lib/response/create-knowledge-base-response.d.ts +25 -0
- package/lib/response/create-knowledge-base-response.js +15 -0
- package/lib/response/create-knowledge-base-response.js.map +1 -0
- package/lib/response/create-vulnerability-audit-response.d.ts +35 -0
- package/lib/response/create-vulnerability-audit-response.js +15 -0
- package/lib/response/create-vulnerability-audit-response.js.map +1 -0
- package/lib/response/delete-knowledge-base-response.d.ts +25 -0
- package/lib/response/delete-knowledge-base-response.js +15 -0
- package/lib/response/delete-knowledge-base-response.js.map +1 -0
- package/lib/response/delete-vulnerability-audit-response.d.ts +20 -0
- package/lib/response/delete-vulnerability-audit-response.js +15 -0
- package/lib/response/delete-vulnerability-audit-response.js.map +1 -0
- package/lib/response/get-knowledge-base-response.d.ts +30 -0
- package/lib/response/get-knowledge-base-response.js +15 -0
- package/lib/response/get-knowledge-base-response.js.map +1 -0
- package/lib/response/get-vulnerability-audit-response.d.ts +30 -0
- package/lib/response/get-vulnerability-audit-response.js +15 -0
- package/lib/response/get-vulnerability-audit-response.js.map +1 -0
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +48 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-application-dependency-vulnerabilities-response.d.ts +32 -0
- package/lib/response/list-application-dependency-vulnerabilities-response.js +15 -0
- package/lib/response/list-application-dependency-vulnerabilities-response.js.map +1 -0
- package/lib/response/list-knowledge-bases-response.d.ts +32 -0
- package/lib/response/list-knowledge-bases-response.js +15 -0
- package/lib/response/list-knowledge-bases-response.js.map +1 -0
- package/lib/response/list-vulnerability-audits-response.d.ts +32 -0
- package/lib/response/list-vulnerability-audits-response.js +15 -0
- package/lib/response/list-vulnerability-audits-response.js.map +1 -0
- package/lib/response/list-work-request-errors-response.d.ts +32 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +32 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +32 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-knowledge-base-response.d.ts +25 -0
- package/lib/response/update-knowledge-base-response.js +15 -0
- package/lib/response/update-knowledge-base-response.js.map +1 -0
- package/lib/response/update-vulnerability-audit-response.d.ts +30 -0
- package/lib/response/update-vulnerability-audit-response.js +15 -0
- package/lib/response/update-vulnerability-audit-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADM API
|
|
3
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
/**
|
|
14
|
+
* Possible operation status.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationStatus {
|
|
17
|
+
Accepted = "ACCEPTED",
|
|
18
|
+
InProgress = "IN_PROGRESS",
|
|
19
|
+
Waiting = "WAITING",
|
|
20
|
+
Failed = "FAILED",
|
|
21
|
+
Succeeded = "SUCCEEDED",
|
|
22
|
+
Canceling = "CANCELING",
|
|
23
|
+
Canceled = "CANCELED",
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
29
|
+
}
|
|
30
|
+
export declare namespace OperationStatus {
|
|
31
|
+
function getJsonObj(obj: OperationStatus): OperationStatus;
|
|
32
|
+
function getDeserializedJsonObj(obj: OperationStatus): OperationStatus;
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADM API
|
|
4
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
exports.OperationStatus = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation status.
|
|
18
|
+
**/
|
|
19
|
+
var OperationStatus;
|
|
20
|
+
(function (OperationStatus) {
|
|
21
|
+
OperationStatus["Accepted"] = "ACCEPTED";
|
|
22
|
+
OperationStatus["InProgress"] = "IN_PROGRESS";
|
|
23
|
+
OperationStatus["Waiting"] = "WAITING";
|
|
24
|
+
OperationStatus["Failed"] = "FAILED";
|
|
25
|
+
OperationStatus["Succeeded"] = "SUCCEEDED";
|
|
26
|
+
OperationStatus["Canceling"] = "CANCELING";
|
|
27
|
+
OperationStatus["Canceled"] = "CANCELED";
|
|
28
|
+
/**
|
|
29
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
30
|
+
* version of the SDK.
|
|
31
|
+
*/
|
|
32
|
+
OperationStatus["UnknownValue"] = "UNKNOWN_VALUE";
|
|
33
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
34
|
+
(function (OperationStatus) {
|
|
35
|
+
function getJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
OperationStatus.getJsonObj = getJsonObj;
|
|
39
|
+
function getDeserializedJsonObj(obj) {
|
|
40
|
+
return obj;
|
|
41
|
+
}
|
|
42
|
+
OperationStatus.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
43
|
+
})(OperationStatus = exports.OperationStatus || (exports.OperationStatus = {}));
|
|
44
|
+
//# sourceMappingURL=operation-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-status.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/operation-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,6CAA0B,CAAA;IAC1B,sCAAmB,CAAA;IACnB,oCAAiB,CAAA;IACjB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;IACvB,wCAAqB,CAAA;IAErB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EAdW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAc1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADM API
|
|
3
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
/**
|
|
14
|
+
* Possible operation types.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum OperationType {
|
|
17
|
+
CreateKnowledgeBase = "CREATE_KNOWLEDGE_BASE",
|
|
18
|
+
DeleteKnowledgeBase = "DELETE_KNOWLEDGE_BASE",
|
|
19
|
+
MoveKnowledgeBase = "MOVE_KNOWLEDGE_BASE",
|
|
20
|
+
UpdateKnowledgeBase = "UPDATE_KNOWLEDGE_BASE",
|
|
21
|
+
/**
|
|
22
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
23
|
+
* version of the SDK.
|
|
24
|
+
*/
|
|
25
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
26
|
+
}
|
|
27
|
+
export declare namespace OperationType {
|
|
28
|
+
function getJsonObj(obj: OperationType): OperationType;
|
|
29
|
+
function getDeserializedJsonObj(obj: OperationType): OperationType;
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADM API
|
|
4
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
exports.OperationType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible operation types.
|
|
18
|
+
**/
|
|
19
|
+
var OperationType;
|
|
20
|
+
(function (OperationType) {
|
|
21
|
+
OperationType["CreateKnowledgeBase"] = "CREATE_KNOWLEDGE_BASE";
|
|
22
|
+
OperationType["DeleteKnowledgeBase"] = "DELETE_KNOWLEDGE_BASE";
|
|
23
|
+
OperationType["MoveKnowledgeBase"] = "MOVE_KNOWLEDGE_BASE";
|
|
24
|
+
OperationType["UpdateKnowledgeBase"] = "UPDATE_KNOWLEDGE_BASE";
|
|
25
|
+
/**
|
|
26
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
|
+
* version of the SDK.
|
|
28
|
+
*/
|
|
29
|
+
OperationType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
30
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
31
|
+
(function (OperationType) {
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
return obj;
|
|
34
|
+
}
|
|
35
|
+
OperationType.getJsonObj = getJsonObj;
|
|
36
|
+
function getDeserializedJsonObj(obj) {
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
OperationType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
40
|
+
})(OperationType = exports.OperationType || (exports.OperationType = {}));
|
|
41
|
+
//# sourceMappingURL=operation-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-type.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/operation-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,aAWX;AAXD,WAAY,aAAa;IACvB,8DAA6C,CAAA;IAC7C,8DAA6C,CAAA;IAC7C,0DAAyC,CAAA;IACzC,8DAA6C,CAAA;IAE7C;;;OAGG;IACH,+CAA8B,CAAA;AAChC,CAAC,EAXW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAWxB;AAED,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,wBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAO7B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADM API
|
|
3
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
/**
|
|
14
|
+
* Sort orders.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum SortOrder {
|
|
17
|
+
Asc = "ASC",
|
|
18
|
+
Desc = "DESC"
|
|
19
|
+
}
|
|
20
|
+
export declare namespace SortOrder {
|
|
21
|
+
function getJsonObj(obj: SortOrder): SortOrder;
|
|
22
|
+
function getDeserializedJsonObj(obj: SortOrder): SortOrder;
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADM API
|
|
4
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
exports.SortOrder = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Sort orders.
|
|
18
|
+
**/
|
|
19
|
+
var SortOrder;
|
|
20
|
+
(function (SortOrder) {
|
|
21
|
+
SortOrder["Asc"] = "ASC";
|
|
22
|
+
SortOrder["Desc"] = "DESC";
|
|
23
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
24
|
+
(function (SortOrder) {
|
|
25
|
+
function getJsonObj(obj) {
|
|
26
|
+
return obj;
|
|
27
|
+
}
|
|
28
|
+
SortOrder.getJsonObj = getJsonObj;
|
|
29
|
+
function getDeserializedJsonObj(obj) {
|
|
30
|
+
return obj;
|
|
31
|
+
}
|
|
32
|
+
SortOrder.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
33
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
34
|
+
//# sourceMappingURL=sort-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-order.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/sort-order.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAED,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,gCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADM API
|
|
3
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
/**
|
|
14
|
+
* Details to update an existing Knowledge Base.
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateKnowledgeBaseDetails {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the Knowledge Base.
|
|
19
|
+
*/
|
|
20
|
+
"displayName"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
23
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"freeformTags"?: {
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
31
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"definedTags"?: {
|
|
35
|
+
[key: string]: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export declare namespace UpdateKnowledgeBaseDetails {
|
|
41
|
+
function getJsonObj(obj: UpdateKnowledgeBaseDetails): object;
|
|
42
|
+
function getDeserializedJsonObj(obj: UpdateKnowledgeBaseDetails): object;
|
|
43
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADM API
|
|
4
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
exports.UpdateKnowledgeBaseDetails = void 0;
|
|
16
|
+
var UpdateKnowledgeBaseDetails;
|
|
17
|
+
(function (UpdateKnowledgeBaseDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
UpdateKnowledgeBaseDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
UpdateKnowledgeBaseDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(UpdateKnowledgeBaseDetails = exports.UpdateKnowledgeBaseDetails || (exports.UpdateKnowledgeBaseDetails = {}));
|
|
29
|
+
//# sourceMappingURL=update-knowledge-base-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-knowledge-base-details.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/update-knowledge-base-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2BH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADM API
|
|
3
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
/**
|
|
14
|
+
* Details to update a Vulnerability Audit.
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateVulnerabilityAuditDetails {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the Vulnerability Audit.
|
|
19
|
+
*/
|
|
20
|
+
"displayName"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
23
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"freeformTags"?: {
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
31
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
"definedTags"?: {
|
|
35
|
+
[key: string]: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export declare namespace UpdateVulnerabilityAuditDetails {
|
|
41
|
+
function getJsonObj(obj: UpdateVulnerabilityAuditDetails): object;
|
|
42
|
+
function getDeserializedJsonObj(obj: UpdateVulnerabilityAuditDetails): object;
|
|
43
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADM API
|
|
4
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
exports.UpdateVulnerabilityAuditDetails = void 0;
|
|
16
|
+
var UpdateVulnerabilityAuditDetails;
|
|
17
|
+
(function (UpdateVulnerabilityAuditDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
UpdateVulnerabilityAuditDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
UpdateVulnerabilityAuditDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(UpdateVulnerabilityAuditDetails = exports.UpdateVulnerabilityAuditDetails || (exports.UpdateVulnerabilityAuditDetails = {}));
|
|
29
|
+
//# sourceMappingURL=update-vulnerability-audit-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-vulnerability-audit-details.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/update-vulnerability-audit-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA2BH,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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADM API
|
|
3
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
/**
|
|
15
|
+
* Collection of Vulnerability Audit summaries.
|
|
16
|
+
*/
|
|
17
|
+
export interface VulnerabilityAuditCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of Vulnerability Audit summaries.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.VulnerabilityAuditSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace VulnerabilityAuditCollection {
|
|
24
|
+
function getJsonObj(obj: VulnerabilityAuditCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: VulnerabilityAuditCollection): object;
|
|
26
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADM API
|
|
4
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
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.VulnerabilityAuditCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var VulnerabilityAuditCollection;
|
|
37
|
+
(function (VulnerabilityAuditCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.VulnerabilityAuditSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
VulnerabilityAuditCollection.getJsonObj = getJsonObj;
|
|
49
|
+
function getDeserializedJsonObj(obj) {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"items": obj.items
|
|
52
|
+
? obj.items.map(item => {
|
|
53
|
+
return model.VulnerabilityAuditSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
VulnerabilityAuditCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(VulnerabilityAuditCollection = exports.VulnerabilityAuditCollection || (exports.VulnerabilityAuditCollection = {}));
|
|
61
|
+
//# sourceMappingURL=vulnerability-audit-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vulnerability-audit-collection.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/vulnerability-audit-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,4BAA4B,CA6B5C;AA7BD,WAAiB,4BAA4B;IAC3C,SAAgB,UAAU,CAAC,GAAiC;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,uCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiC;QACtE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA6B5C"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADM API
|
|
3
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
/**
|
|
14
|
+
* Configuration for a Vulnerability Audit
|
|
15
|
+
* type: object
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface VulnerabilityAuditConfiguration {
|
|
19
|
+
/**
|
|
20
|
+
* The minimum CVSS V2 score for a vulnerability to be considered by the audit as failed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
21
|
+
*/
|
|
22
|
+
"maxPermissibleCvssV2Score"?: number;
|
|
23
|
+
/**
|
|
24
|
+
* The minimum CVSS V3 score for a vulnerability to be considered by the audit as failed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
25
|
+
*/
|
|
26
|
+
"maxPermissibleCvssV3Score"?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Pattern to exclude artifacts from audit.
|
|
29
|
+
*/
|
|
30
|
+
"exclusions"?: Array<string>;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace VulnerabilityAuditConfiguration {
|
|
33
|
+
function getJsonObj(obj: VulnerabilityAuditConfiguration): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: VulnerabilityAuditConfiguration): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADM API
|
|
4
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
exports.VulnerabilityAuditConfiguration = void 0;
|
|
16
|
+
var VulnerabilityAuditConfiguration;
|
|
17
|
+
(function (VulnerabilityAuditConfiguration) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
VulnerabilityAuditConfiguration.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
VulnerabilityAuditConfiguration.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(VulnerabilityAuditConfiguration = exports.VulnerabilityAuditConfiguration || (exports.VulnerabilityAuditConfiguration = {}));
|
|
29
|
+
//# sourceMappingURL=vulnerability-audit-configuration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vulnerability-audit-configuration.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/vulnerability-audit-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAyBH,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"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADM API
|
|
3
|
+
* Use the ADM API to create ADM knowledge base and vulnerability audits. For more information, see [ADM](/Content/adm/using/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, 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
|
+
/**
|
|
14
|
+
* Vulnerability Audit summary.
|
|
15
|
+
*/
|
|
16
|
+
export interface VulnerabilityAuditSummary {
|
|
17
|
+
/**
|
|
18
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Vulnerability Audit.
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the Vulnerability Audit.
|
|
23
|
+
*/
|
|
24
|
+
"displayName"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base.
|
|
27
|
+
*/
|
|
28
|
+
"knowledgeBaseId": string;
|
|
29
|
+
/**
|
|
30
|
+
* The creation date and time of the Vulnerability Audit (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
31
|
+
*/
|
|
32
|
+
"timeCreated": Date;
|
|
33
|
+
/**
|
|
34
|
+
* The update date and time of the Vulnerability Audit (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
35
|
+
*/
|
|
36
|
+
"timeUpdated": Date;
|
|
37
|
+
/**
|
|
38
|
+
* The current lifecycle state of the Vulnerability Audit.
|
|
39
|
+
*/
|
|
40
|
+
"lifecycleState": string;
|
|
41
|
+
/**
|
|
42
|
+
* Maximum Common Vulnerability Scoring System Version 2 score of vulnerabilities. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
43
|
+
*/
|
|
44
|
+
"maxObservedCvssV2Score": number;
|
|
45
|
+
/**
|
|
46
|
+
* Maximum Common Vulnerability Scoring System Version 3 score of vulnerabilities. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
47
|
+
*/
|
|
48
|
+
"maxObservedCvssV3Score": number;
|
|
49
|
+
/**
|
|
50
|
+
* Count of vulnerable artifacts. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
51
|
+
*/
|
|
52
|
+
"vulnerableArtifactsCount": number;
|
|
53
|
+
/**
|
|
54
|
+
* Indicates if an audit succeeded according to the configuration. The value is `null` if the audit is in the `CREATING` state.
|
|
55
|
+
*/
|
|
56
|
+
"isSuccess"?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Type of the build tool.
|
|
59
|
+
*/
|
|
60
|
+
"buildType"?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the compartment associated with the Vulnerability Audit.
|
|
63
|
+
*/
|
|
64
|
+
"compartmentId": string;
|
|
65
|
+
/**
|
|
66
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
67
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"freeformTags"?: {
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
75
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
"definedTags"?: {
|
|
79
|
+
[key: string]: {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
85
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
86
|
+
*
|
|
87
|
+
*/
|
|
88
|
+
"systemTags"?: {
|
|
89
|
+
[key: string]: {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
export declare namespace VulnerabilityAuditSummary {
|
|
95
|
+
function getJsonObj(obj: VulnerabilityAuditSummary): object;
|
|
96
|
+
function getDeserializedJsonObj(obj: VulnerabilityAuditSummary): object;
|
|
97
|
+
}
|