/** * Data Safe API * APIs for using Oracle Data Safe. * OpenAPI spec version: 20181201 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * A DatabaseTableAccess is a resource corresponding to a row in database table access report. It contains * information about user's privilege grants that enable table access for the user. * It's a subresource of Security Policy Report resource and is always associated with a SecurityPolicyReport. * */ export interface DatabaseTableAccessEntry { /** * The unique key that identifies the table access report. It is numeric and unique within a security policy report. */ "key": string; /** * Grantee is the user who can access the table */ "grantee"?: string; /** * The type of the access the user has on the table, there can be one or more from SELECT, UPDATE, INSERT, OWNER or DELETE. * */ "accessType"?: model.AccessType; /** * The name of the schema the table belongs to. */ "tableSchema"?: string; /** * The name of the database table the user has access to. */ "tableName"?: string; /** * Type of the privilege user has, this includes System Privilege, Schema Privilege, Object Privilege, Column Privilege, * Owner or Schema Privilege on a schema. * */ "privilegeType"?: string; /** * The OCID of the of the target database. */ "targetId"?: string; /** * Name of the privilege. */ "privilege"?: model.PrivilegeName; /** * 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 * */ "privilegeGrantable"?: model.PrivilegeGrantableOption; /** * 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. * */ "grantFromRole"?: string; /** * A non-null value in this field indicates the object through which user has access to table, possible values could * be table or view. * */ "accessThroughObject"?: string; /** * If there are column level privileges on a table or view. */ "columnName"?: string; /** * The one who granted this privilege. */ "grantor"?: string; /** * Indicates whether the user has access to all the tables in the schema. */ "areAllTablesAccessible"?: boolean; /** * Indicates whether the access is constrained on a table via a view. */ "isAccessConstrainedByView"?: boolean; /** * Indicates whether the table access is constrained via Oracle Label Security. */ "isAccessConstrainedByLabelSecurity"?: boolean; /** * Indicates whether the table access is constrained via Oracle Database Vault. */ "isAccessConstrainedByDatabaseVault"?: boolean; /** * Indicates whether the table access is constrained via Virtual Private Database. */ "isAccessConstrainedByVirtualPrivateDatabase"?: boolean; /** * Indicates whether the table access is constrained via Oracle Data Redaction. */ "isAccessConstrainedByRedaction"?: boolean; /** * Indicates whether the table access is constrained via Real Application Security. */ "isAccessConstrainedByRealApplicationSecurity"?: boolean; /** * Indicates whether the table access is constrained via Oracle Database SQL Firewall. */ "isAccessConstrainedBySqlFirewall"?: boolean; /** * Indicates whether the table is marked as sensitive. */ "isSensitive"?: boolean; } export declare namespace DatabaseTableAccessEntry { function getJsonObj(obj: DatabaseTableAccessEntry): object; function getDeserializedJsonObj(obj: DatabaseTableAccessEntry): object; }