DecryptionRule¶
-
class
oci.network_firewall.models.
DecryptionRule
(**kwargs)¶ Bases:
object
Decryption 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
ACTION_DECRYPT
A constant which can be used with the action property of a DecryptionRule. ACTION_NO_DECRYPT
A constant which can be used with the action property of a DecryptionRule. action
[Required] Gets the action of this DecryptionRule. condition
[Required] Gets the condition of this DecryptionRule. decryption_profile
Gets the decryption_profile of this DecryptionRule. name
[Required] Gets the name of this DecryptionRule. parent_resource_id
[Required] Gets the parent_resource_id of this DecryptionRule. position
Gets the position of this DecryptionRule. secret
Gets the secret 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.
- 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.
-
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
-
condition
¶ [Required] Gets the condition of this DecryptionRule.
Returns: The condition of this DecryptionRule. Return type: oci.network_firewall.models.DecryptionRuleMatchCriteria
-
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
-
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
-
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
-
position
¶ Gets the position of this DecryptionRule.
Returns: The position of this DecryptionRule. Return type: oci.network_firewall.models.RulePosition
-
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
-