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,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.VulnerabilityAuditSummary = void 0;
|
|
16
|
+
var VulnerabilityAuditSummary;
|
|
17
|
+
(function (VulnerabilityAuditSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
VulnerabilityAuditSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
VulnerabilityAuditSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(VulnerabilityAuditSummary = exports.VulnerabilityAuditSummary || (exports.VulnerabilityAuditSummary = {}));
|
|
29
|
+
//# sourceMappingURL=vulnerability-audit-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vulnerability-audit-summary.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/vulnerability-audit-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6EH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
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
|
+
* A Vulnerability Audit associates the Application Dependencies of a project with their associated vulnerabilities.
|
|
16
|
+
* Each Vulnerability is associated with a score (Common Vulnerability Scoring System V2 or V3).
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface VulnerabilityAudit {
|
|
20
|
+
/**
|
|
21
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Vulnerability Audit.
|
|
22
|
+
*/
|
|
23
|
+
"id": string;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the Vulnerability Audit.
|
|
26
|
+
*/
|
|
27
|
+
"displayName"?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base.
|
|
30
|
+
*/
|
|
31
|
+
"knowledgeBaseId": string;
|
|
32
|
+
/**
|
|
33
|
+
* The creation date and time of the Vulnerability Audit (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
34
|
+
*/
|
|
35
|
+
"timeCreated": Date;
|
|
36
|
+
/**
|
|
37
|
+
* The update date and time of the Vulnerability Audit (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
|
|
38
|
+
*/
|
|
39
|
+
"timeUpdated": Date;
|
|
40
|
+
/**
|
|
41
|
+
* The current lifecycle state of the Vulnerability Audit.
|
|
42
|
+
*/
|
|
43
|
+
"lifecycleState": VulnerabilityAudit.LifecycleState;
|
|
44
|
+
/**
|
|
45
|
+
* List of vulnerabilities found in the Vulnerability Audit.
|
|
46
|
+
*/
|
|
47
|
+
"vulnerabilities": Array<model.Vulnerability>;
|
|
48
|
+
/**
|
|
49
|
+
* Maximum Common Vulnerability Scoring System Version 2 score of vulnerabilities. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
50
|
+
*/
|
|
51
|
+
"maxObservedCvssV2Score": number;
|
|
52
|
+
/**
|
|
53
|
+
* Maximum Common Vulnerability Scoring System Version 3 score of vulnerabilities. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
54
|
+
*/
|
|
55
|
+
"maxObservedCvssV3Score": number;
|
|
56
|
+
/**
|
|
57
|
+
* Count of vulnerable artifacts. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
58
|
+
*/
|
|
59
|
+
"vulnerableArtifactsCount": number;
|
|
60
|
+
"configuration"?: model.VulnerabilityAuditConfiguration;
|
|
61
|
+
/**
|
|
62
|
+
* Indicates if an audit succeeded according to the configuration. The value is `null` if the audit is in the `CREATING` state.
|
|
63
|
+
*/
|
|
64
|
+
"isSuccess"?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* The type of the build tool.
|
|
67
|
+
*/
|
|
68
|
+
"buildType": VulnerabilityAudit.BuildType;
|
|
69
|
+
/**
|
|
70
|
+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the compartment associated with the Vulnerability Audit.
|
|
71
|
+
*/
|
|
72
|
+
"compartmentId": string;
|
|
73
|
+
/**
|
|
74
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
75
|
+
* Example: `{\"bar-key\": \"value\"}`
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
"freeformTags"?: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
83
|
+
* Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
"definedTags"?: {
|
|
87
|
+
[key: string]: {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Usage of system tag keys. These predefined keys are scoped to namespaces.
|
|
93
|
+
* Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
"systemTags"?: {
|
|
97
|
+
[key: string]: {
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export declare namespace VulnerabilityAudit {
|
|
103
|
+
enum LifecycleState {
|
|
104
|
+
Active = "ACTIVE",
|
|
105
|
+
Creating = "CREATING",
|
|
106
|
+
Deleted = "DELETED",
|
|
107
|
+
Deleting = "DELETING",
|
|
108
|
+
Failed = "FAILED",
|
|
109
|
+
/**
|
|
110
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
111
|
+
* version of the SDK.
|
|
112
|
+
*/
|
|
113
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
114
|
+
}
|
|
115
|
+
enum BuildType {
|
|
116
|
+
Maven = "MAVEN",
|
|
117
|
+
/**
|
|
118
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
119
|
+
* version of the SDK.
|
|
120
|
+
*/
|
|
121
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
122
|
+
}
|
|
123
|
+
function getJsonObj(obj: VulnerabilityAudit): object;
|
|
124
|
+
function getDeserializedJsonObj(obj: VulnerabilityAudit): object;
|
|
125
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.VulnerabilityAudit = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var VulnerabilityAudit;
|
|
37
|
+
(function (VulnerabilityAudit) {
|
|
38
|
+
let LifecycleState;
|
|
39
|
+
(function (LifecycleState) {
|
|
40
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
41
|
+
LifecycleState["Creating"] = "CREATING";
|
|
42
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
43
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
44
|
+
LifecycleState["Failed"] = "FAILED";
|
|
45
|
+
/**
|
|
46
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
47
|
+
* version of the SDK.
|
|
48
|
+
*/
|
|
49
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
50
|
+
})(LifecycleState = VulnerabilityAudit.LifecycleState || (VulnerabilityAudit.LifecycleState = {}));
|
|
51
|
+
let BuildType;
|
|
52
|
+
(function (BuildType) {
|
|
53
|
+
BuildType["Maven"] = "MAVEN";
|
|
54
|
+
/**
|
|
55
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
56
|
+
* version of the SDK.
|
|
57
|
+
*/
|
|
58
|
+
BuildType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
59
|
+
})(BuildType = VulnerabilityAudit.BuildType || (VulnerabilityAudit.BuildType = {}));
|
|
60
|
+
function getJsonObj(obj) {
|
|
61
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
62
|
+
"vulnerabilities": obj.vulnerabilities
|
|
63
|
+
? obj.vulnerabilities.map(item => {
|
|
64
|
+
return model.Vulnerability.getJsonObj(item);
|
|
65
|
+
})
|
|
66
|
+
: undefined,
|
|
67
|
+
"configuration": obj.configuration
|
|
68
|
+
? model.VulnerabilityAuditConfiguration.getJsonObj(obj.configuration)
|
|
69
|
+
: undefined
|
|
70
|
+
});
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
VulnerabilityAudit.getJsonObj = getJsonObj;
|
|
74
|
+
function getDeserializedJsonObj(obj) {
|
|
75
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
76
|
+
"vulnerabilities": obj.vulnerabilities
|
|
77
|
+
? obj.vulnerabilities.map(item => {
|
|
78
|
+
return model.Vulnerability.getDeserializedJsonObj(item);
|
|
79
|
+
})
|
|
80
|
+
: undefined,
|
|
81
|
+
"configuration": obj.configuration
|
|
82
|
+
? model.VulnerabilityAuditConfiguration.getDeserializedJsonObj(obj.configuration)
|
|
83
|
+
: undefined
|
|
84
|
+
});
|
|
85
|
+
return jsonObj;
|
|
86
|
+
}
|
|
87
|
+
VulnerabilityAudit.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
88
|
+
})(VulnerabilityAudit = exports.VulnerabilityAudit || (exports.VulnerabilityAudit = {}));
|
|
89
|
+
//# sourceMappingURL=vulnerability-audit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vulnerability-audit.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/vulnerability-audit.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkFlC,IAAiB,kBAAkB,CA2DlC;AA3DD,WAAiB,kBAAkB;IACjC,IAAY,cAWX;IAXD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAXW,cAAc,GAAd,iCAAc,KAAd,iCAAc,QAWzB;IAED,IAAY,SAOX;IAPD,WAAY,SAAS;QACnB,4BAAe,CAAA;QACf;;;WAGG;QACH,2CAA8B,CAAA;IAChC,CAAC,EAPW,SAAS,GAAT,4BAAS,KAAT,4BAAS,QAOpB;IAED,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC9C,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,6BAAU,aAiBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC7B,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC1D,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,yCAAsB,yBAiBrC,CAAA;AACH,CAAC,EA3DgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA2DlC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 vulnerability is a weakness or error in an artifact.
|
|
15
|
+
* A vulnerability is a generalization of a CVE (every CVE is a vulnerability, but not every vulnerability has a CVE).
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface Vulnerability {
|
|
19
|
+
/**
|
|
20
|
+
* Unique vulnerability identifier.
|
|
21
|
+
*/
|
|
22
|
+
"id": string;
|
|
23
|
+
/**
|
|
24
|
+
* Common Vulnerability Scoring System (CVSS) Version 2. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
25
|
+
*/
|
|
26
|
+
"cvssV2Score": number;
|
|
27
|
+
/**
|
|
28
|
+
* Common Vulnerability Scoring System (CVSS) Version 3. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
29
|
+
*/
|
|
30
|
+
"cvssV3Score": number;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates if the vulnerability was ignored according to the audit configuration.
|
|
33
|
+
*/
|
|
34
|
+
"isIgnored": boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace Vulnerability {
|
|
37
|
+
function getJsonObj(obj: Vulnerability): object;
|
|
38
|
+
function getDeserializedJsonObj(obj: Vulnerability): object;
|
|
39
|
+
}
|
|
@@ -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.Vulnerability = void 0;
|
|
16
|
+
var Vulnerability;
|
|
17
|
+
(function (Vulnerability) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
Vulnerability.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
Vulnerability.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(Vulnerability = exports.Vulnerability || (exports.Vulnerability = {}));
|
|
29
|
+
//# sourceMappingURL=vulnerability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vulnerability.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/vulnerability.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6BH,IAAiB,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAC5B,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,EAXgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAW7B"}
|
|
@@ -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
|
+
* Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequestErrorCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of workRequestError objects.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.WorkRequestError>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace WorkRequestErrorCollection {
|
|
24
|
+
function getJsonObj(obj: WorkRequestErrorCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: WorkRequestErrorCollection): 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.WorkRequestErrorCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequestErrorCollection;
|
|
37
|
+
(function (WorkRequestErrorCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.WorkRequestError.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequestErrorCollection.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.WorkRequestError.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequestErrorCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequestErrorCollection = exports.WorkRequestErrorCollection || (exports.WorkRequestErrorCollection = {}));
|
|
61
|
+
//# sourceMappingURL=work-request-error-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-error-collection.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/work-request-error-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,0BAA0B,CA6B1C;AA7BD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,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,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,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,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6B1C"}
|
|
@@ -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
|
+
* An error encountered while executing a work request.
|
|
15
|
+
*/
|
|
16
|
+
export interface WorkRequestError {
|
|
17
|
+
/**
|
|
18
|
+
* A machine-usable code for the error that occured. Error codes are listed on
|
|
19
|
+
* (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
"code": string;
|
|
23
|
+
/**
|
|
24
|
+
* A human readable description of the issue encountered.
|
|
25
|
+
*/
|
|
26
|
+
"message": string;
|
|
27
|
+
/**
|
|
28
|
+
* The time the error occured. An RFC3339 formatted datetime string.
|
|
29
|
+
*/
|
|
30
|
+
"timestamp": Date;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace WorkRequestError {
|
|
33
|
+
function getJsonObj(obj: WorkRequestError): object;
|
|
34
|
+
function getDeserializedJsonObj(obj: WorkRequestError): 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.WorkRequestError = void 0;
|
|
16
|
+
var WorkRequestError;
|
|
17
|
+
(function (WorkRequestError) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
WorkRequestError.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
WorkRequestError.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(WorkRequestError = exports.WorkRequestError || (exports.WorkRequestError = {}));
|
|
29
|
+
//# sourceMappingURL=work-request-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-error.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/work-request-error.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAyBH,IAAiB,gBAAgB,CAWhC;AAXD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAWhC"}
|
|
@@ -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
|
+
* Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
|
|
16
|
+
*/
|
|
17
|
+
export interface WorkRequestLogEntryCollection {
|
|
18
|
+
/**
|
|
19
|
+
* List of workRequestLogEntries.
|
|
20
|
+
*/
|
|
21
|
+
"items": Array<model.WorkRequestLogEntry>;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace WorkRequestLogEntryCollection {
|
|
24
|
+
function getJsonObj(obj: WorkRequestLogEntryCollection): object;
|
|
25
|
+
function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): 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.WorkRequestLogEntryCollection = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var WorkRequestLogEntryCollection;
|
|
37
|
+
(function (WorkRequestLogEntryCollection) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"items": obj.items
|
|
41
|
+
? obj.items.map(item => {
|
|
42
|
+
return model.WorkRequestLogEntry.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
WorkRequestLogEntryCollection.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.WorkRequestLogEntry.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
57
|
+
return jsonObj;
|
|
58
|
+
}
|
|
59
|
+
WorkRequestLogEntryCollection.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
60
|
+
})(WorkRequestLogEntryCollection = exports.WorkRequestLogEntryCollection || (exports.WorkRequestLogEntryCollection = {}));
|
|
61
|
+
//# sourceMappingURL=work-request-log-entry-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-log-entry-collection.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/work-request-log-entry-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,6BAA6B,CA6B7C;AA7BD,WAAiB,6BAA6B;IAC5C,SAAgB,UAAU,CAAC,GAAkC;QAC3D,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,mBAAmB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,wCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkC;QACvE,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,mBAAmB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,oDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QA6B7C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 log message from the execution of a work request.
|
|
15
|
+
*/
|
|
16
|
+
export interface WorkRequestLogEntry {
|
|
17
|
+
/**
|
|
18
|
+
* Human-readable log message.
|
|
19
|
+
*/
|
|
20
|
+
"message": string;
|
|
21
|
+
/**
|
|
22
|
+
* The time the log message was written. An RFC3339 formatted datetime string
|
|
23
|
+
*/
|
|
24
|
+
"timestamp": Date;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace WorkRequestLogEntry {
|
|
27
|
+
function getJsonObj(obj: WorkRequestLogEntry): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: WorkRequestLogEntry): object;
|
|
29
|
+
}
|
|
@@ -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.WorkRequestLogEntry = void 0;
|
|
16
|
+
var WorkRequestLogEntry;
|
|
17
|
+
(function (WorkRequestLogEntry) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
WorkRequestLogEntry.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
WorkRequestLogEntry.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(WorkRequestLogEntry = exports.WorkRequestLogEntry || (exports.WorkRequestLogEntry = {}));
|
|
29
|
+
//# sourceMappingURL=work-request-log-entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-request-log-entry.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/work-request-log-entry.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,mBAAmB,CAWnC;AAXD,WAAiB,mBAAmB;IAClC,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAWnC"}
|