DecryptionRule¶
- class oci.network_firewall.models.DecryptionRule(**kwargs)¶
Bases:
objectDecryption Rule used in the firewall policy rules. A Decryption Rule is used to define which traffic should be decrypted by the firewall, and how it should do so.
Attributes:
A constant which can be used with the action property of a DecryptionRule.
A constant which can be used with the action property of a DecryptionRule.
[Required] Gets the action of this DecryptionRule.
[Required] Gets the condition of this DecryptionRule.
Gets the decryption_profile of this DecryptionRule.
Gets the description of this DecryptionRule.
[Required] Gets the name of this DecryptionRule.
[Required] Gets the parent_resource_id of this DecryptionRule.
Gets the position of this DecryptionRule.
Gets the secret of this DecryptionRule.
Gets the secrets of this DecryptionRule.
Methods:
__init__(**kwargs)Initializes a new DecryptionRule object with values from keyword arguments.
- ACTION_DECRYPT = 'DECRYPT'¶
A constant which can be used with the action property of a DecryptionRule. This constant has a value of “DECRYPT”
- ACTION_NO_DECRYPT = 'NO_DECRYPT'¶
A constant which can be used with the action property of a DecryptionRule. This constant has a value of “NO_DECRYPT”
- __init__(**kwargs)¶
Initializes a new DecryptionRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this DecryptionRule.
condition (oci.network_firewall.models.DecryptionRuleMatchCriteria) – The value to assign to the condition property of this DecryptionRule.
action (str) – The value to assign to the action property of this DecryptionRule. Allowed values for this property are: “NO_DECRYPT”, “DECRYPT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
decryption_profile (str) – The value to assign to the decryption_profile property of this DecryptionRule.
secret (str) – The value to assign to the secret property of this DecryptionRule.
secrets (list[str]) – The value to assign to the secrets property of this DecryptionRule.
position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this DecryptionRule.
parent_resource_id (str) – The value to assign to the parent_resource_id property of this DecryptionRule.
description (str) – The value to assign to the description property of this DecryptionRule.
- property action¶
[Required] Gets the action of this DecryptionRule. Action:
NO_DECRYPT - Matching traffic is not decrypted.
DECRYPT - Matching traffic is decrypted with the specified secret according to the specified decryptionProfile.
Allowed values for this property are: “NO_DECRYPT”, “DECRYPT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The action of this DecryptionRule.
- Return type
str
- property condition¶
[Required] Gets the condition of this DecryptionRule.
- Returns
The condition of this DecryptionRule.
- Return type
- property decryption_profile¶
Gets the decryption_profile of this DecryptionRule. The name of the decryption profile to use.
- Returns
The decryption_profile of this DecryptionRule.
- Return type
str
- property description¶
Gets the description of this DecryptionRule. The description of the decryption rule. This field can be used to add additional info.
- Returns
The description of this DecryptionRule.
- Return type
str
- property name¶
[Required] Gets the name of this DecryptionRule. Name for the decryption rule, must be unique within the policy.
- Returns
The name of this DecryptionRule.
- Return type
str
- property parent_resource_id¶
[Required] Gets the parent_resource_id of this DecryptionRule. OCID of the Network Firewall Policy this decryption rule belongs to.
- Returns
The parent_resource_id of this DecryptionRule.
- Return type
str
- property position¶
Gets the position of this DecryptionRule.
- Returns
The position of this DecryptionRule.
- Return type
- property secret¶
Gets the secret of this DecryptionRule. The name of a mapped secret. Its type must match that of the specified decryption profile.
- Returns
The secret of this DecryptionRule.
- Return type
str
- property secrets¶
Gets the secrets of this DecryptionRule. An array of mapped secrets.
- Returns
The secrets of this DecryptionRule.
- Return type
list[str]