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,61 @@
|
|
|
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
|
+
* Details to create a Vulnerability Audit.
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateVulnerabilityAuditDetails {
|
|
18
|
+
/**
|
|
19
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base.
|
|
20
|
+
*/
|
|
21
|
+
"knowledgeBaseId": string;
|
|
22
|
+
/**
|
|
23
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the compartment associated with the Vulnerability Audit.
|
|
24
|
+
*/
|
|
25
|
+
"compartmentId": string;
|
|
26
|
+
/**
|
|
27
|
+
* List of Application Dependencies (without vulnerabilities).
|
|
28
|
+
*/
|
|
29
|
+
"applicationDependencies": Array<model.ApplicationDependency>;
|
|
30
|
+
/**
|
|
31
|
+
* The type of the build tool.
|
|
32
|
+
*/
|
|
33
|
+
"buildType": string;
|
|
34
|
+
"configuration"?: model.VulnerabilityAuditConfiguration;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the Vulnerability Audit.
|
|
37
|
+
*/
|
|
38
|
+
"displayName"?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
41
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"freeformTags"?: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
49
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"definedTags"?: {
|
|
53
|
+
[key: string]: {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export declare namespace CreateVulnerabilityAuditDetails {
|
|
59
|
+
function getJsonObj(obj: CreateVulnerabilityAuditDetails): object;
|
|
60
|
+
function getDeserializedJsonObj(obj: CreateVulnerabilityAuditDetails): object;
|
|
61
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.CreateVulnerabilityAuditDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CreateVulnerabilityAuditDetails;
|
|
37
|
+
(function (CreateVulnerabilityAuditDetails) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"applicationDependencies": obj.applicationDependencies
|
|
41
|
+
? obj.applicationDependencies.map(item => {
|
|
42
|
+
return model.ApplicationDependency.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"configuration": obj.configuration
|
|
46
|
+
? model.VulnerabilityAuditConfiguration.getJsonObj(obj.configuration)
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
CreateVulnerabilityAuditDetails.getJsonObj = getJsonObj;
|
|
52
|
+
function getDeserializedJsonObj(obj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
"applicationDependencies": obj.applicationDependencies
|
|
55
|
+
? obj.applicationDependencies.map(item => {
|
|
56
|
+
return model.ApplicationDependency.getDeserializedJsonObj(item);
|
|
57
|
+
})
|
|
58
|
+
: undefined,
|
|
59
|
+
"configuration": obj.configuration
|
|
60
|
+
? model.VulnerabilityAuditConfiguration.getDeserializedJsonObj(obj.configuration)
|
|
61
|
+
: undefined
|
|
62
|
+
});
|
|
63
|
+
return jsonObj;
|
|
64
|
+
}
|
|
65
|
+
CreateVulnerabilityAuditDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
66
|
+
})(CreateVulnerabilityAuditDetails = exports.CreateVulnerabilityAuditDetails || (exports.CreateVulnerabilityAuditDetails = {}));
|
|
67
|
+
//# sourceMappingURL=create-vulnerability-audit-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-vulnerability-audit-details.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/create-vulnerability-audit-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA0ClC,IAAiB,+BAA+B,CAqC/C;AArCD,WAAiB,+BAA+B;IAC9C,SAAgB,UAAU,CAAC,GAAoC;QAC7D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,0CAAU,aAiBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoC;QACzE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,yBAAyB,EAAE,GAAG,CAAC,uBAAuB;gBACpD,CAAC,CAAC,GAAG,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrC,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,sDAAsB,yBAiBrC,CAAA;AACH,CAAC,EArCgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAqC/C"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 ActionType from "./action-type";
|
|
14
|
+
export import ActionType = ActionType.ActionType;
|
|
15
|
+
import * as ApplicationDependency from "./application-dependency";
|
|
16
|
+
export import ApplicationDependency = ApplicationDependency.ApplicationDependency;
|
|
17
|
+
import * as ApplicationDependencyVulnerabilityCollection from "./application-dependency-vulnerability-collection";
|
|
18
|
+
export import ApplicationDependencyVulnerabilityCollection = ApplicationDependencyVulnerabilityCollection.ApplicationDependencyVulnerabilityCollection;
|
|
19
|
+
import * as ApplicationDependencyVulnerabilitySummary from "./application-dependency-vulnerability-summary";
|
|
20
|
+
export import ApplicationDependencyVulnerabilitySummary = ApplicationDependencyVulnerabilitySummary.ApplicationDependencyVulnerabilitySummary;
|
|
21
|
+
import * as ChangeKnowledgeBaseCompartmentDetails from "./change-knowledge-base-compartment-details";
|
|
22
|
+
export import ChangeKnowledgeBaseCompartmentDetails = ChangeKnowledgeBaseCompartmentDetails.ChangeKnowledgeBaseCompartmentDetails;
|
|
23
|
+
import * as ChangeVulnerabilityAuditCompartmentDetails from "./change-vulnerability-audit-compartment-details";
|
|
24
|
+
export import ChangeVulnerabilityAuditCompartmentDetails = ChangeVulnerabilityAuditCompartmentDetails.ChangeVulnerabilityAuditCompartmentDetails;
|
|
25
|
+
import * as CreateKnowledgeBaseDetails from "./create-knowledge-base-details";
|
|
26
|
+
export import CreateKnowledgeBaseDetails = CreateKnowledgeBaseDetails.CreateKnowledgeBaseDetails;
|
|
27
|
+
import * as CreateVulnerabilityAuditDetails from "./create-vulnerability-audit-details";
|
|
28
|
+
export import CreateVulnerabilityAuditDetails = CreateVulnerabilityAuditDetails.CreateVulnerabilityAuditDetails;
|
|
29
|
+
import * as KnowledgeBase from "./knowledge-base";
|
|
30
|
+
export import KnowledgeBase = KnowledgeBase.KnowledgeBase;
|
|
31
|
+
import * as KnowledgeBaseCollection from "./knowledge-base-collection";
|
|
32
|
+
export import KnowledgeBaseCollection = KnowledgeBaseCollection.KnowledgeBaseCollection;
|
|
33
|
+
import * as KnowledgeBaseSummary from "./knowledge-base-summary";
|
|
34
|
+
export import KnowledgeBaseSummary = KnowledgeBaseSummary.KnowledgeBaseSummary;
|
|
35
|
+
import * as OperationStatus from "./operation-status";
|
|
36
|
+
export import OperationStatus = OperationStatus.OperationStatus;
|
|
37
|
+
import * as OperationType from "./operation-type";
|
|
38
|
+
export import OperationType = OperationType.OperationType;
|
|
39
|
+
import * as SortOrder from "./sort-order";
|
|
40
|
+
export import SortOrder = SortOrder.SortOrder;
|
|
41
|
+
import * as UpdateKnowledgeBaseDetails from "./update-knowledge-base-details";
|
|
42
|
+
export import UpdateKnowledgeBaseDetails = UpdateKnowledgeBaseDetails.UpdateKnowledgeBaseDetails;
|
|
43
|
+
import * as UpdateVulnerabilityAuditDetails from "./update-vulnerability-audit-details";
|
|
44
|
+
export import UpdateVulnerabilityAuditDetails = UpdateVulnerabilityAuditDetails.UpdateVulnerabilityAuditDetails;
|
|
45
|
+
import * as Vulnerability from "./vulnerability";
|
|
46
|
+
export import Vulnerability = Vulnerability.Vulnerability;
|
|
47
|
+
import * as VulnerabilityAudit from "./vulnerability-audit";
|
|
48
|
+
export import VulnerabilityAudit = VulnerabilityAudit.VulnerabilityAudit;
|
|
49
|
+
import * as VulnerabilityAuditCollection from "./vulnerability-audit-collection";
|
|
50
|
+
export import VulnerabilityAuditCollection = VulnerabilityAuditCollection.VulnerabilityAuditCollection;
|
|
51
|
+
import * as VulnerabilityAuditConfiguration from "./vulnerability-audit-configuration";
|
|
52
|
+
export import VulnerabilityAuditConfiguration = VulnerabilityAuditConfiguration.VulnerabilityAuditConfiguration;
|
|
53
|
+
import * as VulnerabilityAuditSummary from "./vulnerability-audit-summary";
|
|
54
|
+
export import VulnerabilityAuditSummary = VulnerabilityAuditSummary.VulnerabilityAuditSummary;
|
|
55
|
+
import * as WorkRequest from "./work-request";
|
|
56
|
+
export import WorkRequest = WorkRequest.WorkRequest;
|
|
57
|
+
import * as WorkRequestError from "./work-request-error";
|
|
58
|
+
export import WorkRequestError = WorkRequestError.WorkRequestError;
|
|
59
|
+
import * as WorkRequestErrorCollection from "./work-request-error-collection";
|
|
60
|
+
export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection;
|
|
61
|
+
import * as WorkRequestLogEntry from "./work-request-log-entry";
|
|
62
|
+
export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry;
|
|
63
|
+
import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection";
|
|
64
|
+
export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection;
|
|
65
|
+
import * as WorkRequestResource from "./work-request-resource";
|
|
66
|
+
export import WorkRequestResource = WorkRequestResource.WorkRequestResource;
|
|
67
|
+
import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key";
|
|
68
|
+
export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey;
|
|
69
|
+
import * as WorkRequestSummary from "./work-request-summary";
|
|
70
|
+
export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
|
|
71
|
+
import * as WorkRequestSummaryCollection from "./work-request-summary-collection";
|
|
72
|
+
export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
|
|
@@ -0,0 +1,95 @@
|
|
|
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.WorkRequestSummaryCollection = exports.WorkRequestSummary = exports.WorkRequestResourceMetadataKey = exports.WorkRequestResource = exports.WorkRequestLogEntryCollection = exports.WorkRequestLogEntry = exports.WorkRequestErrorCollection = exports.WorkRequestError = exports.WorkRequest = exports.VulnerabilityAuditSummary = exports.VulnerabilityAuditConfiguration = exports.VulnerabilityAuditCollection = exports.VulnerabilityAudit = exports.Vulnerability = exports.UpdateVulnerabilityAuditDetails = exports.UpdateKnowledgeBaseDetails = exports.SortOrder = exports.OperationType = exports.OperationStatus = exports.KnowledgeBaseSummary = exports.KnowledgeBaseCollection = exports.KnowledgeBase = exports.CreateVulnerabilityAuditDetails = exports.CreateKnowledgeBaseDetails = exports.ChangeVulnerabilityAuditCompartmentDetails = exports.ChangeKnowledgeBaseCompartmentDetails = exports.ApplicationDependencyVulnerabilitySummary = exports.ApplicationDependencyVulnerabilityCollection = exports.ApplicationDependency = exports.ActionType = void 0;
|
|
35
|
+
const ActionType = __importStar(require("./action-type"));
|
|
36
|
+
exports.ActionType = ActionType.ActionType;
|
|
37
|
+
const ApplicationDependency = __importStar(require("./application-dependency"));
|
|
38
|
+
exports.ApplicationDependency = ApplicationDependency.ApplicationDependency;
|
|
39
|
+
const ApplicationDependencyVulnerabilityCollection = __importStar(require("./application-dependency-vulnerability-collection"));
|
|
40
|
+
exports.ApplicationDependencyVulnerabilityCollection = ApplicationDependencyVulnerabilityCollection.ApplicationDependencyVulnerabilityCollection;
|
|
41
|
+
const ApplicationDependencyVulnerabilitySummary = __importStar(require("./application-dependency-vulnerability-summary"));
|
|
42
|
+
exports.ApplicationDependencyVulnerabilitySummary = ApplicationDependencyVulnerabilitySummary.ApplicationDependencyVulnerabilitySummary;
|
|
43
|
+
const ChangeKnowledgeBaseCompartmentDetails = __importStar(require("./change-knowledge-base-compartment-details"));
|
|
44
|
+
exports.ChangeKnowledgeBaseCompartmentDetails = ChangeKnowledgeBaseCompartmentDetails.ChangeKnowledgeBaseCompartmentDetails;
|
|
45
|
+
const ChangeVulnerabilityAuditCompartmentDetails = __importStar(require("./change-vulnerability-audit-compartment-details"));
|
|
46
|
+
exports.ChangeVulnerabilityAuditCompartmentDetails = ChangeVulnerabilityAuditCompartmentDetails.ChangeVulnerabilityAuditCompartmentDetails;
|
|
47
|
+
const CreateKnowledgeBaseDetails = __importStar(require("./create-knowledge-base-details"));
|
|
48
|
+
exports.CreateKnowledgeBaseDetails = CreateKnowledgeBaseDetails.CreateKnowledgeBaseDetails;
|
|
49
|
+
const CreateVulnerabilityAuditDetails = __importStar(require("./create-vulnerability-audit-details"));
|
|
50
|
+
exports.CreateVulnerabilityAuditDetails = CreateVulnerabilityAuditDetails.CreateVulnerabilityAuditDetails;
|
|
51
|
+
const KnowledgeBase = __importStar(require("./knowledge-base"));
|
|
52
|
+
exports.KnowledgeBase = KnowledgeBase.KnowledgeBase;
|
|
53
|
+
const KnowledgeBaseCollection = __importStar(require("./knowledge-base-collection"));
|
|
54
|
+
exports.KnowledgeBaseCollection = KnowledgeBaseCollection.KnowledgeBaseCollection;
|
|
55
|
+
const KnowledgeBaseSummary = __importStar(require("./knowledge-base-summary"));
|
|
56
|
+
exports.KnowledgeBaseSummary = KnowledgeBaseSummary.KnowledgeBaseSummary;
|
|
57
|
+
const OperationStatus = __importStar(require("./operation-status"));
|
|
58
|
+
exports.OperationStatus = OperationStatus.OperationStatus;
|
|
59
|
+
const OperationType = __importStar(require("./operation-type"));
|
|
60
|
+
exports.OperationType = OperationType.OperationType;
|
|
61
|
+
const SortOrder = __importStar(require("./sort-order"));
|
|
62
|
+
exports.SortOrder = SortOrder.SortOrder;
|
|
63
|
+
const UpdateKnowledgeBaseDetails = __importStar(require("./update-knowledge-base-details"));
|
|
64
|
+
exports.UpdateKnowledgeBaseDetails = UpdateKnowledgeBaseDetails.UpdateKnowledgeBaseDetails;
|
|
65
|
+
const UpdateVulnerabilityAuditDetails = __importStar(require("./update-vulnerability-audit-details"));
|
|
66
|
+
exports.UpdateVulnerabilityAuditDetails = UpdateVulnerabilityAuditDetails.UpdateVulnerabilityAuditDetails;
|
|
67
|
+
const Vulnerability = __importStar(require("./vulnerability"));
|
|
68
|
+
exports.Vulnerability = Vulnerability.Vulnerability;
|
|
69
|
+
const VulnerabilityAudit = __importStar(require("./vulnerability-audit"));
|
|
70
|
+
exports.VulnerabilityAudit = VulnerabilityAudit.VulnerabilityAudit;
|
|
71
|
+
const VulnerabilityAuditCollection = __importStar(require("./vulnerability-audit-collection"));
|
|
72
|
+
exports.VulnerabilityAuditCollection = VulnerabilityAuditCollection.VulnerabilityAuditCollection;
|
|
73
|
+
const VulnerabilityAuditConfiguration = __importStar(require("./vulnerability-audit-configuration"));
|
|
74
|
+
exports.VulnerabilityAuditConfiguration = VulnerabilityAuditConfiguration.VulnerabilityAuditConfiguration;
|
|
75
|
+
const VulnerabilityAuditSummary = __importStar(require("./vulnerability-audit-summary"));
|
|
76
|
+
exports.VulnerabilityAuditSummary = VulnerabilityAuditSummary.VulnerabilityAuditSummary;
|
|
77
|
+
const WorkRequest = __importStar(require("./work-request"));
|
|
78
|
+
exports.WorkRequest = WorkRequest.WorkRequest;
|
|
79
|
+
const WorkRequestError = __importStar(require("./work-request-error"));
|
|
80
|
+
exports.WorkRequestError = WorkRequestError.WorkRequestError;
|
|
81
|
+
const WorkRequestErrorCollection = __importStar(require("./work-request-error-collection"));
|
|
82
|
+
exports.WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection;
|
|
83
|
+
const WorkRequestLogEntry = __importStar(require("./work-request-log-entry"));
|
|
84
|
+
exports.WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry;
|
|
85
|
+
const WorkRequestLogEntryCollection = __importStar(require("./work-request-log-entry-collection"));
|
|
86
|
+
exports.WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection;
|
|
87
|
+
const WorkRequestResource = __importStar(require("./work-request-resource"));
|
|
88
|
+
exports.WorkRequestResource = WorkRequestResource.WorkRequestResource;
|
|
89
|
+
const WorkRequestResourceMetadataKey = __importStar(require("./work-request-resource-metadata-key"));
|
|
90
|
+
exports.WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey;
|
|
91
|
+
const WorkRequestSummary = __importStar(require("./work-request-summary"));
|
|
92
|
+
exports.WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
|
|
93
|
+
const WorkRequestSummaryCollection = __importStar(require("./work-request-summary-collection"));
|
|
94
|
+
exports.WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
|
|
95
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,gFAAkE;AACpD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,gIAAkH;AACpG,QAAA,4CAA4C,GAAG,4CAA4C,CAAC,4CAA4C,CAAC;AACvJ,0HAA4G;AAC9F,QAAA,yCAAyC,GAAG,yCAAyC,CAAC,yCAAyC,CAAC;AAC9I,mHAAqG;AACvF,QAAA,qCAAqC,GAAG,qCAAqC,CAAC,qCAAqC,CAAC;AAClI,6HAA+G;AACjG,QAAA,0CAA0C,GAAG,0CAA0C,CAAC,0CAA0C,CAAC;AACjJ,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,sGAAwF;AAC1E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,qFAAuE;AACzD,QAAA,uBAAuB,GAAG,uBAAuB,CAAC,uBAAuB,CAAC;AACxF,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,gEAAkD;AACpC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,wDAA0C;AAC5B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,sGAAwF;AAC1E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,+DAAiD;AACnC,QAAA,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;AAC1D,0EAA4D;AAC9C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,+FAAiF;AACnE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,qGAAuF;AACzE,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,yFAA2E;AAC7D,QAAA,yBAAyB,GAAG,yBAAyB,CAAC,yBAAyB,CAAC;AAC9F,4DAA8C;AAChC,QAAA,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC;AACpD,uEAAyD;AAC3C,QAAA,gBAAgB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC;AACnE,4FAA8E;AAChE,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,8EAAgE;AAClD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,mGAAqF;AACvE,QAAA,6BAA6B,GAAG,6BAA6B,CAAC,6BAA6B,CAAC;AAC1G,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,qGAAuF;AACzE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,2EAA6D;AAC/C,QAAA,kBAAkB,GAAG,kBAAkB,CAAC,kBAAkB,CAAC;AACzE,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC"}
|
|
@@ -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 Knowledge Base summaries.
|
|
16
|
+
*/
|
|
17
|
+
export interface KnowledgeBaseCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of Knowledge Base summaries.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.KnowledgeBaseSummary>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace KnowledgeBaseCollection {
|
|
24
|
+
function getJsonObj(obj: KnowledgeBaseCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: KnowledgeBaseCollection): 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.KnowledgeBaseCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var KnowledgeBaseCollection;
|
|
37
|
+
(function (KnowledgeBaseCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.KnowledgeBaseSummary.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
KnowledgeBaseCollection.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.KnowledgeBaseSummary.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
KnowledgeBaseCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(KnowledgeBaseCollection = exports.KnowledgeBaseCollection || (exports.KnowledgeBaseCollection = {}));
|
|
61
|
+
//# sourceMappingURL=knowledge-base-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knowledge-base-collection.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/knowledge-base-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,uBAAuB,CA6BvC;AA7BD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,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,oBAAoB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACrD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,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,oBAAoB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACjE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,8CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QA6BvC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
* The summary of a Knowledge Base.
|
|
15
|
+
*/
|
|
16
|
+
export interface KnowledgeBaseSummary {
|
|
17
|
+
/**
|
|
18
|
+
* The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base.
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the Knowledge Base.
|
|
23
|
+
*/
|
|
24
|
+
"displayName": string;
|
|
25
|
+
/**
|
|
26
|
+
* The creation date and time of the Knowledge Base (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
27
|
+
*/
|
|
28
|
+
"timeCreated": Date;
|
|
29
|
+
/**
|
|
30
|
+
* The date and time the Knowledge Base was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
31
|
+
*/
|
|
32
|
+
"timeUpdated": Date;
|
|
33
|
+
/**
|
|
34
|
+
* The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base's compartment.
|
|
35
|
+
*/
|
|
36
|
+
"compartmentId": string;
|
|
37
|
+
/**
|
|
38
|
+
* The current lifecycle state of the Knowledge Base.
|
|
39
|
+
*/
|
|
40
|
+
"lifecycleState": string;
|
|
41
|
+
/**
|
|
42
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
43
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
"freeformTags": {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
51
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
"definedTags": {
|
|
55
|
+
[key: string]: {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
61
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
"systemTags"?: {
|
|
65
|
+
[key: string]: {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export declare namespace KnowledgeBaseSummary {
|
|
71
|
+
function getJsonObj(obj: KnowledgeBaseSummary): object;
|
|
72
|
+
function getDeserializedJsonObj(obj: KnowledgeBaseSummary): object;
|
|
73
|
+
}
|
|
@@ -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.KnowledgeBaseSummary = void 0;
|
|
16
|
+
var KnowledgeBaseSummary;
|
|
17
|
+
(function (KnowledgeBaseSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
KnowledgeBaseSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
KnowledgeBaseSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(KnowledgeBaseSummary = exports.KnowledgeBaseSummary || (exports.KnowledgeBaseSummary = {}));
|
|
29
|
+
//# sourceMappingURL=knowledge-base-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knowledge-base-summary.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/knowledge-base-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAqDH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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
|
+
* A Knowledge Base is a component of Application Dependency Management that contains vulnerability audits.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface KnowledgeBase {
|
|
18
|
+
/**
|
|
19
|
+
* The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base.
|
|
20
|
+
*/
|
|
21
|
+
"id": string;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the Knowledge Base.
|
|
24
|
+
*/
|
|
25
|
+
"displayName": string;
|
|
26
|
+
/**
|
|
27
|
+
* The creation date and time of the Knowledge Base (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
28
|
+
*/
|
|
29
|
+
"timeCreated": Date;
|
|
30
|
+
/**
|
|
31
|
+
* The date and time the Knowledge Base was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
32
|
+
*/
|
|
33
|
+
"timeUpdated": Date;
|
|
34
|
+
/**
|
|
35
|
+
* The current lifecycle state of the Knowledge Base.
|
|
36
|
+
*/
|
|
37
|
+
"lifecycleState": KnowledgeBase.LifecycleState;
|
|
38
|
+
/**
|
|
39
|
+
* The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base's compartment.
|
|
40
|
+
*/
|
|
41
|
+
"compartmentId": string;
|
|
42
|
+
/**
|
|
43
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
44
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
"freeformTags": {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
52
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
"definedTags": {
|
|
56
|
+
[key: string]: {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
62
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
"systemTags"?: {
|
|
66
|
+
[key: string]: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export declare namespace KnowledgeBase {
|
|
72
|
+
enum LifecycleState {
|
|
73
|
+
Creating = "CREATING",
|
|
74
|
+
Active = "ACTIVE",
|
|
75
|
+
Updating = "UPDATING",
|
|
76
|
+
Failed = "FAILED",
|
|
77
|
+
Deleting = "DELETING",
|
|
78
|
+
Deleted = "DELETED",
|
|
79
|
+
/**
|
|
80
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
81
|
+
* version of the SDK.
|
|
82
|
+
*/
|
|
83
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
84
|
+
}
|
|
85
|
+
function getJsonObj(obj: KnowledgeBase): object;
|
|
86
|
+
function getDeserializedJsonObj(obj: KnowledgeBase): object;
|
|
87
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.KnowledgeBase = void 0;
|
|
16
|
+
var KnowledgeBase;
|
|
17
|
+
(function (KnowledgeBase) {
|
|
18
|
+
let LifecycleState;
|
|
19
|
+
(function (LifecycleState) {
|
|
20
|
+
LifecycleState["Creating"] = "CREATING";
|
|
21
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
22
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
23
|
+
LifecycleState["Failed"] = "FAILED";
|
|
24
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
25
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
26
|
+
/**
|
|
27
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
|
+
* version of the SDK.
|
|
29
|
+
*/
|
|
30
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
31
|
+
})(LifecycleState = KnowledgeBase.LifecycleState || (KnowledgeBase.LifecycleState = {}));
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
34
|
+
return jsonObj;
|
|
35
|
+
}
|
|
36
|
+
KnowledgeBase.getJsonObj = getJsonObj;
|
|
37
|
+
function getDeserializedJsonObj(obj) {
|
|
38
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
39
|
+
return jsonObj;
|
|
40
|
+
}
|
|
41
|
+
KnowledgeBase.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
42
|
+
})(KnowledgeBase = exports.KnowledgeBase || (exports.KnowledgeBase = {}));
|
|
43
|
+
//# sourceMappingURL=knowledge-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knowledge-base.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/knowledge-base.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAsDH,IAAiB,aAAa,CAyB7B;AAzBD,WAAiB,aAAa;IAC5B,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,4BAAc,KAAd,4BAAc,QAYzB;IAED,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAsB,yBAIrC,CAAA;AACH,CAAC,EAzBgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAyB7B"}
|