Class DetectorRecipeDetectorRule
A DetectorRecipeDetectorRule resource defines a single recipe rule in the collection for a DetectorRecipe resource.
Inherited Members
Namespace: Oci.CloudguardService.Models
Assembly: OCI.DotNetSDK.Cloudguard.dll
Syntax
public class DetectorRecipeDetectorRule
Properties
CandidateResponderRules
Declaration
[JsonProperty(PropertyName = "candidateResponderRules")]
public List<CandidateResponderRule> CandidateResponderRules { get; set; }
Property Value
Type | Description |
---|---|
List<CandidateResponderRule> | List of responder rules that can be used to remediate this detector rule |
DataSourceId
Declaration
[JsonProperty(PropertyName = "dataSourceId")]
public string DataSourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier of the attached data source |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description for DetectorRecipeDetectorRule resource |
Details
Declaration
[JsonProperty(PropertyName = "details")]
public DetectorDetails Details { get; set; }
Property Value
Type | Description |
---|---|
DetectorDetails |
Detector
Declaration
[Required(ErrorMessage = "Detector is required.")]
[JsonProperty(PropertyName = "detector")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DetectorEnum? Detector { get; set; }
Property Value
Type | Description |
---|---|
DetectorEnum? | Detector recipe for the rule |
Remarks
Required
DetectorRuleId
Declaration
[Required(ErrorMessage = "DetectorRuleId is required.")]
[JsonProperty(PropertyName = "detectorRuleId")]
public string DetectorRuleId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier of the detector rule. |
Remarks
Required
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Display name for DetectorRecipeDetectorRule resource |
EntitiesMappings
Declaration
[JsonProperty(PropertyName = "entitiesMappings")]
public List<EntitiesMapping> EntitiesMappings { get; set; }
Property Value
Type | Description |
---|---|
List<EntitiesMapping> | Data source entities mapping for the detector rule |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The current lifecycle state of the detector rule. |
Locks
Declaration
[JsonProperty(PropertyName = "locks")]
public List<ResourceLock> Locks { get; set; }
Property Value
Type | Description |
---|---|
List<ResourceLock> | Locks associated with this resource. |
ManagedListTypes
Declaration
[JsonProperty(PropertyName = "managedListTypes", ItemConverterType = typeof(ResponseEnumConverter))]
public List<DetectorRecipeDetectorRule.ManagedListTypesEnum> ManagedListTypes { get; set; }
Property Value
Type | Description |
---|---|
List<DetectorRecipeDetectorRule.ManagedListTypesEnum> | List of managed list types related to this rule |
Recommendation
Declaration
[JsonProperty(PropertyName = "recommendation")]
public string Recommendation { get; set; }
Property Value
Type | Description |
---|---|
string | Recommendation for DetectorRecipeDetectorRule resource |
ResourceType
Declaration
[Required(ErrorMessage = "ResourceType is required.")]
[JsonProperty(PropertyName = "resourceType")]
public string ResourceType { get; set; }
Property Value
Type | Description |
---|---|
string | Resource type of the configuration to which the rule is applied |
Remarks
Required
ServiceType
Declaration
[Required(ErrorMessage = "ServiceType is required.")]
[JsonProperty(PropertyName = "serviceType")]
public string ServiceType { get; set; }
Property Value
Type | Description |
---|---|
string | Service type of the configuration to which the rule is applied |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the detector recipe rule was created. Format defined by RFC3339. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the detector recipe rule was last updated. Format defined by RFC3339. |