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

oci.DataSafe.getDatabaseSecurityConfigs

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 Database Security Configs in Oracle Cloud Infrastructure Data Safe service.

    Retrieves a list of all database security configurations in Data Safe.

    The ListDatabaseSecurityConfigs operation returns only the database security configurations 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 ListDatabaseSecurityConfigs 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 testDatabaseSecurityConfigs = oci.DataSafe.getDatabaseSecurityConfigs({
        compartmentId: compartmentId,
        accessLevel: databaseSecurityConfigAccessLevel,
        compartmentIdInSubtree: databaseSecurityConfigCompartmentIdInSubtree,
        databaseSecurityConfigId: testDatabaseSecurityConfig.id,
        displayName: databaseSecurityConfigDisplayName,
        state: databaseSecurityConfigState,
        targetId: testTarget.id,
        timeCreatedGreaterThanOrEqualTo: databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo,
        timeCreatedLessThan: databaseSecurityConfigTimeCreatedLessThan,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_database_security_configs = oci.DataSafe.get_database_security_configs(compartment_id=compartment_id,
        access_level=database_security_config_access_level,
        compartment_id_in_subtree=database_security_config_compartment_id_in_subtree,
        database_security_config_id=test_database_security_config["id"],
        display_name=database_security_config_display_name,
        state=database_security_config_state,
        target_id=test_target["id"],
        time_created_greater_than_or_equal_to=database_security_config_time_created_greater_than_or_equal_to,
        time_created_less_than=database_security_config_time_created_less_than)
    
    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.GetDatabaseSecurityConfigs(ctx, &datasafe.GetDatabaseSecurityConfigsArgs{
    			CompartmentId:                   compartmentId,
    			AccessLevel:                     pulumi.StringRef(databaseSecurityConfigAccessLevel),
    			CompartmentIdInSubtree:          pulumi.BoolRef(databaseSecurityConfigCompartmentIdInSubtree),
    			DatabaseSecurityConfigId:        pulumi.StringRef(testDatabaseSecurityConfig.Id),
    			DisplayName:                     pulumi.StringRef(databaseSecurityConfigDisplayName),
    			State:                           pulumi.StringRef(databaseSecurityConfigState),
    			TargetId:                        pulumi.StringRef(testTarget.Id),
    			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo),
    			TimeCreatedLessThan:             pulumi.StringRef(databaseSecurityConfigTimeCreatedLessThan),
    		}, 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 testDatabaseSecurityConfigs = Oci.DataSafe.GetDatabaseSecurityConfigs.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = databaseSecurityConfigAccessLevel,
            CompartmentIdInSubtree = databaseSecurityConfigCompartmentIdInSubtree,
            DatabaseSecurityConfigId = testDatabaseSecurityConfig.Id,
            DisplayName = databaseSecurityConfigDisplayName,
            State = databaseSecurityConfigState,
            TargetId = testTarget.Id,
            TimeCreatedGreaterThanOrEqualTo = databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo,
            TimeCreatedLessThan = databaseSecurityConfigTimeCreatedLessThan,
        });
    
    });
    
    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.GetDatabaseSecurityConfigsArgs;
    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 testDatabaseSecurityConfigs = DataSafeFunctions.getDatabaseSecurityConfigs(GetDatabaseSecurityConfigsArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(databaseSecurityConfigAccessLevel)
                .compartmentIdInSubtree(databaseSecurityConfigCompartmentIdInSubtree)
                .databaseSecurityConfigId(testDatabaseSecurityConfig.id())
                .displayName(databaseSecurityConfigDisplayName)
                .state(databaseSecurityConfigState)
                .targetId(testTarget.id())
                .timeCreatedGreaterThanOrEqualTo(databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo)
                .timeCreatedLessThan(databaseSecurityConfigTimeCreatedLessThan)
                .build());
    
        }
    }
    
    variables:
      testDatabaseSecurityConfigs:
        fn::invoke:
          Function: oci:DataSafe:getDatabaseSecurityConfigs
          Arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${databaseSecurityConfigAccessLevel}
            compartmentIdInSubtree: ${databaseSecurityConfigCompartmentIdInSubtree}
            databaseSecurityConfigId: ${testDatabaseSecurityConfig.id}
            displayName: ${databaseSecurityConfigDisplayName}
            state: ${databaseSecurityConfigState}
            targetId: ${testTarget.id}
            timeCreatedGreaterThanOrEqualTo: ${databaseSecurityConfigTimeCreatedGreaterThanOrEqualTo}
            timeCreatedLessThan: ${databaseSecurityConfigTimeCreatedLessThan}
    

    Using getDatabaseSecurityConfigs

    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 getDatabaseSecurityConfigs(args: GetDatabaseSecurityConfigsArgs, opts?: InvokeOptions): Promise<GetDatabaseSecurityConfigsResult>
    function getDatabaseSecurityConfigsOutput(args: GetDatabaseSecurityConfigsOutputArgs, opts?: InvokeOptions): Output<GetDatabaseSecurityConfigsResult>
    def get_database_security_configs(access_level: Optional[str] = None,
                                      compartment_id: Optional[str] = None,
                                      compartment_id_in_subtree: Optional[bool] = None,
                                      database_security_config_id: Optional[str] = None,
                                      display_name: Optional[str] = None,
                                      filters: Optional[Sequence[_datasafe.GetDatabaseSecurityConfigsFilter]] = None,
                                      state: Optional[str] = None,
                                      target_id: Optional[str] = None,
                                      time_created_greater_than_or_equal_to: Optional[str] = None,
                                      time_created_less_than: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetDatabaseSecurityConfigsResult
    def get_database_security_configs_output(access_level: Optional[pulumi.Input[str]] = None,
                                      compartment_id: Optional[pulumi.Input[str]] = None,
                                      compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                                      database_security_config_id: Optional[pulumi.Input[str]] = None,
                                      display_name: Optional[pulumi.Input[str]] = None,
                                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetDatabaseSecurityConfigsFilterArgs]]]] = None,
                                      state: Optional[pulumi.Input[str]] = None,
                                      target_id: Optional[pulumi.Input[str]] = None,
                                      time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                      time_created_less_than: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseSecurityConfigsResult]
    func GetDatabaseSecurityConfigs(ctx *Context, args *GetDatabaseSecurityConfigsArgs, opts ...InvokeOption) (*GetDatabaseSecurityConfigsResult, error)
    func GetDatabaseSecurityConfigsOutput(ctx *Context, args *GetDatabaseSecurityConfigsOutputArgs, opts ...InvokeOption) GetDatabaseSecurityConfigsResultOutput

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

    public static class GetDatabaseSecurityConfigs 
    {
        public static Task<GetDatabaseSecurityConfigsResult> InvokeAsync(GetDatabaseSecurityConfigsArgs args, InvokeOptions? opts = null)
        public static Output<GetDatabaseSecurityConfigsResult> Invoke(GetDatabaseSecurityConfigsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatabaseSecurityConfigsResult> getDatabaseSecurityConfigs(GetDatabaseSecurityConfigsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getDatabaseSecurityConfigs:getDatabaseSecurityConfigs
      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.
    DatabaseSecurityConfigId string
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters List<GetDatabaseSecurityConfigsFilter>
    State string
    The current state of the database security configuration.
    TargetId string
    A filter to return only items related to a specific target OCID.
    TimeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    TimeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    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.
    DatabaseSecurityConfigId string
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    DisplayName string
    A filter to return only resources that match the specified display name.
    Filters []GetDatabaseSecurityConfigsFilter
    State string
    The current state of the database security configuration.
    TargetId string
    A filter to return only items related to a specific target OCID.
    TimeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    TimeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    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.
    databaseSecurityConfigId String
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<GetDatabaseSecurityConfigsFilter>
    state String
    The current state of the database security configuration.
    targetId String
    A filter to return only items related to a specific target OCID.
    timeCreatedGreaterThanOrEqualTo String

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan String

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    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.
    databaseSecurityConfigId string
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    displayName string
    A filter to return only resources that match the specified display name.
    filters GetDatabaseSecurityConfigsFilter[]
    state string
    The current state of the database security configuration.
    targetId string
    A filter to return only items related to a specific target OCID.
    timeCreatedGreaterThanOrEqualTo string

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan string

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    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.
    database_security_config_id str
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    display_name str
    A filter to return only resources that match the specified display name.
    filters Sequence[datasafe.GetDatabaseSecurityConfigsFilter]
    state str
    The current state of the database security configuration.
    target_id str
    A filter to return only items related to a specific target OCID.
    time_created_greater_than_or_equal_to str

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    time_created_less_than str

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    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.
    databaseSecurityConfigId String
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    displayName String
    A filter to return only resources that match the specified display name.
    filters List<Property Map>
    state String
    The current state of the database security configuration.
    targetId String
    A filter to return only items related to a specific target OCID.
    timeCreatedGreaterThanOrEqualTo String

    A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.

    Example: 2016-12-19T16:39:57.600Z

    timeCreatedLessThan String

    Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.

    Example: 2016-12-19T16:39:57.600Z

    getDatabaseSecurityConfigs Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment containing the database security config.
    DatabaseSecurityConfigCollections List<GetDatabaseSecurityConfigsDatabaseSecurityConfigCollection>
    The list of database_security_config_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    CompartmentIdInSubtree bool
    DatabaseSecurityConfigId string
    DisplayName string
    The display name of the database security config.
    Filters List<GetDatabaseSecurityConfigsFilter>
    State string
    The current state of the database security config.
    TargetId string
    The target OCID corresponding to the database security config.
    TimeCreatedGreaterThanOrEqualTo string
    TimeCreatedLessThan string
    CompartmentId string
    The OCID of the compartment containing the database security config.
    DatabaseSecurityConfigCollections []GetDatabaseSecurityConfigsDatabaseSecurityConfigCollection
    The list of database_security_config_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    CompartmentIdInSubtree bool
    DatabaseSecurityConfigId string
    DisplayName string
    The display name of the database security config.
    Filters []GetDatabaseSecurityConfigsFilter
    State string
    The current state of the database security config.
    TargetId string
    The target OCID corresponding to the database security config.
    TimeCreatedGreaterThanOrEqualTo string
    TimeCreatedLessThan string
    compartmentId String
    The OCID of the compartment containing the database security config.
    databaseSecurityConfigCollections List<GetDatabaseSecurityConfigsDatabaseSecurityConfigCollection>
    The list of database_security_config_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    compartmentIdInSubtree Boolean
    databaseSecurityConfigId String
    displayName String
    The display name of the database security config.
    filters List<GetDatabaseSecurityConfigsFilter>
    state String
    The current state of the database security config.
    targetId String
    The target OCID corresponding to the database security config.
    timeCreatedGreaterThanOrEqualTo String
    timeCreatedLessThan String
    compartmentId string
    The OCID of the compartment containing the database security config.
    databaseSecurityConfigCollections GetDatabaseSecurityConfigsDatabaseSecurityConfigCollection[]
    The list of database_security_config_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    accessLevel string
    compartmentIdInSubtree boolean
    databaseSecurityConfigId string
    displayName string
    The display name of the database security config.
    filters GetDatabaseSecurityConfigsFilter[]
    state string
    The current state of the database security config.
    targetId string
    The target OCID corresponding to the database security config.
    timeCreatedGreaterThanOrEqualTo string
    timeCreatedLessThan string
    compartment_id str
    The OCID of the compartment containing the database security config.
    database_security_config_collections Sequence[datasafe.GetDatabaseSecurityConfigsDatabaseSecurityConfigCollection]
    The list of database_security_config_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    access_level str
    compartment_id_in_subtree bool
    database_security_config_id str
    display_name str
    The display name of the database security config.
    filters Sequence[datasafe.GetDatabaseSecurityConfigsFilter]
    state str
    The current state of the database security config.
    target_id str
    The target OCID corresponding to the database security config.
    time_created_greater_than_or_equal_to str
    time_created_less_than str
    compartmentId String
    The OCID of the compartment containing the database security config.
    databaseSecurityConfigCollections List<Property Map>
    The list of database_security_config_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    compartmentIdInSubtree Boolean
    databaseSecurityConfigId String
    displayName String
    The display name of the database security config.
    filters List<Property Map>
    state String
    The current state of the database security config.
    targetId String
    The target OCID corresponding to the database security config.
    timeCreatedGreaterThanOrEqualTo String
    timeCreatedLessThan String

    Supporting Types

    GetDatabaseSecurityConfigsDatabaseSecurityConfigCollection

    GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItem

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DatabaseSecurityConfigId string
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    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 database security config.
    DisplayName string
    A filter to return only resources that match the specified display name.
    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 database security config.
    LifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    RefreshTrigger int
    SqlFirewallConfigs List<GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItemSqlFirewallConfig>
    The SQL Firewall related configurations.
    State string
    The current state of the database security configuration.
    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"}
    TargetId string
    A filter to return only items related to a specific target OCID.
    TimeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    TimeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    DatabaseSecurityConfigId string
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    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 database security config.
    DisplayName string
    A filter to return only resources that match the specified display name.
    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 database security config.
    LifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    RefreshTrigger int
    SqlFirewallConfigs []GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItemSqlFirewallConfig
    The SQL Firewall related configurations.
    State string
    The current state of the database security configuration.
    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"}
    TargetId string
    A filter to return only items related to a specific target OCID.
    TimeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    TimeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    databaseSecurityConfigId String
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    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 database security config.
    displayName String
    A filter to return only resources that match the specified display name.
    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 database security config.
    lifecycleDetails String
    Details about the current state of the database security config in Data Safe.
    refreshTrigger Integer
    sqlFirewallConfigs List<GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItemSqlFirewallConfig>
    The SQL Firewall related configurations.
    state String
    The current state of the database security configuration.
    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"}
    targetId String
    A filter to return only items related to a specific target OCID.
    timeCreated String
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed String
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    databaseSecurityConfigId string
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    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 database security config.
    displayName string
    A filter to return only resources that match the specified display name.
    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 database security config.
    lifecycleDetails string
    Details about the current state of the database security config in Data Safe.
    refreshTrigger number
    sqlFirewallConfigs GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItemSqlFirewallConfig[]
    The SQL Firewall related configurations.
    state string
    The current state of the database security configuration.
    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"}
    targetId string
    A filter to return only items related to a specific target OCID.
    timeCreated string
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed string
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated string
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    database_security_config_id str
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    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 database security config.
    display_name str
    A filter to return only resources that match the specified display name.
    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 database security config.
    lifecycle_details str
    Details about the current state of the database security config in Data Safe.
    refresh_trigger int
    sql_firewall_configs Sequence[datasafe.GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItemSqlFirewallConfig]
    The SQL Firewall related configurations.
    state str
    The current state of the database security configuration.
    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"}
    target_id str
    A filter to return only items related to a specific target OCID.
    time_created str
    The time that the database security config was created, in the format defined by RFC3339.
    time_last_refreshed str
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    time_updated str
    The date and time the database security configuration was last updated, in the format defined by RFC3339.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    databaseSecurityConfigId String
    An optional filter to return only resources that match the specified OCID of the database security configuration resource.
    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 database security config.
    displayName String
    A filter to return only resources that match the specified display name.
    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 database security config.
    lifecycleDetails String
    Details about the current state of the database security config in Data Safe.
    refreshTrigger Number
    sqlFirewallConfigs List<Property Map>
    The SQL Firewall related configurations.
    state String
    The current state of the database security configuration.
    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"}
    targetId String
    A filter to return only items related to a specific target OCID.
    timeCreated String
    The time that the database security config was created, in the format defined by RFC3339.
    timeLastRefreshed String
    The last date and time the database security config was refreshed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the database security configuration was last updated, in the format defined by RFC3339.

    GetDatabaseSecurityConfigsDatabaseSecurityConfigCollectionItemSqlFirewallConfig

    ExcludeJob string
    Specifies whether the firewall should include or exclude the database internal job activities.
    Status string
    Specifies if the firewall is enabled or disabled on the target database.
    TimeStatusUpdated string
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    ViolationLogAutoPurge string
    Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    ExcludeJob string
    Specifies whether the firewall should include or exclude the database internal job activities.
    Status string
    Specifies if the firewall is enabled or disabled on the target database.
    TimeStatusUpdated string
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    ViolationLogAutoPurge string
    Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    excludeJob String
    Specifies whether the firewall should include or exclude the database internal job activities.
    status String
    Specifies if the firewall is enabled or disabled on the target database.
    timeStatusUpdated String
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    violationLogAutoPurge String
    Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    excludeJob string
    Specifies whether the firewall should include or exclude the database internal job activities.
    status string
    Specifies if the firewall is enabled or disabled on the target database.
    timeStatusUpdated string
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    violationLogAutoPurge string
    Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    exclude_job str
    Specifies whether the firewall should include or exclude the database internal job activities.
    status str
    Specifies if the firewall is enabled or disabled on the target database.
    time_status_updated str
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    violation_log_auto_purge str
    Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.
    excludeJob String
    Specifies whether the firewall should include or exclude the database internal job activities.
    status String
    Specifies if the firewall is enabled or disabled on the target database.
    timeStatusUpdated String
    The most recent time when the firewall status is updated, in the format defined by RFC3339.
    violationLogAutoPurge String
    Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.

    GetDatabaseSecurityConfigsFilter

    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

    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