DatabaseViewAccessEntry¶
-
class
oci.data_safe.models.
DatabaseViewAccessEntry
(**kwargs)¶ Bases:
object
A DatabaseViewAccessEntry object is a resource corresponding to a row in view authorization report. It’s a subresource of Security Policy Report resource and is always associated with a SecurityPolicyReport.
Attributes
ACCESS_TYPE_DELETE
A constant which can be used with the access_type property of a DatabaseViewAccessEntry. ACCESS_TYPE_INSERT
A constant which can be used with the access_type property of a DatabaseViewAccessEntry. ACCESS_TYPE_OWNER
A constant which can be used with the access_type property of a DatabaseViewAccessEntry. ACCESS_TYPE_SELECT
A constant which can be used with the access_type property of a DatabaseViewAccessEntry. ACCESS_TYPE_UPDATE
A constant which can be used with the access_type property of a DatabaseViewAccessEntry. PRIVILEGE_CREATE_ANY_INDEX
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_DELETE
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_DELETE_ANY_TABLE
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_GRANTABLE_ADMIN_OPTION
A constant which can be used with the privilege_grantable property of a DatabaseViewAccessEntry. PRIVILEGE_GRANTABLE_GRANT_OPTION
A constant which can be used with the privilege_grantable property of a DatabaseViewAccessEntry. PRIVILEGE_INDEX
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_INSERT
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_INSERT_ANY_TABLE
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_OWNER
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_READ
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_READ_ANY_TABLE
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_SELECT
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_SELECT_ANY_TABLE
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_UPDATE
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. PRIVILEGE_UPDATE_ANY_TABLE
A constant which can be used with the privilege property of a DatabaseViewAccessEntry. access_type
Gets the access_type of this DatabaseViewAccessEntry. column_name
Gets the column_name of this DatabaseViewAccessEntry. grant_from_role
Gets the grant_from_role of this DatabaseViewAccessEntry. grantee
[Required] Gets the grantee of this DatabaseViewAccessEntry. grantor
Gets the grantor of this DatabaseViewAccessEntry. is_access_constrained_by_database_vault
Gets the is_access_constrained_by_database_vault of this DatabaseViewAccessEntry. is_access_constrained_by_real_application_security
Gets the is_access_constrained_by_real_application_security of this DatabaseViewAccessEntry. is_access_constrained_by_redaction
Gets the is_access_constrained_by_redaction of this DatabaseViewAccessEntry. is_access_constrained_by_sql_firewall
Gets the is_access_constrained_by_sql_firewall of this DatabaseViewAccessEntry. is_access_constrained_by_virtual_private_database
Gets the is_access_constrained_by_virtual_private_database of this DatabaseViewAccessEntry. key
[Required] Gets the key of this DatabaseViewAccessEntry. privilege
Gets the privilege of this DatabaseViewAccessEntry. privilege_grantable
Gets the privilege_grantable of this DatabaseViewAccessEntry. privilege_type
Gets the privilege_type of this DatabaseViewAccessEntry. table_name
Gets the table_name of this DatabaseViewAccessEntry. table_schema
Gets the table_schema of this DatabaseViewAccessEntry. target_id
Gets the target_id of this DatabaseViewAccessEntry. view_name
Gets the view_name of this DatabaseViewAccessEntry. view_schema
Gets the view_schema of this DatabaseViewAccessEntry. view_text
Gets the view_text of this DatabaseViewAccessEntry. Methods
__init__
(**kwargs)Initializes a new DatabaseViewAccessEntry object with values from keyword arguments. -
ACCESS_TYPE_DELETE
= 'DELETE'¶ A constant which can be used with the access_type property of a DatabaseViewAccessEntry. This constant has a value of “DELETE”
-
ACCESS_TYPE_INSERT
= 'INSERT'¶ A constant which can be used with the access_type property of a DatabaseViewAccessEntry. This constant has a value of “INSERT”
-
ACCESS_TYPE_OWNER
= 'OWNER'¶ A constant which can be used with the access_type property of a DatabaseViewAccessEntry. This constant has a value of “OWNER”
-
ACCESS_TYPE_SELECT
= 'SELECT'¶ A constant which can be used with the access_type property of a DatabaseViewAccessEntry. This constant has a value of “SELECT”
-
ACCESS_TYPE_UPDATE
= 'UPDATE'¶ A constant which can be used with the access_type property of a DatabaseViewAccessEntry. This constant has a value of “UPDATE”
-
PRIVILEGE_CREATE_ANY_INDEX
= 'CREATE_ANY_INDEX'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “CREATE_ANY_INDEX”
-
PRIVILEGE_DELETE
= 'DELETE'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “DELETE”
-
PRIVILEGE_DELETE_ANY_TABLE
= 'DELETE_ANY_TABLE'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “DELETE_ANY_TABLE”
-
PRIVILEGE_GRANTABLE_ADMIN_OPTION
= 'ADMIN_OPTION'¶ A constant which can be used with the privilege_grantable property of a DatabaseViewAccessEntry. This constant has a value of “ADMIN_OPTION”
-
PRIVILEGE_GRANTABLE_GRANT_OPTION
= 'GRANT_OPTION'¶ A constant which can be used with the privilege_grantable property of a DatabaseViewAccessEntry. This constant has a value of “GRANT_OPTION”
-
PRIVILEGE_INDEX
= 'INDEX'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “INDEX”
-
PRIVILEGE_INSERT
= 'INSERT'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “INSERT”
-
PRIVILEGE_INSERT_ANY_TABLE
= 'INSERT_ANY_TABLE'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “INSERT_ANY_TABLE”
-
PRIVILEGE_OWNER
= 'OWNER'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “OWNER”
-
PRIVILEGE_READ
= 'READ'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “READ”
-
PRIVILEGE_READ_ANY_TABLE
= 'READ_ANY_TABLE'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “READ_ANY_TABLE”
-
PRIVILEGE_SELECT
= 'SELECT'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “SELECT”
-
PRIVILEGE_SELECT_ANY_TABLE
= 'SELECT_ANY_TABLE'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “SELECT_ANY_TABLE”
-
PRIVILEGE_UPDATE
= 'UPDATE'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “UPDATE”
-
PRIVILEGE_UPDATE_ANY_TABLE
= 'UPDATE_ANY_TABLE'¶ A constant which can be used with the privilege property of a DatabaseViewAccessEntry. This constant has a value of “UPDATE_ANY_TABLE”
-
__init__
(**kwargs)¶ Initializes a new DatabaseViewAccessEntry object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - key (str) – The value to assign to the key property of this DatabaseViewAccessEntry.
- grantee (str) – The value to assign to the grantee property of this DatabaseViewAccessEntry.
- access_type (str) – The value to assign to the access_type property of this DatabaseViewAccessEntry. Allowed values for this property are: “SELECT”, “UPDATE”, “INSERT”, “DELETE”, “OWNER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- table_schema (str) – The value to assign to the table_schema property of this DatabaseViewAccessEntry.
- table_name (str) – The value to assign to the table_name property of this DatabaseViewAccessEntry.
- privilege_type (str) – The value to assign to the privilege_type property of this DatabaseViewAccessEntry.
- target_id (str) – The value to assign to the target_id property of this DatabaseViewAccessEntry.
- privilege (str) – The value to assign to the privilege property of this DatabaseViewAccessEntry. Allowed values for this property are: “SELECT”, “UPDATE”, “INSERT”, “DELETE”, “READ”, “OWNER”, “INDEX”, “SELECT_ANY_TABLE”, “UPDATE_ANY_TABLE”, “INSERT_ANY_TABLE”, “DELETE_ANY_TABLE”, “READ_ANY_TABLE”, “CREATE_ANY_INDEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- privilege_grantable (str) – The value to assign to the privilege_grantable property of this DatabaseViewAccessEntry. Allowed values for this property are: “ADMIN_OPTION”, “GRANT_OPTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- grant_from_role (str) – The value to assign to the grant_from_role property of this DatabaseViewAccessEntry.
- view_schema (str) – The value to assign to the view_schema property of this DatabaseViewAccessEntry.
- view_name (str) – The value to assign to the view_name property of this DatabaseViewAccessEntry.
- view_text (str) – The value to assign to the view_text property of this DatabaseViewAccessEntry.
- column_name (str) – The value to assign to the column_name property of this DatabaseViewAccessEntry.
- grantor (str) – The value to assign to the grantor property of this DatabaseViewAccessEntry.
- is_access_constrained_by_database_vault (bool) – The value to assign to the is_access_constrained_by_database_vault property of this DatabaseViewAccessEntry.
- is_access_constrained_by_virtual_private_database (bool) – The value to assign to the is_access_constrained_by_virtual_private_database property of this DatabaseViewAccessEntry.
- is_access_constrained_by_redaction (bool) – The value to assign to the is_access_constrained_by_redaction property of this DatabaseViewAccessEntry.
- is_access_constrained_by_real_application_security (bool) – The value to assign to the is_access_constrained_by_real_application_security property of this DatabaseViewAccessEntry.
- is_access_constrained_by_sql_firewall (bool) – The value to assign to the is_access_constrained_by_sql_firewall property of this DatabaseViewAccessEntry.
-
access_type
¶ Gets the access_type of this DatabaseViewAccessEntry. The type of the access the user has on the table, there can be one or more from SELECT, UPDATE, INSERT or DELETE.
Allowed values for this property are: “SELECT”, “UPDATE”, “INSERT”, “DELETE”, “OWNER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The access_type of this DatabaseViewAccessEntry. Return type: str
-
column_name
¶ Gets the column_name of this DatabaseViewAccessEntry. If there are column level privileges on a table or view.
Returns: The column_name of this DatabaseViewAccessEntry. Return type: str
-
grant_from_role
¶ Gets the grant_from_role of this DatabaseViewAccessEntry. This can be empty in case of direct grant, in case of indirect grant, this attribute displays the name of the role which is granted to the user though which the user has access to the table.
Returns: The grant_from_role of this DatabaseViewAccessEntry. Return type: str
-
grantee
¶ [Required] Gets the grantee of this DatabaseViewAccessEntry. Grantee is the user who can access the table or view
Returns: The grantee of this DatabaseViewAccessEntry. Return type: str
-
grantor
¶ Gets the grantor of this DatabaseViewAccessEntry. The user who granted the privilege.
Returns: The grantor of this DatabaseViewAccessEntry. Return type: str
-
is_access_constrained_by_database_vault
¶ Gets the is_access_constrained_by_database_vault of this DatabaseViewAccessEntry. Indicates whether the table access is constrained via Oracle Database Vault.
Returns: The is_access_constrained_by_database_vault of this DatabaseViewAccessEntry. Return type: bool
-
is_access_constrained_by_real_application_security
¶ Gets the is_access_constrained_by_real_application_security of this DatabaseViewAccessEntry. Indicates whether the view access is constrained via Real Application Security.
Returns: The is_access_constrained_by_real_application_security of this DatabaseViewAccessEntry. Return type: bool
-
is_access_constrained_by_redaction
¶ Gets the is_access_constrained_by_redaction of this DatabaseViewAccessEntry. Indicates whether the view access is constrained via Oracle Data Redaction.
Returns: The is_access_constrained_by_redaction of this DatabaseViewAccessEntry. Return type: bool
-
is_access_constrained_by_sql_firewall
¶ Gets the is_access_constrained_by_sql_firewall of this DatabaseViewAccessEntry. Indicates whether the view access is constrained via Oracle Database SQL Firewall.
Returns: The is_access_constrained_by_sql_firewall of this DatabaseViewAccessEntry. Return type: bool
-
is_access_constrained_by_virtual_private_database
¶ Gets the is_access_constrained_by_virtual_private_database of this DatabaseViewAccessEntry. Indicates whether the view access is constrained via Virtual Private Database.
Returns: The is_access_constrained_by_virtual_private_database of this DatabaseViewAccessEntry. Return type: bool
-
key
¶ [Required] Gets the key of this DatabaseViewAccessEntry. The unique key that identifies the table access report. It is numeric and unique within a security policy report.
Returns: The key of this DatabaseViewAccessEntry. Return type: str
-
privilege
¶ Gets the privilege of this DatabaseViewAccessEntry. The name of the privilege.
Allowed values for this property are: “SELECT”, “UPDATE”, “INSERT”, “DELETE”, “READ”, “OWNER”, “INDEX”, “SELECT_ANY_TABLE”, “UPDATE_ANY_TABLE”, “INSERT_ANY_TABLE”, “DELETE_ANY_TABLE”, “READ_ANY_TABLE”, “CREATE_ANY_INDEX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The privilege of this DatabaseViewAccessEntry. Return type: str
-
privilege_grantable
¶ Gets the privilege_grantable of this DatabaseViewAccessEntry. Indicates whether the grantee can grant this privilege to other users. Privileges can be granted to a user or role with GRANT_OPTION or ADMIN_OPTION
Allowed values for this property are: “ADMIN_OPTION”, “GRANT_OPTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The privilege_grantable of this DatabaseViewAccessEntry. Return type: str
-
privilege_type
¶ Gets the privilege_type of this DatabaseViewAccessEntry. Type of the privilege user has, this includes System Privilege, Schema Privilege, Object Privilege, Column Privilege, Owner or Schema Privilege on a schema.
Returns: The privilege_type of this DatabaseViewAccessEntry. Return type: str
-
table_name
¶ Gets the table_name of this DatabaseViewAccessEntry. The name of the database table the user has access to.
Returns: The table_name of this DatabaseViewAccessEntry. Return type: str
-
table_schema
¶ Gets the table_schema of this DatabaseViewAccessEntry. The name of the schema the table belongs to.
Returns: The table_schema of this DatabaseViewAccessEntry. Return type: str
-
target_id
¶ Gets the target_id of this DatabaseViewAccessEntry. The OCID of the of the target database.
Returns: The target_id of this DatabaseViewAccessEntry. Return type: str
-
view_name
¶ Gets the view_name of this DatabaseViewAccessEntry. The name of the view.
Returns: The view_name of this DatabaseViewAccessEntry. Return type: str
-
view_schema
¶ Gets the view_schema of this DatabaseViewAccessEntry. The name of the schema.
Returns: The view_schema of this DatabaseViewAccessEntry. Return type: str
-
view_text
¶ Gets the view_text of this DatabaseViewAccessEntry. Definition of the view.
Returns: The view_text of this DatabaseViewAccessEntry. Return type: str
-