Skip to content

Commit c6383b7

Browse files
Releasing version 2.48.0
1 parent 72de7d0 commit c6383b7

File tree

227 files changed

+2530
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+2530
-242
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/).
55

6+
## 2.48.0 - 2022-11-08
7+
### Added
8+
- Support for listing local and cross-region refreshable clones in the Database service
9+
- Support for adding multiple cloud VM clusters in the Database service
10+
- Support for creating rollback jobs in the Resource Manager service
11+
- Support for edge nodes in the Big Data service
12+
- Support for Single Client Access Name (SCAN) in the Data Flow service
13+
- Support for additional filters when listing application dependencies in the Application Dependency Management service
14+
- Support for additional properties when reading Vulnerability Audit resources in the Application Dependency Management service
15+
- Support for optionally passing compartment IDs when creating Vulnerability Audit resources in the Application Dependency Management service
16+
17+
### Breaking Changes
18+
- The property `certificateId` is changed from optional to required in the `PrivateServerConfigDetails` model in Resource Manager service
19+
20+
621
## 2.47.0 - 2022-11-01
722
### Added
823
- Support for cloning from a backup from the last available timestamp in the Database service

lib/adm/lib/client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,8 @@ export class ApplicationDependencyManagementClient {
956956
"page": listApplicationDependencyVulnerabilitiesRequest.page,
957957
"sortOrder": listApplicationDependencyVulnerabilitiesRequest.sortOrder,
958958
"sortBy": listApplicationDependencyVulnerabilitiesRequest.sortBy,
959+
"rootNodeId": listApplicationDependencyVulnerabilitiesRequest.rootNodeId,
960+
"depth": listApplicationDependencyVulnerabilitiesRequest.depth,
959961
"gav": listApplicationDependencyVulnerabilitiesRequest.gav
960962
};
961963

lib/adm/lib/model/application-dependency-vulnerability-collection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import common = require("oci-common");
1616

1717
/**
1818
* Application Dependencies with Vulnerabilities.
19-
* This resource is defined by a list of Application Dependencies with are associated with eventual Vulnerabilities.
19+
* This resource is defined by a list of Application Dependencies that are associated with eventual Vulnerabilities.
2020
*
2121
*/
2222
export interface ApplicationDependencyVulnerabilityCollection {

lib/adm/lib/model/application-dependency-vulnerability-summary.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ import * as model from "../model";
1515
import common = require("oci-common");
1616

1717
/**
18-
* An Application Dependency Vulnerability represents a single dependency in our application.
18+
* An Application Dependency Vulnerability represents a single dependency in the application.
1919
* An Application Dependency Vulnerability can be associated with eventual Vulnerabilities.
20-
* Each Application Dependency is uniquely defined by a nodeId and lists eventual dependencies that this element depends on.
20+
* Each Application Dependency is uniquely defined by a nodeId and lists eventual dependencies on which it depends.
2121
*
2222
*/
2323
export interface ApplicationDependencyVulnerabilitySummary {
2424
/**
25-
* Unique Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.
25+
* Group Artifact Version (GAV) identifier (Group:Artifact:Version), for example org.graalvm.nativeimage:svm:21.1.0.
2626
*/
2727
"gav": string;
2828
/**
29-
* Unique identifier of an Application Dependency node, e.g. nodeId1.
29+
* Unique identifier of an Application Dependency, for example nodeId1.
3030
*/
3131
"nodeId": string;
3232
/**
33-
* List of (Application Dependencies) node identifiers on which this node depends.
33+
* List of Application Dependencies on which this Application Dependency depends, each identified by its nodeId.
3434
*/
3535
"applicationDependencyNodeIds": Array<string>;
3636
/**

lib/adm/lib/model/application-dependency.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,26 @@ import common = require("oci-common");
1919
*/
2020
export interface ApplicationDependency {
2121
/**
22-
* Unique Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.
22+
* Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.
2323
*/
2424
"gav": string;
2525
/**
26-
* Unique identifier of an Application Dependency node, e.g. nodeId1.
26+
* Unique identifier of an Application Dependency, for example nodeId1.
27+
* The nodeId can be generated by assigning a unique id to each application dependency
28+
* in the tree of application dependencies.
29+
* Every node, even those who share the same GAV, should have a different nodeId.
30+
* The preferred way of constructing a nodeId is to assign incremental integers
31+
* during a breadth first or depth first search.
32+
* A nodeId can be reused only it refers to the same subtree of application dependencies.
33+
* (This is not equivalent to referring to the same GAV, that is,
34+
* a GAV can have multiple transitive dependencies.)
35+
*
2736
*/
2837
"nodeId": string;
2938
/**
30-
* List of (Application Dependencies) node identifiers on which this node depends.
39+
* List of Application Dependencies on which this Application Dependency depends, each identified by its nodeId.
3140
*/
32-
"applicationDependencyNodeIds": Array<string>;
41+
"applicationDependencyNodeIds"?: Array<string>;
3342
}
3443

3544
export namespace ApplicationDependency {

lib/adm/lib/model/create-vulnerability-audit-details.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ export interface CreateVulnerabilityAuditDetails {
2424
"knowledgeBaseId": string;
2525
/**
2626
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the compartment associated with the Vulnerability Audit.
27+
* If compartment identifier is not provided the compartment of the associated Knowledge Base will be used instead.
28+
*
2729
*/
28-
"compartmentId": string;
30+
"compartmentId"?: string;
2931
/**
3032
* List of Application Dependencies (without vulnerabilities).
3133
*/
32-
"applicationDependencies": Array<model.ApplicationDependency>;
34+
"applicationDependencies"?: Array<model.ApplicationDependency>;
3335
/**
3436
* The type of the build tool.
3537
*/
@@ -39,6 +41,10 @@ export interface CreateVulnerabilityAuditDetails {
3941
* The name of the Vulnerability Audit.
4042
*/
4143
"displayName"?: string;
44+
"source"?:
45+
| model.UnknownSourceVulnerabilityAuditSource
46+
| model.OciResourceVulnerabilityAuditSource
47+
| model.ExternalResourceVulnerabilityAuditSource;
4248
/**
4349
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
4450
* Example: `{\"bar-key\": \"value\"}`
@@ -66,7 +72,9 @@ export namespace CreateVulnerabilityAuditDetails {
6672

6773
"configuration": obj.configuration
6874
? model.VulnerabilityAuditConfiguration.getJsonObj(obj.configuration)
69-
: undefined
75+
: undefined,
76+
77+
"source": obj.source ? model.VulnerabilityAuditSource.getJsonObj(obj.source) : undefined
7078
}
7179
};
7280

@@ -84,6 +92,10 @@ export namespace CreateVulnerabilityAuditDetails {
8492

8593
"configuration": obj.configuration
8694
? model.VulnerabilityAuditConfiguration.getDeserializedJsonObj(obj.configuration)
95+
: undefined,
96+
97+
"source": obj.source
98+
? model.VulnerabilityAuditSource.getDeserializedJsonObj(obj.source)
8799
: undefined
88100
}
89101
};
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/**
2+
* Application Dependency Management API
3+
* Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
4+
* OpenAPI spec version: 20220421
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 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+
import * as model from "../model";
15+
import common = require("oci-common");
16+
17+
/**
18+
* External source for the Vulnerability Audit.
19+
*/
20+
export interface ExternalResourceVulnerabilityAuditSource extends model.VulnerabilityAuditSource {
21+
/**
22+
* Description of the external resource source.
23+
*/
24+
"description"?: string;
25+
26+
"type": string;
27+
}
28+
29+
export namespace ExternalResourceVulnerabilityAuditSource {
30+
export function getJsonObj(
31+
obj: ExternalResourceVulnerabilityAuditSource,
32+
isParentJsonObj?: boolean
33+
): object {
34+
const jsonObj = {
35+
...(isParentJsonObj
36+
? obj
37+
: (model.VulnerabilityAuditSource.getJsonObj(
38+
obj
39+
) as ExternalResourceVulnerabilityAuditSource)),
40+
...{}
41+
};
42+
43+
return jsonObj;
44+
}
45+
export const type = "EXTERNAL_RESOURCE";
46+
export function getDeserializedJsonObj(
47+
obj: ExternalResourceVulnerabilityAuditSource,
48+
isParentJsonObj?: boolean
49+
): object {
50+
const jsonObj = {
51+
...(isParentJsonObj
52+
? obj
53+
: (model.VulnerabilityAuditSource.getDeserializedJsonObj(
54+
obj
55+
) as ExternalResourceVulnerabilityAuditSource)),
56+
...{}
57+
};
58+
59+
return jsonObj;
60+
}
61+
}

lib/adm/lib/model/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ import * as VulnerabilityAuditCollection from "./vulnerability-audit-collection"
5151
export import VulnerabilityAuditCollection = VulnerabilityAuditCollection.VulnerabilityAuditCollection;
5252
import * as VulnerabilityAuditConfiguration from "./vulnerability-audit-configuration";
5353
export import VulnerabilityAuditConfiguration = VulnerabilityAuditConfiguration.VulnerabilityAuditConfiguration;
54+
import * as VulnerabilityAuditSource from "./vulnerability-audit-source";
55+
export import VulnerabilityAuditSource = VulnerabilityAuditSource.VulnerabilityAuditSource;
5456
import * as VulnerabilityAuditSummary from "./vulnerability-audit-summary";
5557
export import VulnerabilityAuditSummary = VulnerabilityAuditSummary.VulnerabilityAuditSummary;
5658
import * as WorkRequest from "./work-request";
@@ -71,3 +73,10 @@ import * as WorkRequestSummary from "./work-request-summary";
7173
export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary;
7274
import * as WorkRequestSummaryCollection from "./work-request-summary-collection";
7375
export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection;
76+
77+
import * as ExternalResourceVulnerabilityAuditSource from "./external-resource-vulnerability-audit-source";
78+
export import ExternalResourceVulnerabilityAuditSource = ExternalResourceVulnerabilityAuditSource.ExternalResourceVulnerabilityAuditSource;
79+
import * as OciResourceVulnerabilityAuditSource from "./oci-resource-vulnerability-audit-source";
80+
export import OciResourceVulnerabilityAuditSource = OciResourceVulnerabilityAuditSource.OciResourceVulnerabilityAuditSource;
81+
import * as UnknownSourceVulnerabilityAuditSource from "./unknown-source-vulnerability-audit-source";
82+
export import UnknownSourceVulnerabilityAuditSource = UnknownSourceVulnerabilityAuditSource.UnknownSourceVulnerabilityAuditSource;
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/**
2+
* Application Dependency Management API
3+
* Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
4+
* OpenAPI spec version: 20220421
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 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+
import * as model from "../model";
15+
import common = require("oci-common");
16+
17+
/**
18+
* OCI resource source for the Vulnerability Audit.
19+
*/
20+
export interface OciResourceVulnerabilityAuditSource extends model.VulnerabilityAuditSource {
21+
/**
22+
* The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the OCI resource that triggered the Vulnerability Audit.
23+
*/
24+
"ociResourceId": string;
25+
26+
"type": string;
27+
}
28+
29+
export namespace OciResourceVulnerabilityAuditSource {
30+
export function getJsonObj(
31+
obj: OciResourceVulnerabilityAuditSource,
32+
isParentJsonObj?: boolean
33+
): object {
34+
const jsonObj = {
35+
...(isParentJsonObj
36+
? obj
37+
: (model.VulnerabilityAuditSource.getJsonObj(obj) as OciResourceVulnerabilityAuditSource)),
38+
...{}
39+
};
40+
41+
return jsonObj;
42+
}
43+
export const type = "OCI_RESOURCE";
44+
export function getDeserializedJsonObj(
45+
obj: OciResourceVulnerabilityAuditSource,
46+
isParentJsonObj?: boolean
47+
): object {
48+
const jsonObj = {
49+
...(isParentJsonObj
50+
? obj
51+
: (model.VulnerabilityAuditSource.getDeserializedJsonObj(
52+
obj
53+
) as OciResourceVulnerabilityAuditSource)),
54+
...{}
55+
};
56+
57+
return jsonObj;
58+
}
59+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
/**
2+
* Application Dependency Management API
3+
* Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
4+
* OpenAPI spec version: 20220421
5+
*
6+
*
7+
* NOTE: This class is auto generated by OracleSDKGenerator.
8+
* Do not edit the class manually.
9+
*
10+
* Copyright (c) 2020, 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+
import * as model from "../model";
15+
import common = require("oci-common");
16+
17+
/**
18+
* Unknown source for Vulnerability Audit.
19+
*/
20+
export interface UnknownSourceVulnerabilityAuditSource extends model.VulnerabilityAuditSource {
21+
"type": string;
22+
}
23+
24+
export namespace UnknownSourceVulnerabilityAuditSource {
25+
export function getJsonObj(
26+
obj: UnknownSourceVulnerabilityAuditSource,
27+
isParentJsonObj?: boolean
28+
): object {
29+
const jsonObj = {
30+
...(isParentJsonObj
31+
? obj
32+
: (model.VulnerabilityAuditSource.getJsonObj(
33+
obj
34+
) as UnknownSourceVulnerabilityAuditSource)),
35+
...{}
36+
};
37+
38+
return jsonObj;
39+
}
40+
export const type = "UNKNOWN";
41+
export function getDeserializedJsonObj(
42+
obj: UnknownSourceVulnerabilityAuditSource,
43+
isParentJsonObj?: boolean
44+
): object {
45+
const jsonObj = {
46+
...(isParentJsonObj
47+
? obj
48+
: (model.VulnerabilityAuditSource.getDeserializedJsonObj(
49+
obj
50+
) as UnknownSourceVulnerabilityAuditSource)),
51+
...{}
52+
};
53+
54+
return jsonObj;
55+
}
56+
}

0 commit comments

Comments
 (0)