Class CreateDetectorRuleDetails
Details of a detector rule to be created in a detector recipe.
Inherited Members
Namespace: Oci.CloudguardService.Models
Assembly: OCI.DotNetSDK.Cloudguard.dll
Syntax
public class CreateDetectorRuleDetails
Properties
Condition
Declaration
[JsonProperty(PropertyName = "condition")]
public Condition Condition { get; set; }
Property Value
Type | Description |
---|---|
Condition |
Configurations
Declaration
[JsonProperty(PropertyName = "configurations")]
public List<DetectorConfiguration> Configurations { get; set; }
Property Value
Type | Description |
---|---|
List<DetectorConfiguration> | List of detector rule configurations |
DataSourceId
Declaration
[JsonProperty(PropertyName = "dataSourceId")]
public string DataSourceId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the data source which is attached |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Description of the detector rule |
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 |
IsEnabled
Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Enablement state of the detector rule |
Labels
Declaration
[JsonProperty(PropertyName = "labels")]
public List<string> Labels { get; set; }
Property Value
Type | Description |
---|---|
List<string> | User-defined labels for the detector rule |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the detector rule |
Remarks
Required
Recommendation
Declaration
[JsonProperty(PropertyName = "recommendation")]
public string Recommendation { get; set; }
Property Value
Type | Description |
---|---|
string | Recommendations for the detector rule |
RiskLevel
Declaration
[JsonProperty(PropertyName = "riskLevel")]
[JsonConverter(typeof(StringEnumConverter))]
public RiskLevel? RiskLevel { get; set; }
Property Value
Type | Description |
---|---|
RiskLevel? | The risk level for the detector rule |
SourceDetectorRuleId
Declaration
[JsonProperty(PropertyName = "sourceDetectorRuleId")]
public string SourceDetectorRuleId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of source detector rule |