sumologic.CseEntityNormalizationConfiguration

Explore with Pulumi AI

Provides the Sumologic CSE Entity Normalization Configuration for the whole organization. There can be only one configuration per organization.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

return await Deployment.RunAsync(() => 
{
    var entityNormalizationConfiguration = new SumoLogic.CseEntityNormalizationConfiguration("entityNormalizationConfiguration", new()
    {
        AwsNormalizationEnabled = true,
        DefaultNormalizedDomain = "domain.com",
        DomainMappings = new[]
        {
            new SumoLogic.Inputs.CseEntityNormalizationConfigurationDomainMappingArgs
            {
                NormalizedDomain = "normalized.domain",
                RawDomain = "raw.domain",
            },
        },
        FqdnNormalizationEnabled = true,
        NormalizeHostnames = true,
        NormalizeUsernames = true,
        WindowsNormalizationEnabled = true,
    });

});
package main

import (
	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sumologic.NewCseEntityNormalizationConfiguration(ctx, "entityNormalizationConfiguration", &sumologic.CseEntityNormalizationConfigurationArgs{
			AwsNormalizationEnabled: pulumi.Bool(true),
			DefaultNormalizedDomain: pulumi.String("domain.com"),
			DomainMappings: sumologic.CseEntityNormalizationConfigurationDomainMappingArray{
				&sumologic.CseEntityNormalizationConfigurationDomainMappingArgs{
					NormalizedDomain: pulumi.String("normalized.domain"),
					RawDomain:        pulumi.String("raw.domain"),
				},
			},
			FqdnNormalizationEnabled:    pulumi.Bool(true),
			NormalizeHostnames:          pulumi.Bool(true),
			NormalizeUsernames:          pulumi.Bool(true),
			WindowsNormalizationEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sumologic.CseEntityNormalizationConfiguration;
import com.pulumi.sumologic.CseEntityNormalizationConfigurationArgs;
import com.pulumi.sumologic.inputs.CseEntityNormalizationConfigurationDomainMappingArgs;
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) {
        var entityNormalizationConfiguration = new CseEntityNormalizationConfiguration("entityNormalizationConfiguration", CseEntityNormalizationConfigurationArgs.builder()        
            .awsNormalizationEnabled(true)
            .defaultNormalizedDomain("domain.com")
            .domainMappings(CseEntityNormalizationConfigurationDomainMappingArgs.builder()
                .normalizedDomain("normalized.domain")
                .rawDomain("raw.domain")
                .build())
            .fqdnNormalizationEnabled(true)
            .normalizeHostnames(true)
            .normalizeUsernames(true)
            .windowsNormalizationEnabled(true)
            .build());

    }
}
import pulumi
import pulumi_sumologic as sumologic

entity_normalization_configuration = sumologic.CseEntityNormalizationConfiguration("entityNormalizationConfiguration",
    aws_normalization_enabled=True,
    default_normalized_domain="domain.com",
    domain_mappings=[sumologic.CseEntityNormalizationConfigurationDomainMappingArgs(
        normalized_domain="normalized.domain",
        raw_domain="raw.domain",
    )],
    fqdn_normalization_enabled=True,
    normalize_hostnames=True,
    normalize_usernames=True,
    windows_normalization_enabled=True)
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";

const entityNormalizationConfiguration = new sumologic.CseEntityNormalizationConfiguration("entityNormalizationConfiguration", {
    awsNormalizationEnabled: true,
    defaultNormalizedDomain: "domain.com",
    domainMappings: [{
        normalizedDomain: "normalized.domain",
        rawDomain: "raw.domain",
    }],
    fqdnNormalizationEnabled: true,
    normalizeHostnames: true,
    normalizeUsernames: true,
    windowsNormalizationEnabled: true,
});
resources:
  entityNormalizationConfiguration:
    type: sumologic:CseEntityNormalizationConfiguration
    properties:
      awsNormalizationEnabled: true
      defaultNormalizedDomain: domain.com
      domainMappings:
        - normalizedDomain: normalized.domain
          rawDomain: raw.domain
      fqdnNormalizationEnabled: true
      normalizeHostnames: true
      normalizeUsernames: true
      windowsNormalizationEnabled: true

Create CseEntityNormalizationConfiguration Resource

new CseEntityNormalizationConfiguration(name: string, args: CseEntityNormalizationConfigurationArgs, opts?: CustomResourceOptions);
@overload
def CseEntityNormalizationConfiguration(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        aws_normalization_enabled: Optional[bool] = None,
                                        default_normalized_domain: Optional[str] = None,
                                        domain_mappings: Optional[Sequence[CseEntityNormalizationConfigurationDomainMappingArgs]] = None,
                                        fqdn_normalization_enabled: Optional[bool] = None,
                                        normalize_hostnames: Optional[bool] = None,
                                        normalize_usernames: Optional[bool] = None,
                                        windows_normalization_enabled: Optional[bool] = None)
@overload
def CseEntityNormalizationConfiguration(resource_name: str,
                                        args: CseEntityNormalizationConfigurationArgs,
                                        opts: Optional[ResourceOptions] = None)
func NewCseEntityNormalizationConfiguration(ctx *Context, name string, args CseEntityNormalizationConfigurationArgs, opts ...ResourceOption) (*CseEntityNormalizationConfiguration, error)
public CseEntityNormalizationConfiguration(string name, CseEntityNormalizationConfigurationArgs args, CustomResourceOptions? opts = null)
public CseEntityNormalizationConfiguration(String name, CseEntityNormalizationConfigurationArgs args)
public CseEntityNormalizationConfiguration(String name, CseEntityNormalizationConfigurationArgs args, CustomResourceOptions options)
type: sumologic:CseEntityNormalizationConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CseEntityNormalizationConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CseEntityNormalizationConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CseEntityNormalizationConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CseEntityNormalizationConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CseEntityNormalizationConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CseEntityNormalizationConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CseEntityNormalizationConfiguration resource accepts the following input properties:

AwsNormalizationEnabled bool

Normalize AWS ARN and Usernames.

DomainMappings List<Pulumi.SumoLogic.Inputs.CseEntityNormalizationConfigurationDomainMappingArgs>

Secondary domains.

FqdnNormalizationEnabled bool

Normalize names in the form user@somedomain.net or hostname.somedomain.net

NormalizeHostnames bool

If hostname normalization is enabled.

NormalizeUsernames bool

If username normalization is enabled.

  • The following attributes are exported:
WindowsNormalizationEnabled bool

Normalize active directory domains username and hostname formats.

DefaultNormalizedDomain string

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

AwsNormalizationEnabled bool

Normalize AWS ARN and Usernames.

DomainMappings []CseEntityNormalizationConfigurationDomainMappingArgs

Secondary domains.

FqdnNormalizationEnabled bool

Normalize names in the form user@somedomain.net or hostname.somedomain.net

NormalizeHostnames bool

If hostname normalization is enabled.

NormalizeUsernames bool

If username normalization is enabled.

  • The following attributes are exported:
WindowsNormalizationEnabled bool

Normalize active directory domains username and hostname formats.

DefaultNormalizedDomain string

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

awsNormalizationEnabled Boolean

Normalize AWS ARN and Usernames.

domainMappings List<CseEntityNormalizationConfigurationDomainMappingArgs>

Secondary domains.

fqdnNormalizationEnabled Boolean

Normalize names in the form user@somedomain.net or hostname.somedomain.net

normalizeHostnames Boolean

If hostname normalization is enabled.

normalizeUsernames Boolean

If username normalization is enabled.

  • The following attributes are exported:
windowsNormalizationEnabled Boolean

Normalize active directory domains username and hostname formats.

defaultNormalizedDomain String

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

awsNormalizationEnabled boolean

Normalize AWS ARN and Usernames.

domainMappings CseEntityNormalizationConfigurationDomainMappingArgs[]

Secondary domains.

fqdnNormalizationEnabled boolean

Normalize names in the form user@somedomain.net or hostname.somedomain.net

normalizeHostnames boolean

If hostname normalization is enabled.

normalizeUsernames boolean

If username normalization is enabled.

  • The following attributes are exported:
windowsNormalizationEnabled boolean

Normalize active directory domains username and hostname formats.

defaultNormalizedDomain string

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

aws_normalization_enabled bool

Normalize AWS ARN and Usernames.

domain_mappings Sequence[CseEntityNormalizationConfigurationDomainMappingArgs]

Secondary domains.

fqdn_normalization_enabled bool

Normalize names in the form user@somedomain.net or hostname.somedomain.net

normalize_hostnames bool

If hostname normalization is enabled.

normalize_usernames bool

If username normalization is enabled.

  • The following attributes are exported:
windows_normalization_enabled bool

Normalize active directory domains username and hostname formats.

default_normalized_domain str

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

awsNormalizationEnabled Boolean

Normalize AWS ARN and Usernames.

domainMappings List<Property Map>

Secondary domains.

fqdnNormalizationEnabled Boolean

Normalize names in the form user@somedomain.net or hostname.somedomain.net

normalizeHostnames Boolean

If hostname normalization is enabled.

normalizeUsernames Boolean

If username normalization is enabled.

  • The following attributes are exported:
windowsNormalizationEnabled Boolean

Normalize active directory domains username and hostname formats.

defaultNormalizedDomain String

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

Outputs

All input properties are implicitly available as output properties. Additionally, the CseEntityNormalizationConfiguration resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing CseEntityNormalizationConfiguration Resource

Get an existing CseEntityNormalizationConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CseEntityNormalizationConfigurationState, opts?: CustomResourceOptions): CseEntityNormalizationConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aws_normalization_enabled: Optional[bool] = None,
        default_normalized_domain: Optional[str] = None,
        domain_mappings: Optional[Sequence[CseEntityNormalizationConfigurationDomainMappingArgs]] = None,
        fqdn_normalization_enabled: Optional[bool] = None,
        normalize_hostnames: Optional[bool] = None,
        normalize_usernames: Optional[bool] = None,
        windows_normalization_enabled: Optional[bool] = None) -> CseEntityNormalizationConfiguration
func GetCseEntityNormalizationConfiguration(ctx *Context, name string, id IDInput, state *CseEntityNormalizationConfigurationState, opts ...ResourceOption) (*CseEntityNormalizationConfiguration, error)
public static CseEntityNormalizationConfiguration Get(string name, Input<string> id, CseEntityNormalizationConfigurationState? state, CustomResourceOptions? opts = null)
public static CseEntityNormalizationConfiguration get(String name, Output<String> id, CseEntityNormalizationConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AwsNormalizationEnabled bool

Normalize AWS ARN and Usernames.

DefaultNormalizedDomain string

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

DomainMappings List<Pulumi.SumoLogic.Inputs.CseEntityNormalizationConfigurationDomainMappingArgs>

Secondary domains.

FqdnNormalizationEnabled bool

Normalize names in the form user@somedomain.net or hostname.somedomain.net

NormalizeHostnames bool

If hostname normalization is enabled.

NormalizeUsernames bool

If username normalization is enabled.

  • The following attributes are exported:
WindowsNormalizationEnabled bool

Normalize active directory domains username and hostname formats.

AwsNormalizationEnabled bool

Normalize AWS ARN and Usernames.

DefaultNormalizedDomain string

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

DomainMappings []CseEntityNormalizationConfigurationDomainMappingArgs

Secondary domains.

FqdnNormalizationEnabled bool

Normalize names in the form user@somedomain.net or hostname.somedomain.net

NormalizeHostnames bool

If hostname normalization is enabled.

NormalizeUsernames bool

If username normalization is enabled.

  • The following attributes are exported:
WindowsNormalizationEnabled bool

Normalize active directory domains username and hostname formats.

awsNormalizationEnabled Boolean

Normalize AWS ARN and Usernames.

defaultNormalizedDomain String

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

domainMappings List<CseEntityNormalizationConfigurationDomainMappingArgs>

Secondary domains.

fqdnNormalizationEnabled Boolean

Normalize names in the form user@somedomain.net or hostname.somedomain.net

normalizeHostnames Boolean

If hostname normalization is enabled.

normalizeUsernames Boolean

If username normalization is enabled.

  • The following attributes are exported:
windowsNormalizationEnabled Boolean

Normalize active directory domains username and hostname formats.

awsNormalizationEnabled boolean

Normalize AWS ARN and Usernames.

defaultNormalizedDomain string

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

domainMappings CseEntityNormalizationConfigurationDomainMappingArgs[]

Secondary domains.

fqdnNormalizationEnabled boolean

Normalize names in the form user@somedomain.net or hostname.somedomain.net

normalizeHostnames boolean

If hostname normalization is enabled.

normalizeUsernames boolean

If username normalization is enabled.

  • The following attributes are exported:
windowsNormalizationEnabled boolean

Normalize active directory domains username and hostname formats.

aws_normalization_enabled bool

Normalize AWS ARN and Usernames.

default_normalized_domain str

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

domain_mappings Sequence[CseEntityNormalizationConfigurationDomainMappingArgs]

Secondary domains.

fqdn_normalization_enabled bool

Normalize names in the form user@somedomain.net or hostname.somedomain.net

normalize_hostnames bool

If hostname normalization is enabled.

normalize_usernames bool

If username normalization is enabled.

  • The following attributes are exported:
windows_normalization_enabled bool

Normalize active directory domains username and hostname formats.

awsNormalizationEnabled Boolean

Normalize AWS ARN and Usernames.

defaultNormalizedDomain String

When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.

domainMappings List<Property Map>

Secondary domains.

fqdnNormalizationEnabled Boolean

Normalize names in the form user@somedomain.net or hostname.somedomain.net

normalizeHostnames Boolean

If hostname normalization is enabled.

normalizeUsernames Boolean

If username normalization is enabled.

  • The following attributes are exported:
windowsNormalizationEnabled Boolean

Normalize active directory domains username and hostname formats.

Supporting Types

CseEntityNormalizationConfigurationDomainMapping

NormalizedDomain string

The normalized domain.

RawDomain string

The raw domain to be normalized.

NormalizedDomain string

The normalized domain.

RawDomain string

The raw domain to be normalized.

normalizedDomain String

The normalized domain.

rawDomain String

The raw domain to be normalized.

normalizedDomain string

The normalized domain.

rawDomain string

The raw domain to be normalized.

normalized_domain str

The normalized domain.

raw_domain str

The raw domain to be normalized.

normalizedDomain String

The normalized domain.

rawDomain String

The raw domain to be normalized.

Import

Entity Normalization Configuration can be imported using the id cse-entity-normalization-configurationhcl

 $ pulumi import sumologic:index/cseEntityNormalizationConfiguration:CseEntityNormalizationConfiguration entity_normalization_configuration cse-entity-normalization-configuration

Package Details

Repository
Sumo Logic pulumi/pulumi-sumologic
License
Apache-2.0
Notes

This Pulumi package is based on the sumologic Terraform Provider.