Class ScmConfiguration
A configuration for the Source Code Management tool/platform used by a remediation recipe.
Inherited Members
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 |
Remarks
Required