Class RemediationRun
A remediation run represents an execution of a Remediation Recipe to detect and fix vulnerabilities based on current state of the Vulnerabilities curated in the Knowledge Base. A Run can be triggered manually or when a new CVE is discovered.
Inherited Members
Namespace: Oci.AdmService.Models
Assembly: OCI.DotNetSDK.Adm.dll
Syntax
public class RemediationRun
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment Oracle Cloud Identifier (OCID) of the remediation run. |
Remarks
Required
CurrentStageType
Declaration
[JsonProperty(PropertyName = "currentStageType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemediationRunStageType? CurrentStageType { get; set; }
Property Value
Type | Description |
---|---|
RemediationRunStageType? | The type of the current stage of the remediation run. |
DefinedTags
Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
Remarks
Required
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the remediation run. |
FreeformTags
Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle Cloud Identifier (OCID) of the remediation run. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemediationRun.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
RemediationRun.LifecycleStateEnum? | The current lifecycle state of the remediation run. |
Remarks
Required
RemediationRecipeId
Declaration
[Required(ErrorMessage = "RemediationRecipeId is required.")]
[JsonProperty(PropertyName = "remediationRecipeId")]
public string RemediationRecipeId { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle Cloud Identifier (OCID) of the Remediation Recipe. |
Remarks
Required
RemediationRunSource
Declaration
[Required(ErrorMessage = "RemediationRunSource is required.")]
[JsonProperty(PropertyName = "remediationRunSource")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemediationRun.RemediationRunSourceEnum? RemediationRunSource { get; set; }
Property Value
Type | Description |
---|---|
RemediationRun.RemediationRunSourceEnum? | The source that triggered the Remediation Recipe. |
Remarks
Required
Stages
Declaration
[JsonProperty(PropertyName = "stages")]
public List<StageSummary> Stages { get; set; }
Property Value
Type | Description |
---|---|
List<StageSummary> | The list of remediation run stage summaries. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The creation date and time of the remediation run (formatted according to RFC3339). |
Remarks
Required
TimeFinished
Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the finish of the remediation run (formatted according to RFC3339). |
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the start of the remediation run (formatted according to RFC3339). |
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the remediation run was last updated (formatted according to RFC3339). |
Remarks
Required