1. Packages
  2. Datadog Provider
  3. API Docs
  4. getSecurityMonitoringFilters
Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi

datadog.getSecurityMonitoringFilters

Explore with Pulumi AI

datadog logo
Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi

    Use this data source to retrieve information about existing security monitoring filters for use in other resources.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    const test = datadog.getSecurityMonitoringFilters({});
    
    import pulumi
    import pulumi_datadog as datadog
    
    test = datadog.get_security_monitoring_filters()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datadog.GetSecurityMonitoringFilters(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Datadog = Pulumi.Datadog;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Datadog.GetSecurityMonitoringFilters.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.datadog.DatadogFunctions;
    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 test = DatadogFunctions.getSecurityMonitoringFilters();
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          Function: datadog:getSecurityMonitoringFilters
          Arguments: {}
    

    Using getSecurityMonitoringFilters

    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 getSecurityMonitoringFilters(opts?: InvokeOptions): Promise<GetSecurityMonitoringFiltersResult>
    function getSecurityMonitoringFiltersOutput(opts?: InvokeOptions): Output<GetSecurityMonitoringFiltersResult>
    def get_security_monitoring_filters(opts: Optional[InvokeOptions] = None) -> GetSecurityMonitoringFiltersResult
    def get_security_monitoring_filters_output(opts: Optional[InvokeOptions] = None) -> Output[GetSecurityMonitoringFiltersResult]
    func GetSecurityMonitoringFilters(ctx *Context, opts ...InvokeOption) (*GetSecurityMonitoringFiltersResult, error)
    func GetSecurityMonitoringFiltersOutput(ctx *Context, opts ...InvokeOption) GetSecurityMonitoringFiltersResultOutput

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

    public static class GetSecurityMonitoringFilters 
    {
        public static Task<GetSecurityMonitoringFiltersResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetSecurityMonitoringFiltersResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecurityMonitoringFiltersResult> getSecurityMonitoringFilters(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: datadog:index/getSecurityMonitoringFilters:getSecurityMonitoringFilters
      arguments:
        # arguments dictionary

    getSecurityMonitoringFilters Result

    The following output properties are available:

    Filters List<GetSecurityMonitoringFiltersFilter>
    List of filters.
    FiltersIds List<string>
    List of IDs of filters.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetSecurityMonitoringFiltersFilter
    List of filters.
    FiltersIds []string
    List of IDs of filters.
    Id string
    The provider-assigned unique ID for this managed resource.
    filters List<GetSecurityMonitoringFiltersFilter>
    List of filters.
    filtersIds List<String>
    List of IDs of filters.
    id String
    The provider-assigned unique ID for this managed resource.
    filters GetSecurityMonitoringFiltersFilter[]
    List of filters.
    filtersIds string[]
    List of IDs of filters.
    id string
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetSecurityMonitoringFiltersFilter]
    List of filters.
    filters_ids Sequence[str]
    List of IDs of filters.
    id str
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    List of filters.
    filtersIds List<String>
    List of IDs of filters.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetSecurityMonitoringFiltersFilter

    IsEnabled bool
    Whether the security filter is enabled.
    Name string
    The name of the security filter.
    Query string
    The query of the security filter.
    Version int
    The version of the security filter.
    ExclusionFilters List<GetSecurityMonitoringFiltersFilterExclusionFilter>
    Exclusion filters to exclude some logs from the security filter.
    FilteredDataType string
    The filtered data type.
    IsEnabled bool
    Whether the security filter is enabled.
    Name string
    The name of the security filter.
    Query string
    The query of the security filter.
    Version int
    The version of the security filter.
    ExclusionFilters []GetSecurityMonitoringFiltersFilterExclusionFilter
    Exclusion filters to exclude some logs from the security filter.
    FilteredDataType string
    The filtered data type.
    isEnabled Boolean
    Whether the security filter is enabled.
    name String
    The name of the security filter.
    query String
    The query of the security filter.
    version Integer
    The version of the security filter.
    exclusionFilters List<GetSecurityMonitoringFiltersFilterExclusionFilter>
    Exclusion filters to exclude some logs from the security filter.
    filteredDataType String
    The filtered data type.
    isEnabled boolean
    Whether the security filter is enabled.
    name string
    The name of the security filter.
    query string
    The query of the security filter.
    version number
    The version of the security filter.
    exclusionFilters GetSecurityMonitoringFiltersFilterExclusionFilter[]
    Exclusion filters to exclude some logs from the security filter.
    filteredDataType string
    The filtered data type.
    is_enabled bool
    Whether the security filter is enabled.
    name str
    The name of the security filter.
    query str
    The query of the security filter.
    version int
    The version of the security filter.
    exclusion_filters Sequence[GetSecurityMonitoringFiltersFilterExclusionFilter]
    Exclusion filters to exclude some logs from the security filter.
    filtered_data_type str
    The filtered data type.
    isEnabled Boolean
    Whether the security filter is enabled.
    name String
    The name of the security filter.
    query String
    The query of the security filter.
    version Number
    The version of the security filter.
    exclusionFilters List<Property Map>
    Exclusion filters to exclude some logs from the security filter.
    filteredDataType String
    The filtered data type.

    GetSecurityMonitoringFiltersFilterExclusionFilter

    Name string
    Exclusion filter name.
    Query string
    Exclusion filter query. Logs that match this query are excluded from the security filter.
    Name string
    Exclusion filter name.
    Query string
    Exclusion filter query. Logs that match this query are excluded from the security filter.
    name String
    Exclusion filter name.
    query String
    Exclusion filter query. Logs that match this query are excluded from the security filter.
    name string
    Exclusion filter name.
    query string
    Exclusion filter query. Logs that match this query are excluded from the security filter.
    name str
    Exclusion filter name.
    query str
    Exclusion filter query. Logs that match this query are excluded from the security filter.
    name String
    Exclusion filter name.
    query String
    Exclusion filter query. Logs that match this query are excluded from the security filter.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi