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:
- Aws
Normalization boolEnabled - Normalize AWS ARN and Usernames.
- Domain
Mappings List<Pulumi.Sumo Logic. Inputs. Cse Entity Normalization Configuration Domain Mapping> - 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 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 []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 stringDomain - When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- aws
Normalization BooleanEnabled - Normalize AWS ARN and Usernames.
- domain
Mappings List<CseEntity Normalization Configuration Domain Mapping> - Secondary domains.
- fqdn
Normalization BooleanEnabled - Normalize names in the form user@somedomain.net or hostname.somedomain.net
- normalize
Hostnames Boolean - If hostname normalization is enabled.
- normalize
Usernames Boolean If username normalization is enabled.
The following attributes are exported:
ID
- The internal ID of the entity normalization configuration.
- windows
Normalization BooleanEnabled - Normalize active directory domains username and hostname formats.
- default
Normalized StringDomain - When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- aws
Normalization booleanEnabled - Normalize AWS ARN and Usernames.
- domain
Mappings CseEntity Normalization Configuration Domain Mapping[] - Secondary domains.
- fqdn
Normalization booleanEnabled - Normalize names in the form user@somedomain.net or hostname.somedomain.net
- normalize
Hostnames boolean - If hostname normalization is enabled.
- normalize
Usernames boolean If username normalization is enabled.
The following attributes are exported:
ID
- The internal ID of the entity normalization configuration.
- windows
Normalization booleanEnabled - Normalize active directory domains username and hostname formats.
- default
Normalized 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.
- aws
Normalization BooleanEnabled - Normalize AWS ARN and Usernames.
- domain
Mappings List<Property Map> - Secondary domains.
- fqdn
Normalization BooleanEnabled - Normalize names in the form user@somedomain.net or hostname.somedomain.net
- normalize
Hostnames Boolean - If hostname normalization is enabled.
- normalize
Usernames Boolean If username normalization is enabled.
The following attributes are exported:
ID
- The internal ID of the entity normalization configuration.
- windows
Normalization BooleanEnabled - Normalize active directory domains username and hostname formats.
- default
Normalized 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) -> 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.
- Aws
Normalization boolEnabled - Normalize AWS ARN and Usernames.
- Default
Normalized stringDomain - When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- Domain
Mappings List<Pulumi.Sumo Logic. Inputs. Cse Entity Normalization Configuration Domain Mapping> - 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.
- Aws
Normalization boolEnabled - Normalize AWS ARN and Usernames.
- Default
Normalized stringDomain - When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- Domain
Mappings []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.
- aws
Normalization BooleanEnabled - Normalize AWS ARN and Usernames.
- default
Normalized StringDomain - When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- domain
Mappings List<CseEntity Normalization Configuration Domain Mapping> - Secondary domains.
- fqdn
Normalization BooleanEnabled - Normalize names in the form user@somedomain.net or hostname.somedomain.net
- normalize
Hostnames Boolean - If hostname normalization is enabled.
- normalize
Usernames Boolean If username normalization is enabled.
The following attributes are exported:
ID
- The internal ID of the entity normalization configuration.
- windows
Normalization BooleanEnabled - Normalize active directory domains username and hostname formats.
- aws
Normalization booleanEnabled - Normalize AWS ARN and Usernames.
- default
Normalized stringDomain - When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- domain
Mappings CseEntity Normalization Configuration Domain Mapping[] - Secondary domains.
- fqdn
Normalization booleanEnabled - Normalize names in the form user@somedomain.net or hostname.somedomain.net
- normalize
Hostnames boolean - If hostname normalization is enabled.
- normalize
Usernames boolean If username normalization is enabled.
The following attributes are exported:
ID
- The internal ID of the entity normalization configuration.
- windows
Normalization 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.
- aws
Normalization BooleanEnabled - Normalize AWS ARN and Usernames.
- default
Normalized StringDomain - When normalization is configured, at least one domain must be configured and a "Normalized Default Domain" must be provided.
- domain
Mappings List<Property Map> - Secondary domains.
- fqdn
Normalization BooleanEnabled - Normalize names in the form user@somedomain.net or hostname.somedomain.net
- normalize
Hostnames Boolean - If hostname normalization is enabled.
- normalize
Usernames Boolean If username normalization is enabled.
The following attributes are exported:
ID
- The internal ID of the entity normalization configuration.
- windows
Normalization BooleanEnabled - Normalize active directory domains username and hostname formats.
Supporting Types
CseEntityNormalizationConfigurationDomainMapping, CseEntityNormalizationConfigurationDomainMappingArgs
- Normalized
Domain string - The normalized domain.
- Raw
Domain string - The raw domain to be normalized.
- Normalized
Domain string - The normalized domain.
- Raw
Domain string - The raw domain to be normalized.
- normalized
Domain String - The normalized domain.
- raw
Domain String - The raw domain to be normalized.
- normalized
Domain string - The normalized domain.
- raw
Domain string - The raw domain to be normalized.
- normalized_
domain str - The normalized domain.
- raw_
domain str - The raw domain to be normalized.
- normalized
Domain String - The normalized domain.
- raw
Domain 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
sumologic
Terraform Provider.