Skip to content

Commit

Permalink
Releasing version 78.0.0
Browse files Browse the repository at this point in the history
Releasing version 78.0.0
  • Loading branch information
oci-dex-release-bot committed Jan 16, 2024
2 parents 2feb46e + 6b1be2f commit 5679ff8
Show file tree
Hide file tree
Showing 154 changed files with 9,991 additions and 408 deletions.
12 changes: 7 additions & 5 deletions Adm/models/ApplicationDependency.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ public class ApplicationDependency
{

/// <value>
/// Group Artifact Version (GAV) identifier (Group:Artifact:Version), e.g. org.graalvm.nativeimage:svm:21.1.0.
/// Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0.&quot;N/A&quot; for non-maven artifacts.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "Gav is required.")]
[JsonProperty(PropertyName = "gav")]
public string Gav { get; set; }

/// <value>
/// Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
/// </value>
[JsonProperty(PropertyName = "purl")]
public string Purl { get; set; }

/// <value>
/// Unique identifier of an application dependency, for example nodeId1.
/// The nodeId can be generated by assigning a unique id to each application dependency
Expand Down
12 changes: 12 additions & 0 deletions Adm/models/ApplicationDependencyRecommendationSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ public class ApplicationDependencyRecommendationSummary
[JsonProperty(PropertyName = "gav")]
public string Gav { get; set; }

/// <value>
/// Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
/// </value>
[JsonProperty(PropertyName = "purl")]
public string Purl { get; set; }

/// <value>
/// Unique node identifier of an application dependency with an associated Recommendation, e.g. nodeId1.
/// </value>
Expand All @@ -59,5 +65,11 @@ public class ApplicationDependencyRecommendationSummary
[JsonProperty(PropertyName = "recommendedGav")]
public string RecommendedGav { get; set; }

/// <value>
/// Recommended application dependency in PURL format, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.2.0
/// </value>
[JsonProperty(PropertyName = "recommendedPurl")]
public string RecommendedPurl { get; set; }

}
}
8 changes: 7 additions & 1 deletion Adm/models/ApplicationDependencyVulnerabilitySummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class ApplicationDependencyVulnerabilitySummary
{

/// <value>
/// Group Artifact Version (GAV) identifier (Group:Artifact:Version), for example org.graalvm.nativeimage:svm:21.1.0.
/// Group Artifact Version (GAV) identifier (Group:Artifact:Version). Example: org.graalvm.nativeimage:svm:21.1.0.&quot;N/A&quot; for non-maven artifacts.
/// </value>
/// <remarks>
/// Required
Expand All @@ -34,6 +34,12 @@ public class ApplicationDependencyVulnerabilitySummary
[JsonProperty(PropertyName = "gav")]
public string Gav { get; set; }

/// <value>
/// Package URL defined in https://github.com/package-url/purl-spec, e.g. pkg:maven/org.graalvm.nativeimage/svm@21.1.0
/// </value>
[JsonProperty(PropertyName = "purl")]
public string Purl { get; set; }

/// <value>
/// Unique identifier of an application dependency, for example nodeId1.
/// </value>
Expand Down
35 changes: 35 additions & 0 deletions Adm/models/ConfigSeverity.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* 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.
*/

// NOTE: Code generated by OracleSDKGenerator.
// DO NOT EDIT this file manually.


using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace Oci.AdmService.Models
{
/// <summary>
/// Qualitative evaluation of the severity for a vulnerability, from NONE to CRITICAL. Used to configure requests that specify severity requirements, that's why UNSET is also a valid value (unlike in VulnerabilitySeverity).
/// </summary>
public enum ConfigSeverity {
/// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
[EnumMember(Value = null)]
UnknownEnumValue,
[EnumMember(Value = "UNSET")]
Unset,
[EnumMember(Value = "NONE")]
None,
[EnumMember(Value = "LOW")]
Low,
[EnumMember(Value = "MEDIUM")]
Medium,
[EnumMember(Value = "HIGH")]
High,
[EnumMember(Value = "CRITICAL")]
Critical
}
}
6 changes: 1 addition & 5 deletions Adm/models/CreateVulnerabilityAuditDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@ public class CreateVulnerabilityAuditDetails
public System.Collections.Generic.List<ApplicationDependency> ApplicationDependencies { get; set; }

/// <value>
/// The type of the build tool.
/// The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "BuildType is required.")]
[JsonProperty(PropertyName = "buildType")]
[JsonConverter(typeof(StringEnumConverter))]
public System.Nullable<VulnerabilityAudit.BuildTypeEnum> BuildType { get; set; }
Expand Down
7 changes: 7 additions & 0 deletions Adm/models/DetectConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,12 @@ public enum UpgradePolicyEnum {
[JsonProperty(PropertyName = "maxPermissibleCvssV3Score")]
public System.Nullable<float> MaxPermissibleCvssV3Score { get; set; }

/// <value>
/// The maximum ADM Severity. An artifact with an ADM Severity below this value is not considered for patching.
/// </value>
[JsonProperty(PropertyName = "maxPermissibleSeverity")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<ConfigSeverity> MaxPermissibleSeverity { get; set; }

}
}
3 changes: 2 additions & 1 deletion Adm/models/UsageDataDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
namespace Oci.AdmService.Models
{
/// <summary>
/// The source details of the usage data on Object Storage.
/// The source details of the usage data in object storage. The usage data file uploaded to object storage must be a gzip archive
/// of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build.
/// Set `sourceType` to `objectStorageTuple`
/// and use {@link #usageDataViaObjectStorageTupleDetails(UsageDataViaObjectStorageTupleDetailsRequest) usageDataViaObjectStorageTupleDetails}
/// when specifying the namespace, bucket name, and object name.
Expand Down
4 changes: 3 additions & 1 deletion Adm/models/UsageDataViaObjectStorageTupleDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
namespace Oci.AdmService.Models
{
/// <summary>
/// Reference to an object in Object Storage as a tuple.
/// Reference to an object in object storage as a tuple. The usage data file uploaded to object storage must be a gzip archive
/// of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build.
///
/// </summary>
public class UsageDataViaObjectStorageTupleDetails : UsageDataDetails
{
Expand Down
21 changes: 13 additions & 8 deletions Adm/models/Vulnerability.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,31 @@ public class Vulnerability
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }

/// <value>
/// Source that published the vulnerability
/// </value>
[JsonProperty(PropertyName = "source")]
public string Source { get; set; }

/// <value>
/// Common Vulnerability Scoring System (CVSS) Version 2.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "CvssV2Score is required.")]
[JsonProperty(PropertyName = "cvssV2Score")]
public System.Nullable<float> CvssV2Score { get; set; }

/// <value>
/// Common Vulnerability Scoring System (CVSS) Version 3.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "CvssV3Score is required.")]
[JsonProperty(PropertyName = "cvssV3Score")]
public System.Nullable<float> CvssV3Score { get; set; }

/// <value>
/// ADM qualitative severity score. Can be either NONE, LOW, MEDIUM, HIGH or CRITICAL.
/// </value>
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<VulnerabilitySeverity> Severity { get; set; }

/// <value>
/// Indicates if the vulnerability was ignored according to the audit configuration.
/// </value>
Expand Down
40 changes: 20 additions & 20 deletions Adm/models/VulnerabilityAudit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public enum LifecycleDetailsEnum {
public System.Nullable<LifecycleDetailsEnum> LifecycleDetails { get; set; }

/// <value>
/// List of vulnerabilities found in the vulnerability audit.
/// List of vulnerabilities found in the vulnerability audit. If a vulnerability affects multiple dependencies, the metadata returned here consists of audit-wide aggregates.
/// </value>
/// <remarks>
/// Required
Expand All @@ -142,43 +142,41 @@ public enum LifecycleDetailsEnum {
/// <value>
/// Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable application dependencies.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "MaxObservedCvssV2Score is required.")]
[JsonProperty(PropertyName = "maxObservedCvssV2Score")]
public System.Nullable<float> MaxObservedCvssV2Score { get; set; }

/// <value>
/// Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable application dependencies.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "MaxObservedCvssV3Score is required.")]
[JsonProperty(PropertyName = "maxObservedCvssV3Score")]
public System.Nullable<float> MaxObservedCvssV3Score { get; set; }

/// <value>
/// Maximum ADM Severity observed for non-ignored vulnerable application dependencies.
/// </value>
[JsonProperty(PropertyName = "maxObservedSeverity")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<VulnerabilitySeverity> MaxObservedSeverity { get; set; }

/// <value>
/// Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable application dependencies including ignored ones.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "MaxObservedCvssV2ScoreWithIgnored is required.")]
[JsonProperty(PropertyName = "maxObservedCvssV2ScoreWithIgnored")]
public System.Nullable<float> MaxObservedCvssV2ScoreWithIgnored { get; set; }

/// <value>
/// Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable application dependencies including ignored ones.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "MaxObservedCvssV3ScoreWithIgnored is required.")]
[JsonProperty(PropertyName = "maxObservedCvssV3ScoreWithIgnored")]
public System.Nullable<float> MaxObservedCvssV3ScoreWithIgnored { get; set; }

/// <value>
/// Maximum ADM Severity observed for vulnerable application dependencies including ignored ones.
/// </value>
[JsonProperty(PropertyName = "maxObservedSeverityWithIgnored")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<VulnerabilitySeverity> MaxObservedSeverityWithIgnored { get; set; }

/// <value>
/// Count of all vulnerable application dependencies.
/// </value>
Expand Down Expand Up @@ -212,19 +210,21 @@ public enum LifecycleDetailsEnum {
public System.Nullable<bool> IsSuccess { get; set; }
///
/// <value>
/// The type of the build tool.
/// The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated.
/// </value>
///
public enum BuildTypeEnum {
/// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
[EnumMember(Value = null)]
UnknownEnumValue,
[EnumMember(Value = "MAVEN")]
Maven
Maven,
[EnumMember(Value = "UNSET")]
Unset
};

/// <value>
/// The type of the build tool.
/// The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated.
/// </value>
/// <remarks>
/// Required
Expand Down
7 changes: 7 additions & 0 deletions Adm/models/VulnerabilityAuditConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ public class VulnerabilityAuditConfiguration
[JsonProperty(PropertyName = "maxPermissibleCvssV3Score")]
public System.Nullable<float> MaxPermissibleCvssV3Score { get; set; }

/// <value>
/// A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleSeverity.
/// </value>
[JsonProperty(PropertyName = "maxPermissibleSeverity")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<ConfigSeverity> MaxPermissibleSeverity { get; set; }

/// <value>
/// A vulnerable application dependency is ignored if its name matches any of the items in `exclusions`.
/// An asterisk (*) in the dependency pattern acts as a wildcard and matches zero or more characters.
Expand Down
36 changes: 17 additions & 19 deletions Adm/models/VulnerabilityAuditSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,29 +75,28 @@ public class VulnerabilityAuditSummary
/// </remarks>
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<VulnerabilityAudit.LifecycleStateEnum> LifecycleState { get; set; }

/// <value>
/// Maximum Common Vulnerability Scoring System Version 2 score observed for non-ignored vulnerable application dependencies.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "MaxObservedCvssV2Score is required.")]
[JsonProperty(PropertyName = "maxObservedCvssV2Score")]
public System.Nullable<float> MaxObservedCvssV2Score { get; set; }

/// <value>
/// Maximum Common Vulnerability Scoring System Version 3 score observed for non-ignored vulnerable application dependencies.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "MaxObservedCvssV3Score is required.")]
[JsonProperty(PropertyName = "maxObservedCvssV3Score")]
public System.Nullable<float> MaxObservedCvssV3Score { get; set; }

/// <value>
/// Maximum ADM Severity observed for non-ignored vulnerable application dependencies.
/// </value>
[JsonProperty(PropertyName = "maxObservedSeverity")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<VulnerabilitySeverity> MaxObservedSeverity { get; set; }

/// <value>
/// Count of non-ignored vulnerable application dependencies.
/// </value>
Expand All @@ -111,23 +110,22 @@ public class VulnerabilityAuditSummary
/// <value>
/// Maximum Common Vulnerability Scoring System Version 2 score observed for vulnerable application dependencies including ignored ones.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "MaxObservedCvssV2ScoreWithIgnored is required.")]
[JsonProperty(PropertyName = "maxObservedCvssV2ScoreWithIgnored")]
public System.Nullable<float> MaxObservedCvssV2ScoreWithIgnored { get; set; }

/// <value>
/// Maximum Common Vulnerability Scoring System Version 3 score observed for vulnerable application dependencies including ignored ones.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "MaxObservedCvssV3ScoreWithIgnored is required.")]
[JsonProperty(PropertyName = "maxObservedCvssV3ScoreWithIgnored")]
public System.Nullable<float> MaxObservedCvssV3ScoreWithIgnored { get; set; }

/// <value>
/// Maximum ADM Severity observed for vulnerable application dependencies including ignored ones.
/// </value>
[JsonProperty(PropertyName = "maxObservedSeverityWithIgnored")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<VulnerabilitySeverity> MaxObservedSeverityWithIgnored { get; set; }

/// <value>
/// Count of all vulnerable application dependencies.
/// </value>
Expand All @@ -145,10 +143,10 @@ public class VulnerabilityAuditSummary
public System.Nullable<bool> IsSuccess { get; set; }

/// <value>
/// Type of the build tool.
/// The type of the build tool is restricted to only two values MAVEN or UNSET. Use UNSET when the list of application dependencies is not Maven-related or is a mix of Maven and other ecosystems. This option is soon to be deprecated.
/// </value>
[JsonProperty(PropertyName = "buildType")]
[JsonConverter(typeof(StringEnumConverter))]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<VulnerabilityAudit.BuildTypeEnum> BuildType { get; set; }

/// <value>
Expand Down

0 comments on commit 5679ff8

Please sign in to comment.