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
import * as pulumi from "@pulumi/pulumi";
import * as sumologic from "@pulumi/sumologic";
const entityNormalizationConfiguration = new sumologic.CseEntityNormalizationConfiguration("entity_normalization_configuration", {
    windowsNormalizationEnabled: true,
    fqdnNormalizationEnabled: true,
    awsNormalizationEnabled: true,
    defaultNormalizedDomain: "domain.com",
    normalizeHostnames: true,
    normalizeUsernames: true,
    domainMappings: [{
        normalizedDomain: "normalized.domain",
        rawDomain: "raw.domain",
    }],
});
import pulumi
import pulumi_sumologic as sumologic
entity_normalization_configuration = sumologic.CseEntityNormalizationConfiguration("entity_normalization_configuration",
    windows_normalization_enabled=True,
    fqdn_normalization_enabled=True,
    aws_normalization_enabled=True,
    default_normalized_domain="domain.com",
    normalize_hostnames=True,
    normalize_usernames=True,
    domain_mappings=[{
        "normalized_domain": "normalized.domain",
        "raw_domain": "raw.domain",
    }])
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, "entity_normalization_configuration", &sumologic.CseEntityNormalizationConfigurationArgs{
			WindowsNormalizationEnabled: pulumi.Bool(true),
			FqdnNormalizationEnabled:    pulumi.Bool(true),
			AwsNormalizationEnabled:     pulumi.Bool(true),
			DefaultNormalizedDomain:     pulumi.String("domain.com"),
			NormalizeHostnames:          pulumi.Bool(true),
			NormalizeUsernames:          pulumi.Bool(true),
			DomainMappings: sumologic.CseEntityNormalizationConfigurationDomainMappingArray{
				&sumologic.CseEntityNormalizationConfigurationDomainMappingArgs{
					NormalizedDomain: pulumi.String("normalized.domain"),
					RawDomain:        pulumi.String("raw.domain"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using SumoLogic = Pulumi.SumoLogic;
return await Deployment.RunAsync(() => 
{
    var entityNormalizationConfiguration = new SumoLogic.CseEntityNormalizationConfiguration("entity_normalization_configuration", new()
    {
        WindowsNormalizationEnabled = true,
        FqdnNormalizationEnabled = true,
        AwsNormalizationEnabled = true,
        DefaultNormalizedDomain = "domain.com",
        NormalizeHostnames = true,
        NormalizeUsernames = true,
        DomainMappings = new[]
        {
            new SumoLogic.Inputs.CseEntityNormalizationConfigurationDomainMappingArgs
            {
                NormalizedDomain = "normalized.domain",
                RawDomain = "raw.domain",
            },
        },
    });
});
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()
            .windowsNormalizationEnabled(true)
            .fqdnNormalizationEnabled(true)
            .awsNormalizationEnabled(true)
            .defaultNormalizedDomain("domain.com")
            .normalizeHostnames(true)
            .normalizeUsernames(true)
            .domainMappings(CseEntityNormalizationConfigurationDomainMappingArgs.builder()
                .normalizedDomain("normalized.domain")
                .rawDomain("raw.domain")
                .build())
            .build());
    }
}
resources:
  entityNormalizationConfiguration:
    type: sumologic:CseEntityNormalizationConfiguration
    name: entity_normalization_configuration
    properties:
      windowsNormalizationEnabled: true
      fqdnNormalizationEnabled: true
      awsNormalizationEnabled: true
      defaultNormalizedDomain: domain.com
      normalizeHostnames: true
      normalizeUsernames: true
      domainMappings:
        - normalizedDomain: normalized.domain
          rawDomain: raw.domain
Create CseEntityNormalizationConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CseEntityNormalizationConfiguration(name: string, args: CseEntityNormalizationConfigurationArgs, opts?: CustomResourceOptions);@overload
def CseEntityNormalizationConfiguration(resource_name: str,
                                        args: CseEntityNormalizationConfigurationArgs,
                                        opts: Optional[ResourceOptions] = None)
@overload
def CseEntityNormalizationConfiguration(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        aws_normalization_enabled: Optional[bool] = 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,
                                        default_normalized_domain: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var cseEntityNormalizationConfigurationResource = new SumoLogic.CseEntityNormalizationConfiguration("cseEntityNormalizationConfigurationResource", new()
{
    AwsNormalizationEnabled = false,
    DomainMappings = new[]
    {
        new SumoLogic.Inputs.CseEntityNormalizationConfigurationDomainMappingArgs
        {
            NormalizedDomain = "string",
            RawDomain = "string",
        },
    },
    FqdnNormalizationEnabled = false,
    NormalizeHostnames = false,
    NormalizeUsernames = false,
    WindowsNormalizationEnabled = false,
    DefaultNormalizedDomain = "string",
});
example, err := sumologic.NewCseEntityNormalizationConfiguration(ctx, "cseEntityNormalizationConfigurationResource", &sumologic.CseEntityNormalizationConfigurationArgs{
	AwsNormalizationEnabled: pulumi.Bool(false),
	DomainMappings: sumologic.CseEntityNormalizationConfigurationDomainMappingArray{
		&sumologic.CseEntityNormalizationConfigurationDomainMappingArgs{
			NormalizedDomain: pulumi.String("string"),
			RawDomain:        pulumi.String("string"),
		},
	},
	FqdnNormalizationEnabled:    pulumi.Bool(false),
	NormalizeHostnames:          pulumi.Bool(false),
	NormalizeUsernames:          pulumi.Bool(false),
	WindowsNormalizationEnabled: pulumi.Bool(false),
	DefaultNormalizedDomain:     pulumi.String("string"),
})
var cseEntityNormalizationConfigurationResource = new CseEntityNormalizationConfiguration("cseEntityNormalizationConfigurationResource", CseEntityNormalizationConfigurationArgs.builder()
    .awsNormalizationEnabled(false)
    .domainMappings(CseEntityNormalizationConfigurationDomainMappingArgs.builder()
        .normalizedDomain("string")
        .rawDomain("string")
        .build())
    .fqdnNormalizationEnabled(false)
    .normalizeHostnames(false)
    .normalizeUsernames(false)
    .windowsNormalizationEnabled(false)
    .defaultNormalizedDomain("string")
    .build());
cse_entity_normalization_configuration_resource = sumologic.CseEntityNormalizationConfiguration("cseEntityNormalizationConfigurationResource",
    aws_normalization_enabled=False,
    domain_mappings=[{
        "normalized_domain": "string",
        "raw_domain": "string",
    }],
    fqdn_normalization_enabled=False,
    normalize_hostnames=False,
    normalize_usernames=False,
    windows_normalization_enabled=False,
    default_normalized_domain="string")
const cseEntityNormalizationConfigurationResource = new sumologic.CseEntityNormalizationConfiguration("cseEntityNormalizationConfigurationResource", {
    awsNormalizationEnabled: false,
    domainMappings: [{
        normalizedDomain: "string",
        rawDomain: "string",
    }],
    fqdnNormalizationEnabled: false,
    normalizeHostnames: false,
    normalizeUsernames: false,
    windowsNormalizationEnabled: false,
    defaultNormalizedDomain: "string",
});
type: sumologic:CseEntityNormalizationConfiguration
properties:
    awsNormalizationEnabled: false
    defaultNormalizedDomain: string
    domainMappings:
        - normalizedDomain: string
          rawDomain: string
    fqdnNormalizationEnabled: false
    normalizeHostnames: false
    normalizeUsernames: false
    windowsNormalizationEnabled: false
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CseEntityNormalizationConfiguration resource accepts the following input properties:
- AwsNormalization boolEnabled 
- Normalize AWS ARN and Usernames.
- DomainMappings List<Pulumi.Sumo Logic. Inputs. Cse Entity Normalization Configuration Domain Mapping> 
- Secondary domains.
- FqdnNormalization boolEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- WindowsNormalization boolEnabled 
- Normalize active directory domains username and hostname formats.
- DefaultNormalized stringDomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- AwsNormalization boolEnabled 
- Normalize AWS ARN and Usernames.
- DomainMappings []CseEntity Normalization Configuration Domain Mapping Args 
- Secondary domains.
- FqdnNormalization boolEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- WindowsNormalization boolEnabled 
- Normalize active directory domains username and hostname formats.
- DefaultNormalized stringDomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- awsNormalization BooleanEnabled 
- Normalize AWS ARN and Usernames.
- domainMappings List<CseEntity Normalization Configuration Domain Mapping> 
- Secondary domains.
- fqdnNormalization BooleanEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- windowsNormalization BooleanEnabled 
- Normalize active directory domains username and hostname formats.
- defaultNormalized StringDomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- awsNormalization booleanEnabled 
- Normalize AWS ARN and Usernames.
- domainMappings CseEntity Normalization Configuration Domain Mapping[] 
- Secondary domains.
- fqdnNormalization booleanEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- windowsNormalization booleanEnabled 
- Normalize active directory domains username and hostname formats.
- defaultNormalized stringDomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- aws_normalization_ boolenabled 
- Normalize AWS ARN and Usernames.
- domain_mappings Sequence[CseEntity Normalization Configuration Domain Mapping Args] 
- Secondary domains.
- fqdn_normalization_ boolenabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- windows_normalization_ boolenabled 
- Normalize active directory domains username and hostname formats.
- default_normalized_ strdomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- awsNormalization BooleanEnabled 
- Normalize AWS ARN and Usernames.
- domainMappings List<Property Map>
- Secondary domains.
- fqdnNormalization BooleanEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- windowsNormalization BooleanEnabled 
- Normalize active directory domains username and hostname formats.
- defaultNormalized StringDomain 
- 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) -> CseEntityNormalizationConfigurationfunc 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)resources:  _:    type: sumologic:CseEntityNormalizationConfiguration    get:      id: ${id}- 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.
- AwsNormalization boolEnabled 
- Normalize AWS ARN and Usernames.
- DefaultNormalized stringDomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- DomainMappings List<Pulumi.Sumo Logic. Inputs. Cse Entity Normalization Configuration Domain Mapping> 
- Secondary domains.
- FqdnNormalization boolEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- WindowsNormalization boolEnabled 
- Normalize active directory domains username and hostname formats.
- AwsNormalization boolEnabled 
- Normalize AWS ARN and Usernames.
- DefaultNormalized stringDomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- DomainMappings []CseEntity Normalization Configuration Domain Mapping Args 
- Secondary domains.
- FqdnNormalization boolEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- WindowsNormalization boolEnabled 
- Normalize active directory domains username and hostname formats.
- awsNormalization BooleanEnabled 
- Normalize AWS ARN and Usernames.
- defaultNormalized StringDomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- domainMappings List<CseEntity Normalization Configuration Domain Mapping> 
- Secondary domains.
- fqdnNormalization BooleanEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- windowsNormalization BooleanEnabled 
- Normalize active directory domains username and hostname formats.
- awsNormalization booleanEnabled 
- Normalize AWS ARN and Usernames.
- defaultNormalized stringDomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- domainMappings CseEntity Normalization Configuration Domain Mapping[] 
- Secondary domains.
- fqdnNormalization booleanEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- windowsNormalization booleanEnabled 
- Normalize active directory domains username and hostname formats.
- aws_normalization_ boolenabled 
- Normalize AWS ARN and Usernames.
- default_normalized_ strdomain 
- When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- domain_mappings Sequence[CseEntity Normalization Configuration Domain Mapping Args] 
- Secondary domains.
- fqdn_normalization_ boolenabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- windows_normalization_ boolenabled 
- Normalize active directory domains username and hostname formats.
- awsNormalization BooleanEnabled 
- Normalize AWS ARN and Usernames.
- defaultNormalized StringDomain 
- 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.
- fqdnNormalization BooleanEnabled 
- 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: 
- ID- The internal ID of the entity normalization configuration.
 
- windowsNormalization BooleanEnabled 
- Normalize active directory domains username and hostname formats.
Supporting Types
CseEntityNormalizationConfigurationDomainMapping, CseEntityNormalizationConfigurationDomainMappingArgs            
- 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-configuration:
hcl
$ pulumi import sumologic:index/cseEntityNormalizationConfiguration:CseEntityNormalizationConfiguration entity_normalization_configuration cse-entity-normalization-configuration
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Sumo Logic pulumi/pulumi-sumologic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sumologicTerraform Provider.