Skip to content

Commit 0b566f3

Browse files
Releasing version 65.54.0
Releasing version 65.54.0
2 parents 5369deb + 0dd613c commit 0b566f3

File tree

179 files changed

+10765
-889
lines changed

Some content is hidden

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

179 files changed

+10765
-889
lines changed

CHANGELOG.md

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

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

7+
## 65.54.0 - 2023-12-04
8+
### Added
9+
- Support for calling Oracle Cloud Infrastructure services in the eu-dcc-zurich-1 and the sa-bogota-1 region
10+
- Support for managing certificates of target Servers in the Golden Gate service
11+
- Support for AWR Hub Snapshot ingest endpoints in the Operations Insights service
12+
- Support for reducing false positives in the Application Dependency Management service
13+
- Support for ARM shapes in the Data Science service
14+
- Support for new optional parameters in the upload discovery data API in the Usage service
15+
- Support for multiple clusters in a Software-Defined Data Centers (SDDCs) in the VMWare Solution service
16+
- Support for No/Zero days backup in Autonomous Container Database in the Database service
17+
- Support for provisioning a VM Cluster with a choice of Exadata image version in the Database service
18+
- Support for updating ocpu/ecpu count, local storage, ACD count and Exadata storage on Cloud Autonomous VM Cluster and Autonomous VM Cluster in the Database service
19+
- Support for serial console history in the Database service
20+
- Support for Oracle Linux 8 version database system in the Database service
21+
22+
### Breaking
23+
- Parameters `SddcId`, `CurrentSku`, `NextSku`, were renamed to `ClusterId`, `CurrentCommitment`, `NextCommitment` in models `CreateEsxiHostDetails`, `EsxiHost` and `EsxiHostSummary` in the VMWare Solution service
24+
- Parameter `FailedEsxiHostId` was removed from `CreateEsxiHostDetails` model in the VMWare Solution service
25+
- Parameter `NonUpgradedEsxiHostId` was renamed to `EsxiSoftwareVersion` in `CreateEsxiHostDetails` model in the VMWare Solution service
26+
- Parameter `EsxiHostsCount` was removed from `CreateEsxiHostDetails` model in the VMWare Solution service
27+
- Parameters `ProvisioningSubnetId`, `VsphereVlanId`, `VmotionVlanId`, `VsanVlanId`, `NsxVTepVlanId`, `NsxEdgeVTepVlanId`, `NsxEdgeUplink1VlanId`, `NsxEdgeUplink2VlanId`, `InstanceDisplayNamePrefix`, `InitialSku`, `IsHcxEnabled`, `HcxVlanId`, `IsHcxEnterpriseEnabled` were removed from `CreateSddcDetails` model in the VMWare Solution service
28+
- Parameters `VsphereVlanId`, `VmotionVlanId`, `VsanVlanId`, `NsxVTepVlanId`, `NsxEdgeVTepVlanId`, `NsxEdgeUplink1VlanId`, `NsxEdgeUplink2VlanId`, `ReplicationVlanId`, `ProvisioningVlanId`, `HcxVlanId` were removed from `UpdateSddcDetails` model in the VMWare Solution service
29+
- Parameters `SupportedSddcTypes` and `IsSupportMonthlySku` were removed from `SupportedHostShapeSummary` model in the VMWare Solution service
30+
- Parameter `ComputeAvailabilityDomain` was removed from `Sddc` and `SddcSummary` models in the VMWare Solution service
31+
- Parameter `SddcType` was removed from `ListSupportedHostShapesRequest` model in the VMWare Solution service
32+
33+
734
## 65.53.0 - 2023-11-14
835
### Added
936
- Support for the PostgreSQL service

adm/adm_applicationdependencymanagement_client.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ func (client ApplicationDependencyManagementClient) listApplicationDependencyRec
14611461
defer common.CloseBodyIfValid(httpResponse)
14621462
response.RawResponse = httpResponse
14631463
if err != nil {
1464-
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/adm/20220421/ApplicationDependencyRecommendationCollection/ListApplicationDependencyRecommendations"
1464+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/adm/20220421/RemediationRun/ListApplicationDependencyRecommendations"
14651465
err = common.PostProcessServiceError(err, "ApplicationDependencyManagement", "ListApplicationDependencyRecommendations", apiReferenceLink)
14661466
return response, err
14671467
}
@@ -1637,7 +1637,7 @@ func (client ApplicationDependencyManagementClient) listRemediationRecipes(ctx c
16371637
defer common.CloseBodyIfValid(httpResponse)
16381638
response.RawResponse = httpResponse
16391639
if err != nil {
1640-
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/adm/20220421/RemediationRecipeCollection/ListRemediationRecipes"
1640+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/adm/20220421/RemediationRecipe/ListRemediationRecipes"
16411641
err = common.PostProcessServiceError(err, "ApplicationDependencyManagement", "ListRemediationRecipes", apiReferenceLink)
16421642
return response, err
16431643
}
@@ -1696,7 +1696,7 @@ func (client ApplicationDependencyManagementClient) listRemediationRuns(ctx cont
16961696
defer common.CloseBodyIfValid(httpResponse)
16971697
response.RawResponse = httpResponse
16981698
if err != nil {
1699-
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/adm/20220421/RemediationRunCollection/ListRemediationRuns"
1699+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/adm/20220421/RemediationRun/ListRemediationRuns"
17001700
err = common.PostProcessServiceError(err, "ApplicationDependencyManagement", "ListRemediationRuns", apiReferenceLink)
17011701
return response, err
17021702
}
@@ -1754,7 +1754,7 @@ func (client ApplicationDependencyManagementClient) listStages(ctx context.Conte
17541754
defer common.CloseBodyIfValid(httpResponse)
17551755
response.RawResponse = httpResponse
17561756
if err != nil {
1757-
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/adm/20220421/RemediationRunStageCollection/ListStages"
1757+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/adm/20220421/RemediationRunStage/ListStages"
17581758
err = common.PostProcessServiceError(err, "ApplicationDependencyManagement", "ListStages", apiReferenceLink)
17591759
return response, err
17601760
}
@@ -1764,7 +1764,7 @@ func (client ApplicationDependencyManagementClient) listStages(ctx context.Conte
17641764
}
17651765

17661766
// ListVulnerabilityAudits Returns a list of Vulnerability Audits based on the specified query parameters.
1767-
// At least one of id, compartmentId or knowledgeBaseId query parameter must be provided.
1767+
// At least one of id, compartmentId query parameter must be provided.
17681768
//
17691769
// # See also
17701770
//

adm/create_vulnerability_audit_details.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ type CreateVulnerabilityAuditDetails struct {
3434

3535
Configuration *VulnerabilityAuditConfiguration `mandatory:"false" json:"configuration"`
3636

37+
UsageData UsageDataDetails `mandatory:"false" json:"usageData"`
38+
3739
// The name of the vulnerability audit.
3840
DisplayName *string `mandatory:"false" json:"displayName"`
3941

@@ -73,6 +75,7 @@ func (m *CreateVulnerabilityAuditDetails) UnmarshalJSON(data []byte) (e error) {
7375
CompartmentId *string `json:"compartmentId"`
7476
ApplicationDependencies []ApplicationDependency `json:"applicationDependencies"`
7577
Configuration *VulnerabilityAuditConfiguration `json:"configuration"`
78+
UsageData usagedatadetails `json:"usageData"`
7679
DisplayName *string `json:"displayName"`
7780
Source vulnerabilityauditsource `json:"source"`
7881
FreeformTags map[string]string `json:"freeformTags"`
@@ -92,6 +95,16 @@ func (m *CreateVulnerabilityAuditDetails) UnmarshalJSON(data []byte) (e error) {
9295
copy(m.ApplicationDependencies, model.ApplicationDependencies)
9396
m.Configuration = model.Configuration
9497

98+
nn, e = model.UsageData.UnmarshalPolymorphicJSON(model.UsageData.JsonData)
99+
if e != nil {
100+
return
101+
}
102+
if nn != nil {
103+
m.UsageData = nn.(UsageDataDetails)
104+
} else {
105+
m.UsageData = nil
106+
}
107+
95108
m.DisplayName = model.DisplayName
96109

97110
nn, e = model.Source.UnmarshalPolymorphicJSON(model.Source.JsonData)

adm/usage_data_details.go

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
// Application Dependency Management API
6+
//
7+
// Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see ADM (https://docs.cloud.oracle.com/Content/application-dependency-management/home.htm).
8+
//
9+
10+
package adm
11+
12+
import (
13+
"encoding/json"
14+
"fmt"
15+
"github.com/oracle/oci-go-sdk/v65/common"
16+
"strings"
17+
)
18+
19+
// UsageDataDetails The source details of the usage data on Object Storage.
20+
// Set `sourceType` to `objectStorageTuple`
21+
// and use UsageDataViaObjectStorageTupleDetails
22+
// when specifying the namespace, bucket name, and object name.
23+
type UsageDataDetails interface {
24+
}
25+
26+
type usagedatadetails struct {
27+
JsonData []byte
28+
SourceType string `json:"sourceType"`
29+
}
30+
31+
// UnmarshalJSON unmarshals json
32+
func (m *usagedatadetails) UnmarshalJSON(data []byte) error {
33+
m.JsonData = data
34+
type Unmarshalerusagedatadetails usagedatadetails
35+
s := struct {
36+
Model Unmarshalerusagedatadetails
37+
}{}
38+
err := json.Unmarshal(data, &s.Model)
39+
if err != nil {
40+
return err
41+
}
42+
m.SourceType = s.Model.SourceType
43+
44+
return err
45+
}
46+
47+
// UnmarshalPolymorphicJSON unmarshals polymorphic json
48+
func (m *usagedatadetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
49+
50+
if data == nil || string(data) == "null" {
51+
return nil, nil
52+
}
53+
54+
var err error
55+
switch m.SourceType {
56+
case "objectStorageTuple":
57+
mm := UsageDataViaObjectStorageTupleDetails{}
58+
err = json.Unmarshal(data, &mm)
59+
return mm, err
60+
default:
61+
common.Logf("Recieved unsupported enum value for UsageDataDetails: %s.", m.SourceType)
62+
return *m, nil
63+
}
64+
}
65+
66+
func (m usagedatadetails) String() string {
67+
return common.PointerString(m)
68+
}
69+
70+
// ValidateEnumValue returns an error when providing an unsupported enum value
71+
// This function is being called during constructing API request process
72+
// Not recommended for calling this function directly
73+
func (m usagedatadetails) ValidateEnumValue() (bool, error) {
74+
errMessage := []string{}
75+
76+
if len(errMessage) > 0 {
77+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
78+
}
79+
return false, nil
80+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
2+
// 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.
3+
// Code generated. DO NOT EDIT.
4+
5+
// Application Dependency Management API
6+
//
7+
// Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see ADM (https://docs.cloud.oracle.com/Content/application-dependency-management/home.htm).
8+
//
9+
10+
package adm
11+
12+
import (
13+
"encoding/json"
14+
"fmt"
15+
"github.com/oracle/oci-go-sdk/v65/common"
16+
"strings"
17+
)
18+
19+
// UsageDataViaObjectStorageTupleDetails Reference to an object in Object Storage as a tuple.
20+
type UsageDataViaObjectStorageTupleDetails struct {
21+
22+
// The Object Storage bucket to read the usage data from.
23+
BucketName *string `mandatory:"true" json:"bucketName"`
24+
25+
// The Object Storage namespace to read the usage data from.
26+
NamespaceName *string `mandatory:"true" json:"namespaceName"`
27+
28+
// The Object Storage object name to read the usage data from.
29+
ObjectName *string `mandatory:"true" json:"objectName"`
30+
}
31+
32+
func (m UsageDataViaObjectStorageTupleDetails) String() string {
33+
return common.PointerString(m)
34+
}
35+
36+
// ValidateEnumValue returns an error when providing an unsupported enum value
37+
// This function is being called during constructing API request process
38+
// Not recommended for calling this function directly
39+
func (m UsageDataViaObjectStorageTupleDetails) ValidateEnumValue() (bool, error) {
40+
errMessage := []string{}
41+
42+
if len(errMessage) > 0 {
43+
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
44+
}
45+
return false, nil
46+
}
47+
48+
// MarshalJSON marshals to json representation
49+
func (m UsageDataViaObjectStorageTupleDetails) MarshalJSON() (buff []byte, e error) {
50+
type MarshalTypeUsageDataViaObjectStorageTupleDetails UsageDataViaObjectStorageTupleDetails
51+
s := struct {
52+
DiscriminatorParam string `json:"sourceType"`
53+
MarshalTypeUsageDataViaObjectStorageTupleDetails
54+
}{
55+
"objectStorageTuple",
56+
(MarshalTypeUsageDataViaObjectStorageTupleDetails)(m),
57+
}
58+
59+
return json.Marshal(&s)
60+
}

adm/vulnerability.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ type Vulnerability struct {
3030

3131
// Indicates if the vulnerability was ignored according to the audit configuration.
3232
IsIgnored *bool `mandatory:"true" json:"isIgnored"`
33+
34+
// Indicates if the vulnerability is a false positive according to the usage data. If no usage data was provided or the service cannot infer usage of the vulnerable code then this property is `null`.
35+
IsFalsePositive *bool `mandatory:"false" json:"isFalsePositive"`
3336
}
3437

3538
func (m Vulnerability) String() string {

0 commit comments

Comments
 (0)