Datadog v4.34.0 published on Friday, Oct 4, 2024 by Pulumi
datadog.getSecurityMonitoringFilters
Explore with Pulumi AI
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, nil, 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<Get
Security Monitoring Filters Filter> - List of filters.
- Filters
Ids List<string> - List of IDs of filters.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Security Monitoring Filters Filter - List of filters.
- Filters
Ids []string - List of IDs of filters.
- Id string
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Security Monitoring Filters Filter> - List of filters.
- filters
Ids List<String> - List of IDs of filters.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
Get
Security Monitoring Filters Filter[] - List of filters.
- filters
Ids string[] - List of IDs of filters.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Security Monitoring Filters Filter] - 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.
- filters
Ids List<String> - List of IDs of filters.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetSecurityMonitoringFiltersFilter
- Is
Enabled 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.
- Exclusion
Filters List<GetSecurity Monitoring Filters Filter Exclusion Filter> - Exclusion filters to exclude some logs from the security filter.
- Filtered
Data stringType - The filtered data type.
- Is
Enabled 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.
- Exclusion
Filters []GetSecurity Monitoring Filters Filter Exclusion Filter - Exclusion filters to exclude some logs from the security filter.
- Filtered
Data stringType - The filtered data type.
- is
Enabled 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.
- exclusion
Filters List<GetSecurity Monitoring Filters Filter Exclusion Filter> - Exclusion filters to exclude some logs from the security filter.
- filtered
Data StringType - The filtered data type.
- is
Enabled 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.
- exclusion
Filters GetSecurity Monitoring Filters Filter Exclusion Filter[] - Exclusion filters to exclude some logs from the security filter.
- filtered
Data stringType - 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[GetSecurity Monitoring Filters Filter Exclusion Filter] - Exclusion filters to exclude some logs from the security filter.
- filtered_
data_ strtype - The filtered data type.
- is
Enabled 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.
- exclusion
Filters List<Property Map> - Exclusion filters to exclude some logs from the security filter.
- filtered
Data StringType - The filtered data type.
GetSecurityMonitoringFiltersFilterExclusionFilter
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.