1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getSqlFirewallAllowedSqls
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DataSafe.getSqlFirewallAllowedSqls

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Sql Firewall Allowed Sqls in Oracle Cloud Infrastructure Data Safe service.

    Retrieves a list of all SQL Firewall allowed SQL statements.

    The ListSqlFirewallAllowedSqls operation returns only the SQL Firewall allowed SQL statements in the specified compartmentId.

    The parameter accessLevel specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn’t have access to even one of the child compartments. This is valid only when compartmentIdInSubtree is set to true.

    The parameter compartmentIdInSubtree applies when you perform ListSqlFirewallPolicies on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSqlFirewallAllowedSqls = oci.DataSafe.getSqlFirewallAllowedSqls({
        compartmentId: compartmentId,
        accessLevel: sqlFirewallAllowedSqlAccessLevel,
        compartmentIdInSubtree: sqlFirewallAllowedSqlCompartmentIdInSubtree,
        scimQuery: sqlFirewallAllowedSqlScimQuery,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sql_firewall_allowed_sqls = oci.DataSafe.get_sql_firewall_allowed_sqls(compartment_id=compartment_id,
        access_level=sql_firewall_allowed_sql_access_level,
        compartment_id_in_subtree=sql_firewall_allowed_sql_compartment_id_in_subtree,
        scim_query=sql_firewall_allowed_sql_scim_query)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetSqlFirewallAllowedSqls(ctx, &datasafe.GetSqlFirewallAllowedSqlsArgs{
    			CompartmentId:          compartmentId,
    			AccessLevel:            pulumi.StringRef(sqlFirewallAllowedSqlAccessLevel),
    			CompartmentIdInSubtree: pulumi.BoolRef(sqlFirewallAllowedSqlCompartmentIdInSubtree),
    			ScimQuery:              pulumi.StringRef(sqlFirewallAllowedSqlScimQuery),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testSqlFirewallAllowedSqls = Oci.DataSafe.GetSqlFirewallAllowedSqls.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = sqlFirewallAllowedSqlAccessLevel,
            CompartmentIdInSubtree = sqlFirewallAllowedSqlCompartmentIdInSubtree,
            ScimQuery = sqlFirewallAllowedSqlScimQuery,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetSqlFirewallAllowedSqlsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testSqlFirewallAllowedSqls = DataSafeFunctions.getSqlFirewallAllowedSqls(GetSqlFirewallAllowedSqlsArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(sqlFirewallAllowedSqlAccessLevel)
                .compartmentIdInSubtree(sqlFirewallAllowedSqlCompartmentIdInSubtree)
                .scimQuery(sqlFirewallAllowedSqlScimQuery)
                .build());
    
        }
    }
    
    variables:
      testSqlFirewallAllowedSqls:
        fn::invoke:
          Function: oci:DataSafe:getSqlFirewallAllowedSqls
          Arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${sqlFirewallAllowedSqlAccessLevel}
            compartmentIdInSubtree: ${sqlFirewallAllowedSqlCompartmentIdInSubtree}
            scimQuery: ${sqlFirewallAllowedSqlScimQuery}
    

    Using getSqlFirewallAllowedSqls

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSqlFirewallAllowedSqls(args: GetSqlFirewallAllowedSqlsArgs, opts?: InvokeOptions): Promise<GetSqlFirewallAllowedSqlsResult>
    function getSqlFirewallAllowedSqlsOutput(args: GetSqlFirewallAllowedSqlsOutputArgs, opts?: InvokeOptions): Output<GetSqlFirewallAllowedSqlsResult>
    def get_sql_firewall_allowed_sqls(access_level: Optional[str] = None,
                                      compartment_id: Optional[str] = None,
                                      compartment_id_in_subtree: Optional[bool] = None,
                                      filters: Optional[Sequence[_datasafe.GetSqlFirewallAllowedSqlsFilter]] = None,
                                      scim_query: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSqlFirewallAllowedSqlsResult
    def get_sql_firewall_allowed_sqls_output(access_level: Optional[pulumi.Input[str]] = None,
                                      compartment_id: Optional[pulumi.Input[str]] = None,
                                      compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetSqlFirewallAllowedSqlsFilterArgs]]]] = None,
                                      scim_query: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSqlFirewallAllowedSqlsResult]
    func GetSqlFirewallAllowedSqls(ctx *Context, args *GetSqlFirewallAllowedSqlsArgs, opts ...InvokeOption) (*GetSqlFirewallAllowedSqlsResult, error)
    func GetSqlFirewallAllowedSqlsOutput(ctx *Context, args *GetSqlFirewallAllowedSqlsOutputArgs, opts ...InvokeOption) GetSqlFirewallAllowedSqlsResultOutput

    > Note: This function is named GetSqlFirewallAllowedSqls in the Go SDK.

    public static class GetSqlFirewallAllowedSqls 
    {
        public static Task<GetSqlFirewallAllowedSqlsResult> InvokeAsync(GetSqlFirewallAllowedSqlsArgs args, InvokeOptions? opts = null)
        public static Output<GetSqlFirewallAllowedSqlsResult> Invoke(GetSqlFirewallAllowedSqlsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSqlFirewallAllowedSqlsResult> getSqlFirewallAllowedSqls(GetSqlFirewallAllowedSqlsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getSqlFirewallAllowedSqls:getSqlFirewallAllowedSqls
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    Filters List<GetSqlFirewallAllowedSqlsFilter>
    ScimQuery string

    The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

    Example: query=(currentUser eq 'SCOTT') and (topLevel eq 'YES')

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    Filters []GetSqlFirewallAllowedSqlsFilter
    ScimQuery string

    The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

    Example: query=(currentUser eq 'SCOTT') and (topLevel eq 'YES')

    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    filters List<GetSqlFirewallAllowedSqlsFilter>
    scimQuery String

    The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

    Example: query=(currentUser eq 'SCOTT') and (topLevel eq 'YES')

    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    accessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    filters GetSqlFirewallAllowedSqlsFilter[]
    scimQuery string

    The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

    Example: query=(currentUser eq 'SCOTT') and (topLevel eq 'YES')

    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    access_level str
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartment_id_in_subtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    filters Sequence[datasafe.GetSqlFirewallAllowedSqlsFilter]
    scim_query str

    The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

    Example: query=(currentUser eq 'SCOTT') and (topLevel eq 'YES')

    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    filters List<Property Map>
    scimQuery String

    The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

    Example: query=(currentUser eq 'SCOTT') and (topLevel eq 'YES')

    getSqlFirewallAllowedSqls Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment containing the SQL Firewall allowed SQL.
    Id string
    The provider-assigned unique ID for this managed resource.
    SqlFirewallAllowedSqlCollections List<GetSqlFirewallAllowedSqlsSqlFirewallAllowedSqlCollection>
    The list of sql_firewall_allowed_sql_collection.
    AccessLevel string
    CompartmentIdInSubtree bool
    Filters List<GetSqlFirewallAllowedSqlsFilter>
    ScimQuery string
    CompartmentId string
    The OCID of the compartment containing the SQL Firewall allowed SQL.
    Id string
    The provider-assigned unique ID for this managed resource.
    SqlFirewallAllowedSqlCollections []GetSqlFirewallAllowedSqlsSqlFirewallAllowedSqlCollection
    The list of sql_firewall_allowed_sql_collection.
    AccessLevel string
    CompartmentIdInSubtree bool
    Filters []GetSqlFirewallAllowedSqlsFilter
    ScimQuery string
    compartmentId String
    The OCID of the compartment containing the SQL Firewall allowed SQL.
    id String
    The provider-assigned unique ID for this managed resource.
    sqlFirewallAllowedSqlCollections List<GetSqlFirewallAllowedSqlsSqlFirewallAllowedSqlCollection>
    The list of sql_firewall_allowed_sql_collection.
    accessLevel String
    compartmentIdInSubtree Boolean
    filters List<GetSqlFirewallAllowedSqlsFilter>
    scimQuery String
    compartmentId string
    The OCID of the compartment containing the SQL Firewall allowed SQL.
    id string
    The provider-assigned unique ID for this managed resource.
    sqlFirewallAllowedSqlCollections GetSqlFirewallAllowedSqlsSqlFirewallAllowedSqlCollection[]
    The list of sql_firewall_allowed_sql_collection.
    accessLevel string
    compartmentIdInSubtree boolean
    filters GetSqlFirewallAllowedSqlsFilter[]
    scimQuery string
    compartment_id str
    The OCID of the compartment containing the SQL Firewall allowed SQL.
    id str
    The provider-assigned unique ID for this managed resource.
    sql_firewall_allowed_sql_collections Sequence[datasafe.GetSqlFirewallAllowedSqlsSqlFirewallAllowedSqlCollection]
    The list of sql_firewall_allowed_sql_collection.
    access_level str
    compartment_id_in_subtree bool
    filters Sequence[datasafe.GetSqlFirewallAllowedSqlsFilter]
    scim_query str
    compartmentId String
    The OCID of the compartment containing the SQL Firewall allowed SQL.
    id String
    The provider-assigned unique ID for this managed resource.
    sqlFirewallAllowedSqlCollections List<Property Map>
    The list of sql_firewall_allowed_sql_collection.
    accessLevel String
    compartmentIdInSubtree Boolean
    filters List<Property Map>
    scimQuery String

    Supporting Types

    GetSqlFirewallAllowedSqlsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetSqlFirewallAllowedSqlsSqlFirewallAllowedSqlCollection

    GetSqlFirewallAllowedSqlsSqlFirewallAllowedSqlCollectionItem

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    CurrentUser string
    The name of the user that SQL was executed as.
    DbUserName string
    The database user name.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the SQL Firewall allowed SQL.
    DisplayName string
    The display name of the SQL Firewall allowed SQL.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of the SQL Firewall allowed SQL.
    SqlAccessedObjects List<string>
    The objects accessed by the SQL.
    SqlFirewallPolicyId string
    The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
    SqlLevel string
    Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
    SqlText string
    The SQL text of the SQL Firewall allowed SQL.
    State string
    The current state of the SQL Firewall allowed SQL.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCollected string
    The time the the SQL Firewall allowed SQL was collected from the target database, in the format defined by RFC3339.
    TimeUpdated string
    The last date and time the SQL Firewall allowed SQL was updated, in the format defined by RFC3339.
    Version double
    Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were added in the same batch or not.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    CurrentUser string
    The name of the user that SQL was executed as.
    DbUserName string
    The database user name.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    The description of the SQL Firewall allowed SQL.
    DisplayName string
    The display name of the SQL Firewall allowed SQL.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of the SQL Firewall allowed SQL.
    SqlAccessedObjects []string
    The objects accessed by the SQL.
    SqlFirewallPolicyId string
    The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
    SqlLevel string
    Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
    SqlText string
    The SQL text of the SQL Firewall allowed SQL.
    State string
    The current state of the SQL Firewall allowed SQL.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCollected string
    The time the the SQL Firewall allowed SQL was collected from the target database, in the format defined by RFC3339.
    TimeUpdated string
    The last date and time the SQL Firewall allowed SQL was updated, in the format defined by RFC3339.
    Version float64
    Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were added in the same batch or not.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    currentUser String
    The name of the user that SQL was executed as.
    dbUserName String
    The database user name.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the SQL Firewall allowed SQL.
    displayName String
    The display name of the SQL Firewall allowed SQL.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of the SQL Firewall allowed SQL.
    sqlAccessedObjects List<String>
    The objects accessed by the SQL.
    sqlFirewallPolicyId String
    The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
    sqlLevel String
    Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
    sqlText String
    The SQL text of the SQL Firewall allowed SQL.
    state String
    The current state of the SQL Firewall allowed SQL.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCollected String
    The time the the SQL Firewall allowed SQL was collected from the target database, in the format defined by RFC3339.
    timeUpdated String
    The last date and time the SQL Firewall allowed SQL was updated, in the format defined by RFC3339.
    version Double
    Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were added in the same batch or not.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    currentUser string
    The name of the user that SQL was executed as.
    dbUserName string
    The database user name.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    The description of the SQL Firewall allowed SQL.
    displayName string
    The display name of the SQL Firewall allowed SQL.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id string
    The OCID of the SQL Firewall allowed SQL.
    sqlAccessedObjects string[]
    The objects accessed by the SQL.
    sqlFirewallPolicyId string
    The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
    sqlLevel string
    Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
    sqlText string
    The SQL text of the SQL Firewall allowed SQL.
    state string
    The current state of the SQL Firewall allowed SQL.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCollected string
    The time the the SQL Firewall allowed SQL was collected from the target database, in the format defined by RFC3339.
    timeUpdated string
    The last date and time the SQL Firewall allowed SQL was updated, in the format defined by RFC3339.
    version number
    Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were added in the same batch or not.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    current_user str
    The name of the user that SQL was executed as.
    db_user_name str
    The database user name.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    The description of the SQL Firewall allowed SQL.
    display_name str
    The display name of the SQL Firewall allowed SQL.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id str
    The OCID of the SQL Firewall allowed SQL.
    sql_accessed_objects Sequence[str]
    The objects accessed by the SQL.
    sql_firewall_policy_id str
    The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
    sql_level str
    Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
    sql_text str
    The SQL text of the SQL Firewall allowed SQL.
    state str
    The current state of the SQL Firewall allowed SQL.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_collected str
    The time the the SQL Firewall allowed SQL was collected from the target database, in the format defined by RFC3339.
    time_updated str
    The last date and time the SQL Firewall allowed SQL was updated, in the format defined by RFC3339.
    version float
    Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were added in the same batch or not.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    currentUser String
    The name of the user that SQL was executed as.
    dbUserName String
    The database user name.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    The description of the SQL Firewall allowed SQL.
    displayName String
    The display name of the SQL Firewall allowed SQL.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of the SQL Firewall allowed SQL.
    sqlAccessedObjects List<String>
    The objects accessed by the SQL.
    sqlFirewallPolicyId String
    The OCID of the SQL Firewall policy corresponding to the SQL Firewall allowed SQL.
    sqlLevel String
    Specifies the level of SQL included for this SQL Firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.
    sqlText String
    The SQL text of the SQL Firewall allowed SQL.
    state String
    The current state of the SQL Firewall allowed SQL.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCollected String
    The time the the SQL Firewall allowed SQL was collected from the target database, in the format defined by RFC3339.
    timeUpdated String
    The last date and time the SQL Firewall allowed SQL was updated, in the format defined by RFC3339.
    version Number
    Version of the associated SQL Firewall policy. This identifies whether the allowed SQLs were added in the same batch or not.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi