Viewing docs for Datadog v5.2.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi
Viewing docs for Datadog v5.2.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi
Use this data source to retrieve information about an existing sensitive data scanner standard pattern. You can look up a pattern by its stable standard pattern ID or by name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
const awsAccessKeyById = datadog.getSensitiveDataScannerStandardPattern({
standardPatternId: "OfGqX8R9TRqAcorxenl2fQ",
});
import pulumi
import pulumi_datadog as datadog
aws_access_key_by_id = datadog.get_sensitive_data_scanner_standard_pattern(standard_pattern_id="OfGqX8R9TRqAcorxenl2fQ")
package main
import (
"github.com/pulumi/pulumi-datadog/sdk/v5/go/datadog"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datadog.GetSensitiveDataScannerStandardPattern(ctx, &datadog.GetSensitiveDataScannerStandardPatternArgs{
StandardPatternId: pulumi.StringRef("OfGqX8R9TRqAcorxenl2fQ"),
}, 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 awsAccessKeyById = Datadog.GetSensitiveDataScannerStandardPattern.Invoke(new()
{
StandardPatternId = "OfGqX8R9TRqAcorxenl2fQ",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datadog.DatadogFunctions;
import com.pulumi.datadog.inputs.GetSensitiveDataScannerStandardPatternArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 awsAccessKeyById = DatadogFunctions.getSensitiveDataScannerStandardPattern(GetSensitiveDataScannerStandardPatternArgs.builder()
.standardPatternId("OfGqX8R9TRqAcorxenl2fQ")
.build());
}
}
variables:
awsAccessKeyById:
fn::invoke:
function: datadog:getSensitiveDataScannerStandardPattern
arguments:
standardPatternId: OfGqX8R9TRqAcorxenl2fQ
Example coming soon!
Using getSensitiveDataScannerStandardPattern
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 getSensitiveDataScannerStandardPattern(args: GetSensitiveDataScannerStandardPatternArgs, opts?: InvokeOptions): Promise<GetSensitiveDataScannerStandardPatternResult>
function getSensitiveDataScannerStandardPatternOutput(args: GetSensitiveDataScannerStandardPatternOutputArgs, opts?: InvokeOptions): Output<GetSensitiveDataScannerStandardPatternResult>def get_sensitive_data_scanner_standard_pattern(filter: Optional[str] = None,
standard_pattern_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSensitiveDataScannerStandardPatternResult
def get_sensitive_data_scanner_standard_pattern_output(filter: pulumi.Input[Optional[str]] = None,
standard_pattern_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSensitiveDataScannerStandardPatternResult]func GetSensitiveDataScannerStandardPattern(ctx *Context, args *GetSensitiveDataScannerStandardPatternArgs, opts ...InvokeOption) (*GetSensitiveDataScannerStandardPatternResult, error)
func GetSensitiveDataScannerStandardPatternOutput(ctx *Context, args *GetSensitiveDataScannerStandardPatternOutputArgs, opts ...InvokeOption) GetSensitiveDataScannerStandardPatternResultOutput> Note: This function is named GetSensitiveDataScannerStandardPattern in the Go SDK.
public static class GetSensitiveDataScannerStandardPattern
{
public static Task<GetSensitiveDataScannerStandardPatternResult> InvokeAsync(GetSensitiveDataScannerStandardPatternArgs args, InvokeOptions? opts = null)
public static Output<GetSensitiveDataScannerStandardPatternResult> Invoke(GetSensitiveDataScannerStandardPatternInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSensitiveDataScannerStandardPatternResult> getSensitiveDataScannerStandardPattern(GetSensitiveDataScannerStandardPatternArgs args, InvokeOptions options)
public static Output<GetSensitiveDataScannerStandardPatternResult> getSensitiveDataScannerStandardPattern(GetSensitiveDataScannerStandardPatternArgs args, InvokeOptions options)
fn::invoke:
function: datadog:index/getSensitiveDataScannerStandardPattern:getSensitiveDataScannerStandardPattern
arguments:
# arguments dictionarydata "datadog_getsensitivedatascannerstandardpattern" "name" {
# arguments
}The following arguments are supported:
- Filter string
- Filter all the Datadog standard patterns by name.
- Standard
Pattern stringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- Filter string
- Filter all the Datadog standard patterns by name.
- Standard
Pattern stringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- filter string
- Filter all the Datadog standard patterns by name.
- standard_
pattern_ stringid - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- filter String
- Filter all the Datadog standard patterns by name.
- standard
Pattern StringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- filter string
- Filter all the Datadog standard patterns by name.
- standard
Pattern stringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- filter str
- Filter all the Datadog standard patterns by name.
- standard_
pattern_ strid - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- filter String
- Filter all the Datadog standard patterns by name.
- standard
Pattern StringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
getSensitiveDataScannerStandardPattern Result
The following output properties are available:
- Description string
- Description of the standard pattern.
- Id string
- The provider-assigned unique ID for this managed resource.
- Included
Keywords List<string> - List of recommended keywords to improve rule accuracy.
- Name string
- Name of the standard pattern.
- Pattern string
- Regex to match, optionally documented for older standard rules. Deprecated. Refer to the description field to understand what the rule does.
- List<string>
- List of tags.
- Filter string
- Filter all the Datadog standard patterns by name.
- Standard
Pattern stringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- Description string
- Description of the standard pattern.
- Id string
- The provider-assigned unique ID for this managed resource.
- Included
Keywords []string - List of recommended keywords to improve rule accuracy.
- Name string
- Name of the standard pattern.
- Pattern string
- Regex to match, optionally documented for older standard rules. Deprecated. Refer to the description field to understand what the rule does.
- []string
- List of tags.
- Filter string
- Filter all the Datadog standard patterns by name.
- Standard
Pattern stringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- description string
- Description of the standard pattern.
- id string
- The provider-assigned unique ID for this managed resource.
- included_
keywords list(string) - List of recommended keywords to improve rule accuracy.
- name string
- Name of the standard pattern.
- pattern string
- Regex to match, optionally documented for older standard rules. Deprecated. Refer to the description field to understand what the rule does.
- list(string)
- List of tags.
- filter string
- Filter all the Datadog standard patterns by name.
- standard_
pattern_ stringid - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- description String
- Description of the standard pattern.
- id String
- The provider-assigned unique ID for this managed resource.
- included
Keywords List<String> - List of recommended keywords to improve rule accuracy.
- name String
- Name of the standard pattern.
- pattern String
- Regex to match, optionally documented for older standard rules. Deprecated. Refer to the description field to understand what the rule does.
- List<String>
- List of tags.
- filter String
- Filter all the Datadog standard patterns by name.
- standard
Pattern StringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- description string
- Description of the standard pattern.
- id string
- The provider-assigned unique ID for this managed resource.
- included
Keywords string[] - List of recommended keywords to improve rule accuracy.
- name string
- Name of the standard pattern.
- pattern string
- Regex to match, optionally documented for older standard rules. Deprecated. Refer to the description field to understand what the rule does.
- string[]
- List of tags.
- filter string
- Filter all the Datadog standard patterns by name.
- standard
Pattern stringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- description str
- Description of the standard pattern.
- id str
- The provider-assigned unique ID for this managed resource.
- included_
keywords Sequence[str] - List of recommended keywords to improve rule accuracy.
- name str
- Name of the standard pattern.
- pattern str
- Regex to match, optionally documented for older standard rules. Deprecated. Refer to the description field to understand what the rule does.
- Sequence[str]
- List of tags.
- filter str
- Filter all the Datadog standard patterns by name.
- standard_
pattern_ strid - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
- description String
- Description of the standard pattern.
- id String
- The provider-assigned unique ID for this managed resource.
- included
Keywords List<String> - List of recommended keywords to improve rule accuracy.
- name String
- Name of the standard pattern.
- pattern String
- Regex to match, optionally documented for older standard rules. Deprecated. Refer to the description field to understand what the rule does.
- List<String>
- List of tags.
- filter String
- Filter all the Datadog standard patterns by name.
- standard
Pattern StringId - Stable ID of the Datadog standard pattern to retrieve. This can be set directly to avoid Terraform configs breaking when Datadog renames a standard pattern.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadogTerraform Provider.
Viewing docs for Datadog v5.2.0
published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi