BulkCreateSqlFirewallAllowedSqlsDetails

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

Bases: object

The details used to append the violation logs as allowed SQLs

Attributes

LOG_TYPE_VIOLATION_LOG A constant which can be used with the log_type property of a BulkCreateSqlFirewallAllowedSqlsDetails.
log_type [Required] Gets the log_type of this BulkCreateSqlFirewallAllowedSqlsDetails.
selection [Required] Gets the selection of this BulkCreateSqlFirewallAllowedSqlsDetails.
sql_firewall_policy_id [Required] Gets the sql_firewall_policy_id of this BulkCreateSqlFirewallAllowedSqlsDetails.

Methods

__init__(**kwargs) Initializes a new BulkCreateSqlFirewallAllowedSqlsDetails object with values from keyword arguments.
LOG_TYPE_VIOLATION_LOG = 'VIOLATION_LOG'

A constant which can be used with the log_type property of a BulkCreateSqlFirewallAllowedSqlsDetails. This constant has a value of “VIOLATION_LOG”

__init__(**kwargs)

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

Parameters:
  • sql_firewall_policy_id (str) – The value to assign to the sql_firewall_policy_id property of this BulkCreateSqlFirewallAllowedSqlsDetails.
  • log_type (str) – The value to assign to the log_type property of this BulkCreateSqlFirewallAllowedSqlsDetails. Allowed values for this property are: “VIOLATION_LOG”
  • selection (oci.data_safe.models.SelectionDetails) – The value to assign to the selection property of this BulkCreateSqlFirewallAllowedSqlsDetails.
log_type

[Required] Gets the log_type of this BulkCreateSqlFirewallAllowedSqlsDetails. The type of log to be added as an allowed sql.

Allowed values for this property are: “VIOLATION_LOG”

Returns:The log_type of this BulkCreateSqlFirewallAllowedSqlsDetails.
Return type:str
selection

[Required] Gets the selection of this BulkCreateSqlFirewallAllowedSqlsDetails.

Returns:The selection of this BulkCreateSqlFirewallAllowedSqlsDetails.
Return type:oci.data_safe.models.SelectionDetails
sql_firewall_policy_id

[Required] Gets the sql_firewall_policy_id of this BulkCreateSqlFirewallAllowedSqlsDetails. The OCID of the SQL firewall policy where new allowed SQLs needs to be added.

Returns:The sql_firewall_policy_id of this BulkCreateSqlFirewallAllowedSqlsDetails.
Return type:str