UpdateDetectorRuleDetails

class oci.cloud_guard.models.UpdateDetectorRuleDetails(**kwargs)

Bases: object

Parameters to be updated for a detector rule within a detector recipe.

Attributes:

RISK_LEVEL_CRITICAL

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.

RISK_LEVEL_HIGH

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.

RISK_LEVEL_LOW

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.

RISK_LEVEL_MEDIUM

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.

RISK_LEVEL_MINOR

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.

condition

Gets the condition of this UpdateDetectorRuleDetails.

configurations

Gets the configurations of this UpdateDetectorRuleDetails.

data_source_id

Gets the data_source_id of this UpdateDetectorRuleDetails.

description

Gets the description of this UpdateDetectorRuleDetails.

entities_mappings

Gets the entities_mappings of this UpdateDetectorRuleDetails.

is_enabled

[Required] Gets the is_enabled of this UpdateDetectorRuleDetails.

labels

Gets the labels of this UpdateDetectorRuleDetails.

recommendation

Gets the recommendation of this UpdateDetectorRuleDetails.

risk_level

Gets the risk_level of this UpdateDetectorRuleDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDetectorRuleDetails object with values from keyword arguments.

RISK_LEVEL_CRITICAL = 'CRITICAL'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “CRITICAL”

RISK_LEVEL_HIGH = 'HIGH'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “HIGH”

RISK_LEVEL_LOW = 'LOW'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “LOW”

RISK_LEVEL_MEDIUM = 'MEDIUM'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “MEDIUM”

RISK_LEVEL_MINOR = 'MINOR'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “MINOR”

__init__(**kwargs)

Initializes a new UpdateDetectorRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • is_enabled (bool) – The value to assign to the is_enabled property of this UpdateDetectorRuleDetails.

  • risk_level (str) – The value to assign to the risk_level property of this UpdateDetectorRuleDetails. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”

  • configurations (list[oci.cloud_guard.models.DetectorConfiguration]) – The value to assign to the configurations property of this UpdateDetectorRuleDetails.

  • condition (oci.cloud_guard.models.Condition) – The value to assign to the condition property of this UpdateDetectorRuleDetails.

  • labels (list[str]) – The value to assign to the labels property of this UpdateDetectorRuleDetails.

  • description (str) – The value to assign to the description property of this UpdateDetectorRuleDetails.

  • recommendation (str) – The value to assign to the recommendation property of this UpdateDetectorRuleDetails.

  • data_source_id (str) – The value to assign to the data_source_id property of this UpdateDetectorRuleDetails.

  • entities_mappings (list[oci.cloud_guard.models.EntitiesMapping]) – The value to assign to the entities_mappings property of this UpdateDetectorRuleDetails.

property condition

Gets the condition of this UpdateDetectorRuleDetails.

Returns

The condition of this UpdateDetectorRuleDetails.

Return type

oci.cloud_guard.models.Condition

property configurations

Gets the configurations of this UpdateDetectorRuleDetails. List of detector rule configurations

Returns

The configurations of this UpdateDetectorRuleDetails.

Return type

list[oci.cloud_guard.models.DetectorConfiguration]

property data_source_id

Gets the data_source_id of this UpdateDetectorRuleDetails. The unique identifier of the attached data source

Returns

The data_source_id of this UpdateDetectorRuleDetails.

Return type

str

property description

Gets the description of this UpdateDetectorRuleDetails. Description for the detector rule

Returns

The description of this UpdateDetectorRuleDetails.

Return type

str

property entities_mappings

Gets the entities_mappings of this UpdateDetectorRuleDetails. Data source entities mapping for a detector rule

Returns

The entities_mappings of this UpdateDetectorRuleDetails.

Return type

list[oci.cloud_guard.models.EntitiesMapping]

property is_enabled

[Required] Gets the is_enabled of this UpdateDetectorRuleDetails. Enablement status of the detector rule

Returns

The is_enabled of this UpdateDetectorRuleDetails.

Return type

bool

property labels

Gets the labels of this UpdateDetectorRuleDetails. User-defined labels for a detector rule

Returns

The labels of this UpdateDetectorRuleDetails.

Return type

list[str]

property recommendation

Gets the recommendation of this UpdateDetectorRuleDetails. Recommendation for the detector rule

Returns

The recommendation of this UpdateDetectorRuleDetails.

Return type

str

property risk_level

Gets the risk_level of this UpdateDetectorRuleDetails. The risk level of the detector rule

Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”

Returns

The risk_level of this UpdateDetectorRuleDetails.

Return type

str