FirewallConfig

class oci.data_safe.models.FirewallConfig(**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 FirewallConfig.
EXCLUDE_JOB_INCLUDED A constant which can be used with the exclude_job property of a FirewallConfig.
STATUS_DISABLED A constant which can be used with the status property of a FirewallConfig.
STATUS_ENABLED A constant which can be used with the status property of a FirewallConfig.
VIOLATION_LOG_AUTO_PURGE_DISABLED A constant which can be used with the violation_log_auto_purge property of a FirewallConfig.
VIOLATION_LOG_AUTO_PURGE_ENABLED A constant which can be used with the violation_log_auto_purge property of a FirewallConfig.
exclude_job Gets the exclude_job of this FirewallConfig.
status [Required] Gets the status of this FirewallConfig.
time_status_updated Gets the time_status_updated of this FirewallConfig.
violation_log_auto_purge [Required] Gets the violation_log_auto_purge of this FirewallConfig.

Methods

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

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

EXCLUDE_JOB_INCLUDED = 'INCLUDED'

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

STATUS_DISABLED = 'DISABLED'

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

STATUS_ENABLED = 'ENABLED'

A constant which can be used with the status property of a FirewallConfig. 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 FirewallConfig. 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 FirewallConfig. This constant has a value of “ENABLED”

__init__(**kwargs)

Initializes a new FirewallConfig 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 FirewallConfig. 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 FirewallConfig. 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 FirewallConfig. 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 FirewallConfig.
exclude_job

Gets the exclude_job of this FirewallConfig. 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 FirewallConfig.
Return type:str
status

[Required] Gets the status of this FirewallConfig. Specifies if the firewall is enabled or disabled.

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 FirewallConfig.
Return type:str
time_status_updated

Gets the time_status_updated of this FirewallConfig. The date and time the firewall configuration was last updated, in the format defined by RFC3339.

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

[Required] Gets the violation_log_auto_purge of this FirewallConfig. 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 FirewallConfig.
Return type:str