1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudGuard
  5. getDataSources
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.CloudGuard.getDataSources

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides the list of Data Sources in Oracle Cloud Infrastructure Cloud Guard service.

    Returns a list of all Data Sources in a compartment

    The ListDataSources operation returns only the data Sources in compartmentId passed. The list does not include any subcompartments of the compartmentId passed.

    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 ListdataSources 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 testDataSources = oci.CloudGuard.getDataSources({
        compartmentId: _var.compartment_id,
        accessLevel: _var.data_source_access_level,
        compartmentIdInSubtree: _var.data_source_compartment_id_in_subtree,
        dataSourceFeedProvider: _var.data_source_data_source_feed_provider,
        displayName: _var.data_source_display_name,
        loggingQueryType: _var.data_source_logging_query_type,
        state: _var.data_source_state,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_data_sources = oci.CloudGuard.get_data_sources(compartment_id=var["compartment_id"],
        access_level=var["data_source_access_level"],
        compartment_id_in_subtree=var["data_source_compartment_id_in_subtree"],
        data_source_feed_provider=var["data_source_data_source_feed_provider"],
        display_name=var["data_source_display_name"],
        logging_query_type=var["data_source_logging_query_type"],
        state=var["data_source_state"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/CloudGuard"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := CloudGuard.GetDataSources(ctx, &cloudguard.GetDataSourcesArgs{
    			CompartmentId:          _var.Compartment_id,
    			AccessLevel:            pulumi.StringRef(_var.Data_source_access_level),
    			CompartmentIdInSubtree: pulumi.BoolRef(_var.Data_source_compartment_id_in_subtree),
    			DataSourceFeedProvider: pulumi.StringRef(_var.Data_source_data_source_feed_provider),
    			DisplayName:            pulumi.StringRef(_var.Data_source_display_name),
    			LoggingQueryType:       pulumi.StringRef(_var.Data_source_logging_query_type),
    			State:                  pulumi.StringRef(_var.Data_source_state),
    		}, 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 testDataSources = Oci.CloudGuard.GetDataSources.Invoke(new()
        {
            CompartmentId = @var.Compartment_id,
            AccessLevel = @var.Data_source_access_level,
            CompartmentIdInSubtree = @var.Data_source_compartment_id_in_subtree,
            DataSourceFeedProvider = @var.Data_source_data_source_feed_provider,
            DisplayName = @var.Data_source_display_name,
            LoggingQueryType = @var.Data_source_logging_query_type,
            State = @var.Data_source_state,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.CloudGuard.CloudGuardFunctions;
    import com.pulumi.oci.CloudGuard.inputs.GetDataSourcesArgs;
    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 testDataSources = CloudGuardFunctions.getDataSources(GetDataSourcesArgs.builder()
                .compartmentId(var_.compartment_id())
                .accessLevel(var_.data_source_access_level())
                .compartmentIdInSubtree(var_.data_source_compartment_id_in_subtree())
                .dataSourceFeedProvider(var_.data_source_data_source_feed_provider())
                .displayName(var_.data_source_display_name())
                .loggingQueryType(var_.data_source_logging_query_type())
                .state(var_.data_source_state())
                .build());
    
        }
    }
    
    variables:
      testDataSources:
        fn::invoke:
          Function: oci:CloudGuard:getDataSources
          Arguments:
            compartmentId: ${var.compartment_id}
            accessLevel: ${var.data_source_access_level}
            compartmentIdInSubtree: ${var.data_source_compartment_id_in_subtree}
            dataSourceFeedProvider: ${var.data_source_data_source_feed_provider}
            displayName: ${var.data_source_display_name}
            loggingQueryType: ${var.data_source_logging_query_type}
            state: ${var.data_source_state}
    

    Using getDataSources

    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 getDataSources(args: GetDataSourcesArgs, opts?: InvokeOptions): Promise<GetDataSourcesResult>
    function getDataSourcesOutput(args: GetDataSourcesOutputArgs, opts?: InvokeOptions): Output<GetDataSourcesResult>
    def get_data_sources(access_level: Optional[str] = None,
                         compartment_id: Optional[str] = None,
                         compartment_id_in_subtree: Optional[bool] = None,
                         data_source_feed_provider: Optional[str] = None,
                         display_name: Optional[str] = None,
                         filters: Optional[Sequence[_cloudguard.GetDataSourcesFilter]] = None,
                         logging_query_type: Optional[str] = None,
                         state: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetDataSourcesResult
    def get_data_sources_output(access_level: Optional[pulumi.Input[str]] = None,
                         compartment_id: Optional[pulumi.Input[str]] = None,
                         compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                         data_source_feed_provider: Optional[pulumi.Input[str]] = None,
                         display_name: Optional[pulumi.Input[str]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[_cloudguard.GetDataSourcesFilterArgs]]]] = None,
                         logging_query_type: Optional[pulumi.Input[str]] = None,
                         state: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetDataSourcesResult]
    func GetDataSources(ctx *Context, args *GetDataSourcesArgs, opts ...InvokeOption) (*GetDataSourcesResult, error)
    func GetDataSourcesOutput(ctx *Context, args *GetDataSourcesOutputArgs, opts ...InvokeOption) GetDataSourcesResultOutput

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

    public static class GetDataSources 
    {
        public static Task<GetDataSourcesResult> InvokeAsync(GetDataSourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetDataSourcesResult> Invoke(GetDataSourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataSourcesResult> getDataSources(GetDataSourcesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:CloudGuard/getDataSources:getDataSources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    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 depending on the the setting of accessLevel.
    DataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters List<GetDataSourcesFilter>
    LoggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    State string
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    CompartmentId string
    The ID of the compartment in which to list resources.
    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 depending on the the setting of accessLevel.
    DataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    DisplayName string
    A filter to return only resources that match the entire display name given.
    Filters []GetDataSourcesFilter
    LoggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    State string
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    compartmentId String
    The ID of the compartment in which to list resources.
    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 depending on the the setting of accessLevel.
    dataSourceFeedProvider String
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<GetDataSourcesFilter>
    loggingQueryType String
    A filter to return only resources their query type matches the given LoggingQueryType.
    state String
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    compartmentId string
    The ID of the compartment in which to list resources.
    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 depending on the the setting of accessLevel.
    dataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    displayName string
    A filter to return only resources that match the entire display name given.
    filters GetDataSourcesFilter[]
    loggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    state string
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    compartment_id str
    The ID of the compartment in which to list resources.
    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 depending on the the setting of accessLevel.
    data_source_feed_provider str
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    display_name str
    A filter to return only resources that match the entire display name given.
    filters Sequence[cloudguard.GetDataSourcesFilter]
    logging_query_type str
    A filter to return only resources their query type matches the given LoggingQueryType.
    state str
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    compartmentId String
    The ID of the compartment in which to list resources.
    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 depending on the the setting of accessLevel.
    dataSourceFeedProvider String
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    loggingQueryType String
    A filter to return only resources their query type matches the given LoggingQueryType.
    state String
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.

    getDataSources Result

    The following output properties are available:

    CompartmentId string
    CompartmentId of Data source.
    DataSourceCollections List<GetDataSourcesDataSourceCollection>
    The list of data_source_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    CompartmentIdInSubtree bool
    DataSourceFeedProvider string
    Possible type of dataSourceFeed Provider(LoggingQuery)
    DisplayName string
    DisplayName of Data source.
    Filters List<GetDataSourcesFilter>
    LoggingQueryType string
    Logging query type for data source (Sighting/Insight)
    State string
    The current state of the resource.
    CompartmentId string
    CompartmentId of Data source.
    DataSourceCollections []GetDataSourcesDataSourceCollection
    The list of data_source_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    CompartmentIdInSubtree bool
    DataSourceFeedProvider string
    Possible type of dataSourceFeed Provider(LoggingQuery)
    DisplayName string
    DisplayName of Data source.
    Filters []GetDataSourcesFilter
    LoggingQueryType string
    Logging query type for data source (Sighting/Insight)
    State string
    The current state of the resource.
    compartmentId String
    CompartmentId of Data source.
    dataSourceCollections List<GetDataSourcesDataSourceCollection>
    The list of data_source_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    compartmentIdInSubtree Boolean
    dataSourceFeedProvider String
    Possible type of dataSourceFeed Provider(LoggingQuery)
    displayName String
    DisplayName of Data source.
    filters List<GetDataSourcesFilter>
    loggingQueryType String
    Logging query type for data source (Sighting/Insight)
    state String
    The current state of the resource.
    compartmentId string
    CompartmentId of Data source.
    dataSourceCollections GetDataSourcesDataSourceCollection[]
    The list of data_source_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    accessLevel string
    compartmentIdInSubtree boolean
    dataSourceFeedProvider string
    Possible type of dataSourceFeed Provider(LoggingQuery)
    displayName string
    DisplayName of Data source.
    filters GetDataSourcesFilter[]
    loggingQueryType string
    Logging query type for data source (Sighting/Insight)
    state string
    The current state of the resource.
    compartment_id str
    CompartmentId of Data source.
    data_source_collections Sequence[cloudguard.GetDataSourcesDataSourceCollection]
    The list of data_source_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    access_level str
    compartment_id_in_subtree bool
    data_source_feed_provider str
    Possible type of dataSourceFeed Provider(LoggingQuery)
    display_name str
    DisplayName of Data source.
    filters Sequence[cloudguard.GetDataSourcesFilter]
    logging_query_type str
    Logging query type for data source (Sighting/Insight)
    state str
    The current state of the resource.
    compartmentId String
    CompartmentId of Data source.
    dataSourceCollections List<Property Map>
    The list of data_source_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    compartmentIdInSubtree Boolean
    dataSourceFeedProvider String
    Possible type of dataSourceFeed Provider(LoggingQuery)
    displayName String
    DisplayName of Data source.
    filters List<Property Map>
    loggingQueryType String
    Logging query type for data source (Sighting/Insight)
    state String
    The current state of the resource.

    Supporting Types

    GetDataSourcesDataSourceCollection

    GetDataSourcesDataSourceCollectionItem

    CompartmentId string
    The ID of the compartment in which to list resources.
    DataSourceDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetail>
    Details specific to the data source type.
    DataSourceDetectorMappingInfos List<GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo>
    Information about the detector recipe and rule attached
    DataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Ocid for Data source
    RegionStatusDetails List<GetDataSourcesDataSourceCollectionItemRegionStatusDetail>
    Information about the region and status of query replication
    State string
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    Status string
    Status of data Source
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    TimeUpdated string
    The date and time the Data source was updated. Format defined by RFC3339.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DataSourceDetails []GetDataSourcesDataSourceCollectionItemDataSourceDetail
    Details specific to the data source type.
    DataSourceDetectorMappingInfos []GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo
    Information about the detector recipe and rule attached
    DataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    Ocid for Data source
    RegionStatusDetails []GetDataSourcesDataSourceCollectionItemRegionStatusDetail
    Information about the region and status of query replication
    State string
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    Status string
    Status of data Source
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    TimeUpdated string
    The date and time the Data source was updated. Format defined by RFC3339.
    compartmentId String
    The ID of the compartment in which to list resources.
    dataSourceDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetail>
    Details specific to the data source type.
    dataSourceDetectorMappingInfos List<GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo>
    Information about the detector recipe and rule attached
    dataSourceFeedProvider String
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Ocid for Data source
    regionStatusDetails List<GetDataSourcesDataSourceCollectionItemRegionStatusDetail>
    Information about the region and status of query replication
    state String
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    status String
    Status of data Source
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated String
    The date and time the Data source was updated. Format defined by RFC3339.
    compartmentId string
    The ID of the compartment in which to list resources.
    dataSourceDetails GetDataSourcesDataSourceCollectionItemDataSourceDetail[]
    Details specific to the data source type.
    dataSourceDetectorMappingInfos GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo[]
    Information about the detector recipe and rule attached
    dataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    A filter to return only resources that match the entire display name given.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    Ocid for Data source
    regionStatusDetails GetDataSourcesDataSourceCollectionItemRegionStatusDetail[]
    Information about the region and status of query replication
    state string
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    status string
    Status of data Source
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated string
    The date and time the Data source was updated. Format defined by RFC3339.
    compartment_id str
    The ID of the compartment in which to list resources.
    data_source_details Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetail]
    Details specific to the data source type.
    data_source_detector_mapping_infos Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo]
    Information about the detector recipe and rule attached
    data_source_feed_provider str
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    A filter to return only resources that match the entire display name given.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    Ocid for Data source
    region_status_details Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemRegionStatusDetail]
    Information about the region and status of query replication
    state str
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    status str
    Status of data Source
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Data source was created. Format defined by RFC3339.
    time_updated str
    The date and time the Data source was updated. Format defined by RFC3339.
    compartmentId String
    The ID of the compartment in which to list resources.
    dataSourceDetails List<Property Map>
    Details specific to the data source type.
    dataSourceDetectorMappingInfos List<Property Map>
    Information about the detector recipe and rule attached
    dataSourceFeedProvider String
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    Ocid for Data source
    regionStatusDetails List<Property Map>
    Information about the region and status of query replication
    state String
    The field life cycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active.
    status String
    Status of data Source
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Data source was created. Format defined by RFC3339.
    timeUpdated String
    The date and time the Data source was updated. Format defined by RFC3339.

    GetDataSourcesDataSourceCollectionItemDataSourceDetail

    AdditionalEntitiesCount int
    The additional entities count used for data source query.
    DataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    IntervalInMinutes int
    Interval in minutes that query is run periodically.
    LoggingQueryDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail>
    Additional details specific to the data source type (Sighting/Insight).
    LoggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    Operator string
    Operator used in Data Soruce
    Query string
    The continuous query expression that is run periodically.
    QueryStartTimes List<GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime>
    Time when the query can start, if not specified it can start immediately.
    Regions List<string>
    Logging Query regions
    Threshold int
    The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.
    AdditionalEntitiesCount int
    The additional entities count used for data source query.
    DataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    IntervalInMinutes int
    Interval in minutes that query is run periodically.
    LoggingQueryDetails []GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail
    Additional details specific to the data source type (Sighting/Insight).
    LoggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    Operator string
    Operator used in Data Soruce
    Query string
    The continuous query expression that is run periodically.
    QueryStartTimes []GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime
    Time when the query can start, if not specified it can start immediately.
    Regions []string
    Logging Query regions
    Threshold int
    The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.
    additionalEntitiesCount Integer
    The additional entities count used for data source query.
    dataSourceFeedProvider String
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    intervalInMinutes Integer
    Interval in minutes that query is run periodically.
    loggingQueryDetails List<GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail>
    Additional details specific to the data source type (Sighting/Insight).
    loggingQueryType String
    A filter to return only resources their query type matches the given LoggingQueryType.
    operator String
    Operator used in Data Soruce
    query String
    The continuous query expression that is run periodically.
    queryStartTimes List<GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime>
    Time when the query can start, if not specified it can start immediately.
    regions List<String>
    Logging Query regions
    threshold Integer
    The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.
    additionalEntitiesCount number
    The additional entities count used for data source query.
    dataSourceFeedProvider string
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    intervalInMinutes number
    Interval in minutes that query is run periodically.
    loggingQueryDetails GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail[]
    Additional details specific to the data source type (Sighting/Insight).
    loggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    operator string
    Operator used in Data Soruce
    query string
    The continuous query expression that is run periodically.
    queryStartTimes GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime[]
    Time when the query can start, if not specified it can start immediately.
    regions string[]
    Logging Query regions
    threshold number
    The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.
    additional_entities_count int
    The additional entities count used for data source query.
    data_source_feed_provider str
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    interval_in_minutes int
    Interval in minutes that query is run periodically.
    logging_query_details Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail]
    Additional details specific to the data source type (Sighting/Insight).
    logging_query_type str
    A filter to return only resources their query type matches the given LoggingQueryType.
    operator str
    Operator used in Data Soruce
    query str
    The continuous query expression that is run periodically.
    query_start_times Sequence[cloudguard.GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime]
    Time when the query can start, if not specified it can start immediately.
    regions Sequence[str]
    Logging Query regions
    threshold int
    The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.
    additionalEntitiesCount Number
    The additional entities count used for data source query.
    dataSourceFeedProvider String
    A filter to return only resources their feedProvider matches the given DataSourceFeedProvider.
    intervalInMinutes Number
    Interval in minutes that query is run periodically.
    loggingQueryDetails List<Property Map>
    Additional details specific to the data source type (Sighting/Insight).
    loggingQueryType String
    A filter to return only resources their query type matches the given LoggingQueryType.
    operator String
    Operator used in Data Soruce
    query String
    The continuous query expression that is run periodically.
    queryStartTimes List<Property Map>
    Time when the query can start, if not specified it can start immediately.
    regions List<String>
    Logging Query regions
    threshold Number
    The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event.

    GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetail

    KeyEntitiesCount int
    The key entities count used for data source query
    LoggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    KeyEntitiesCount int
    The key entities count used for data source query
    LoggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    keyEntitiesCount Integer
    The key entities count used for data source query
    loggingQueryType String
    A filter to return only resources their query type matches the given LoggingQueryType.
    keyEntitiesCount number
    The key entities count used for data source query
    loggingQueryType string
    A filter to return only resources their query type matches the given LoggingQueryType.
    key_entities_count int
    The key entities count used for data source query
    logging_query_type str
    A filter to return only resources their query type matches the given LoggingQueryType.
    keyEntitiesCount Number
    The key entities count used for data source query
    loggingQueryType String
    A filter to return only resources their query type matches the given LoggingQueryType.

    GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTime

    QueryStartTime string
    Time when the query can start, if not specified it can start immediately.
    StartPolicyType string
    policy used for deciding the query start time
    QueryStartTime string
    Time when the query can start, if not specified it can start immediately.
    StartPolicyType string
    policy used for deciding the query start time
    queryStartTime String
    Time when the query can start, if not specified it can start immediately.
    startPolicyType String
    policy used for deciding the query start time
    queryStartTime string
    Time when the query can start, if not specified it can start immediately.
    startPolicyType string
    policy used for deciding the query start time
    query_start_time str
    Time when the query can start, if not specified it can start immediately.
    start_policy_type str
    policy used for deciding the query start time
    queryStartTime String
    Time when the query can start, if not specified it can start immediately.
    startPolicyType String
    policy used for deciding the query start time

    GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfo

    DetectorRecipeId string
    Id of the attached detectorRecipeId to the Data Source.
    DetectorRuleId string
    Id of the attached detectorRuleId to the Data Source.
    DetectorRecipeId string
    Id of the attached detectorRecipeId to the Data Source.
    DetectorRuleId string
    Id of the attached detectorRuleId to the Data Source.
    detectorRecipeId String
    Id of the attached detectorRecipeId to the Data Source.
    detectorRuleId String
    Id of the attached detectorRuleId to the Data Source.
    detectorRecipeId string
    Id of the attached detectorRecipeId to the Data Source.
    detectorRuleId string
    Id of the attached detectorRuleId to the Data Source.
    detector_recipe_id str
    Id of the attached detectorRecipeId to the Data Source.
    detector_rule_id str
    Id of the attached detectorRuleId to the Data Source.
    detectorRecipeId String
    Id of the attached detectorRecipeId to the Data Source.
    detectorRuleId String
    Id of the attached detectorRuleId to the Data Source.

    GetDataSourcesDataSourceCollectionItemRegionStatusDetail

    Region string
    Data Source replication region.
    Status string
    Status of data Source
    Region string
    Data Source replication region.
    Status string
    Status of data Source
    region String
    Data Source replication region.
    status String
    Status of data Source
    region string
    Data Source replication region.
    status string
    Status of data Source
    region str
    Data Source replication region.
    status str
    Status of data Source
    region String
    Data Source replication region.
    status String
    Status of data Source

    GetDataSourcesFilter

    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 v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi