Show / Hide Table of Contents

Class ScmConfiguration

A configuration for the Source Code Management tool/platform used by a remediation recipe.

Inheritance
object
ScmConfiguration
ExternalScmConfiguration
OciCodeRepositoryConfiguration
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AdmService.Models
Assembly: OCI.DotNetSDK.Adm.dll
Syntax
[JsonConverter(typeof(ScmConfigurationModelConverter))]
public class ScmConfiguration

Properties

Branch

Declaration
[Required(ErrorMessage = "Branch is required.")]
[JsonProperty(PropertyName = "branch")]
public string Branch { get; set; }
Property Value
Type Description
string

The branch used by ADM to patch vulnerabilities.

Remarks

Required

BuildFileLocation

Declaration
[JsonProperty(PropertyName = "buildFileLocation")]
public string BuildFileLocation { get; set; }
Property Value
Type Description
string

The location of the build file relative to the root of the repository. Only Maven build files (POM) are currently supported. If this property is not specified, ADM will use the build file located at the root of the repository.

IsAutomergeEnabled

Declaration
[Required(ErrorMessage = "IsAutomergeEnabled is required.")]
[JsonProperty(PropertyName = "isAutomergeEnabled")]
public bool? IsAutomergeEnabled { get; set; }
Property Value
Type Description
bool?

If true, the Pull Request (PR) will be merged after the verify stage completes successfully
If false, the PR with the proposed changes must be reviewed and manually merged.

Remarks

Required

In this article
Back to top