SqlFirewallPolicyDimensions

class oci.data_safe.models.SqlFirewallPolicyDimensions(**kwargs)

Bases: object

The dimensions available for SQL Firewall policy analytics.

Attributes

ENFORCEMENT_SCOPE_ENFORCE_ALL A constant which can be used with the enforcement_scope property of a SqlFirewallPolicyDimensions.
ENFORCEMENT_SCOPE_ENFORCE_CONTEXT A constant which can be used with the enforcement_scope property of a SqlFirewallPolicyDimensions.
ENFORCEMENT_SCOPE_ENFORCE_SQL A constant which can be used with the enforcement_scope property of a SqlFirewallPolicyDimensions.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions.
VIOLATION_ACTION_BLOCK A constant which can be used with the violation_action property of a SqlFirewallPolicyDimensions.
VIOLATION_ACTION_OBSERVE A constant which can be used with the violation_action property of a SqlFirewallPolicyDimensions.
enforcement_scope Gets the enforcement_scope of this SqlFirewallPolicyDimensions.
lifecycle_state Gets the lifecycle_state of this SqlFirewallPolicyDimensions.
security_policy_id Gets the security_policy_id of this SqlFirewallPolicyDimensions.
violation_action Gets the violation_action of this SqlFirewallPolicyDimensions.

Methods

__init__(**kwargs) Initializes a new SqlFirewallPolicyDimensions object with values from keyword arguments.
ENFORCEMENT_SCOPE_ENFORCE_ALL = 'ENFORCE_ALL'

A constant which can be used with the enforcement_scope property of a SqlFirewallPolicyDimensions. This constant has a value of “ENFORCE_ALL”

ENFORCEMENT_SCOPE_ENFORCE_CONTEXT = 'ENFORCE_CONTEXT'

A constant which can be used with the enforcement_scope property of a SqlFirewallPolicyDimensions. This constant has a value of “ENFORCE_CONTEXT”

ENFORCEMENT_SCOPE_ENFORCE_SQL = 'ENFORCE_SQL'

A constant which can be used with the enforcement_scope property of a SqlFirewallPolicyDimensions. This constant has a value of “ENFORCE_SQL”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a SqlFirewallPolicyDimensions. This constant has a value of “UPDATING”

VIOLATION_ACTION_BLOCK = 'BLOCK'

A constant which can be used with the violation_action property of a SqlFirewallPolicyDimensions. This constant has a value of “BLOCK”

VIOLATION_ACTION_OBSERVE = 'OBSERVE'

A constant which can be used with the violation_action property of a SqlFirewallPolicyDimensions. This constant has a value of “OBSERVE”

__init__(**kwargs)

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

Parameters:
  • security_policy_id (str) – The value to assign to the security_policy_id property of this SqlFirewallPolicyDimensions.
  • enforcement_scope (str) – The value to assign to the enforcement_scope property of this SqlFirewallPolicyDimensions. Allowed values for this property are: “ENFORCE_CONTEXT”, “ENFORCE_SQL”, “ENFORCE_ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • violation_action (str) – The value to assign to the violation_action property of this SqlFirewallPolicyDimensions. Allowed values for this property are: “BLOCK”, “OBSERVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this SqlFirewallPolicyDimensions. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “FAILED”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
enforcement_scope

Gets the enforcement_scope of this SqlFirewallPolicyDimensions. Specifies the SQL Firewall policy enforcement option.

Allowed values for this property are: “ENFORCE_CONTEXT”, “ENFORCE_SQL”, “ENFORCE_ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The enforcement_scope of this SqlFirewallPolicyDimensions.
Return type:str
lifecycle_state

Gets the lifecycle_state of this SqlFirewallPolicyDimensions. The current state of the SQL Firewall policy.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “FAILED”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this SqlFirewallPolicyDimensions.
Return type:str
security_policy_id

Gets the security_policy_id of this SqlFirewallPolicyDimensions. The OCID of the security policy corresponding to the SQL Firewall policy.

Returns:The security_policy_id of this SqlFirewallPolicyDimensions.
Return type:str
violation_action

Gets the violation_action of this SqlFirewallPolicyDimensions. Specifies the mode in which the SQL Firewall policy is enabled.

Allowed values for this property are: “BLOCK”, “OBSERVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The violation_action of this SqlFirewallPolicyDimensions.
Return type:str