SqlFirewallConfig

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

Bases: object

The SQL Firewall related configurations.

Attributes

EXCLUDE_JOB_EXCLUDED A constant which can be used with the exclude_job property of a SqlFirewallConfig.
EXCLUDE_JOB_INCLUDED A constant which can be used with the exclude_job property of a SqlFirewallConfig.
STATUS_DISABLED A constant which can be used with the status property of a SqlFirewallConfig.
STATUS_ENABLED A constant which can be used with the status property of a SqlFirewallConfig.
VIOLATION_LOG_AUTO_PURGE_DISABLED A constant which can be used with the violation_log_auto_purge property of a SqlFirewallConfig.
VIOLATION_LOG_AUTO_PURGE_ENABLED A constant which can be used with the violation_log_auto_purge property of a SqlFirewallConfig.
exclude_job Gets the exclude_job of this SqlFirewallConfig.
status [Required] Gets the status of this SqlFirewallConfig.
time_status_updated Gets the time_status_updated of this SqlFirewallConfig.
violation_log_auto_purge [Required] Gets the violation_log_auto_purge of this SqlFirewallConfig.

Methods

__init__(**kwargs) Initializes a new SqlFirewallConfig object with values from keyword arguments.
EXCLUDE_JOB_EXCLUDED = 'EXCLUDED'

A constant which can be used with the exclude_job property of a SqlFirewallConfig. This constant has a value of “EXCLUDED”

EXCLUDE_JOB_INCLUDED = 'INCLUDED'

A constant which can be used with the exclude_job property of a SqlFirewallConfig. This constant has a value of “INCLUDED”

STATUS_DISABLED = 'DISABLED'

A constant which can be used with the status property of a SqlFirewallConfig. This constant has a value of “DISABLED”

STATUS_ENABLED = 'ENABLED'

A constant which can be used with the status property of a SqlFirewallConfig. This constant has a value of “ENABLED”

VIOLATION_LOG_AUTO_PURGE_DISABLED = 'DISABLED'

A constant which can be used with the violation_log_auto_purge property of a SqlFirewallConfig. This constant has a value of “DISABLED”

VIOLATION_LOG_AUTO_PURGE_ENABLED = 'ENABLED'

A constant which can be used with the violation_log_auto_purge property of a SqlFirewallConfig. This constant has a value of “ENABLED”

__init__(**kwargs)

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

Parameters:
  • status (str) – The value to assign to the status property of this SqlFirewallConfig. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • violation_log_auto_purge (str) – The value to assign to the violation_log_auto_purge property of this SqlFirewallConfig. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • exclude_job (str) – The value to assign to the exclude_job property of this SqlFirewallConfig. Allowed values for this property are: “EXCLUDED”, “INCLUDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_status_updated (datetime) – The value to assign to the time_status_updated property of this SqlFirewallConfig.
exclude_job

Gets the exclude_job of this SqlFirewallConfig. Specifies whether the firewall should include or exclude the database internal job activities.

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

Returns:The exclude_job of this SqlFirewallConfig.
Return type:str
status

[Required] Gets the status of this SqlFirewallConfig. Specifies if the firewall is enabled or disabled on the target database.

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

Returns:The status of this SqlFirewallConfig.
Return type:str
time_status_updated

Gets the time_status_updated of this SqlFirewallConfig. The most recent time when the firewall status is updated, in the format defined by RFC3339.

Returns:The time_status_updated of this SqlFirewallConfig.
Return type:datetime
violation_log_auto_purge

[Required] Gets the violation_log_auto_purge of this SqlFirewallConfig. Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.

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

Returns:The violation_log_auto_purge of this SqlFirewallConfig.
Return type:str