1. Packages
  2. Coralogix Provider
  3. API Docs
  4. getEnrichment
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

coralogix.getEnrichment

Explore with Pulumi AI

coralogix logo
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as coralogix from "@pulumi/coralogix";
    
    const importedEnrichment = coralogix.getEnrichment({
        id: coralogix_enrichment.geo_ip_enrichment.id,
    });
    
    import pulumi
    import pulumi_coralogix as coralogix
    
    imported_enrichment = coralogix.get_enrichment(id=coralogix_enrichment["geo_ip_enrichment"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/coralogix/v2/coralogix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := coralogix.LookupEnrichment(ctx, &coralogix.LookupEnrichmentArgs{
    			Id: coralogix_enrichment.Geo_ip_enrichment.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Coralogix = Pulumi.Coralogix;
    
    return await Deployment.RunAsync(() => 
    {
        var importedEnrichment = Coralogix.GetEnrichment.Invoke(new()
        {
            Id = coralogix_enrichment.Geo_ip_enrichment.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.coralogix.CoralogixFunctions;
    import com.pulumi.coralogix.inputs.GetEnrichmentArgs;
    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 importedEnrichment = CoralogixFunctions.getEnrichment(GetEnrichmentArgs.builder()
                .id(coralogix_enrichment.geo_ip_enrichment().id())
                .build());
    
        }
    }
    
    variables:
      importedEnrichment:
        fn::invoke:
          function: coralogix:getEnrichment
          arguments:
            id: ${coralogix_enrichment.geo_ip_enrichment.id}
    

    Using getEnrichment

    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 getEnrichment(args: GetEnrichmentArgs, opts?: InvokeOptions): Promise<GetEnrichmentResult>
    function getEnrichmentOutput(args: GetEnrichmentOutputArgs, opts?: InvokeOptions): Output<GetEnrichmentResult>
    def get_enrichment(id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetEnrichmentResult
    def get_enrichment_output(id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetEnrichmentResult]
    func LookupEnrichment(ctx *Context, args *LookupEnrichmentArgs, opts ...InvokeOption) (*LookupEnrichmentResult, error)
    func LookupEnrichmentOutput(ctx *Context, args *LookupEnrichmentOutputArgs, opts ...InvokeOption) LookupEnrichmentResultOutput

    > Note: This function is named LookupEnrichment in the Go SDK.

    public static class GetEnrichment 
    {
        public static Task<GetEnrichmentResult> InvokeAsync(GetEnrichmentArgs args, InvokeOptions? opts = null)
        public static Output<GetEnrichmentResult> Invoke(GetEnrichmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEnrichmentResult> getEnrichment(GetEnrichmentArgs args, InvokeOptions options)
    public static Output<GetEnrichmentResult> getEnrichment(GetEnrichmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: coralogix:index/getEnrichment:getEnrichment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of this resource.
    Id string
    The ID of this resource.
    id String
    The ID of this resource.
    id string
    The ID of this resource.
    id str
    The ID of this resource.
    id String
    The ID of this resource.

    getEnrichment Result

    The following output properties are available:

    Aws List<GetEnrichmentAw>
    Coralogix allows you to enrich your logs with the data from a chosen AWS resource. The feature enriches every log that contains a particular resourceId, associated with the metadata of a chosen AWS resource.
    Customs List<GetEnrichmentCustom>
    Custom Log Enrichment with Coralogix enables you to easily enrich your log data.
    GeoIps List<GetEnrichmentGeoIp>
    Coralogix allows you to enrich your logs with location data by automatically converting IPs to Geo-points which can be used to aggregate logs by location and create Map visualizations in Kibana.
    Id string
    The ID of this resource.
    SuspiciousIps List<GetEnrichmentSuspiciousIp>
    Coralogix allows you to automatically discover threats on your web servers by enriching your logs with the most updated IP blacklists.
    Aws []GetEnrichmentAw
    Coralogix allows you to enrich your logs with the data from a chosen AWS resource. The feature enriches every log that contains a particular resourceId, associated with the metadata of a chosen AWS resource.
    Customs []GetEnrichmentCustom
    Custom Log Enrichment with Coralogix enables you to easily enrich your log data.
    GeoIps []GetEnrichmentGeoIp
    Coralogix allows you to enrich your logs with location data by automatically converting IPs to Geo-points which can be used to aggregate logs by location and create Map visualizations in Kibana.
    Id string
    The ID of this resource.
    SuspiciousIps []GetEnrichmentSuspiciousIp
    Coralogix allows you to automatically discover threats on your web servers by enriching your logs with the most updated IP blacklists.
    aws List<GetEnrichmentAw>
    Coralogix allows you to enrich your logs with the data from a chosen AWS resource. The feature enriches every log that contains a particular resourceId, associated with the metadata of a chosen AWS resource.
    customs List<GetEnrichmentCustom>
    Custom Log Enrichment with Coralogix enables you to easily enrich your log data.
    geoIps List<GetEnrichmentGeoIp>
    Coralogix allows you to enrich your logs with location data by automatically converting IPs to Geo-points which can be used to aggregate logs by location and create Map visualizations in Kibana.
    id String
    The ID of this resource.
    suspiciousIps List<GetEnrichmentSuspiciousIp>
    Coralogix allows you to automatically discover threats on your web servers by enriching your logs with the most updated IP blacklists.
    aws GetEnrichmentAw[]
    Coralogix allows you to enrich your logs with the data from a chosen AWS resource. The feature enriches every log that contains a particular resourceId, associated with the metadata of a chosen AWS resource.
    customs GetEnrichmentCustom[]
    Custom Log Enrichment with Coralogix enables you to easily enrich your log data.
    geoIps GetEnrichmentGeoIp[]
    Coralogix allows you to enrich your logs with location data by automatically converting IPs to Geo-points which can be used to aggregate logs by location and create Map visualizations in Kibana.
    id string
    The ID of this resource.
    suspiciousIps GetEnrichmentSuspiciousIp[]
    Coralogix allows you to automatically discover threats on your web servers by enriching your logs with the most updated IP blacklists.
    aws Sequence[GetEnrichmentAw]
    Coralogix allows you to enrich your logs with the data from a chosen AWS resource. The feature enriches every log that contains a particular resourceId, associated with the metadata of a chosen AWS resource.
    customs Sequence[GetEnrichmentCustom]
    Custom Log Enrichment with Coralogix enables you to easily enrich your log data.
    geo_ips Sequence[GetEnrichmentGeoIp]
    Coralogix allows you to enrich your logs with location data by automatically converting IPs to Geo-points which can be used to aggregate logs by location and create Map visualizations in Kibana.
    id str
    The ID of this resource.
    suspicious_ips Sequence[GetEnrichmentSuspiciousIp]
    Coralogix allows you to automatically discover threats on your web servers by enriching your logs with the most updated IP blacklists.
    aws List<Property Map>
    Coralogix allows you to enrich your logs with the data from a chosen AWS resource. The feature enriches every log that contains a particular resourceId, associated with the metadata of a chosen AWS resource.
    customs List<Property Map>
    Custom Log Enrichment with Coralogix enables you to easily enrich your log data.
    geoIps List<Property Map>
    Coralogix allows you to enrich your logs with location data by automatically converting IPs to Geo-points which can be used to aggregate logs by location and create Map visualizations in Kibana.
    id String
    The ID of this resource.
    suspiciousIps List<Property Map>
    Coralogix allows you to automatically discover threats on your web servers by enriching your logs with the most updated IP blacklists.

    Supporting Types

    GetEnrichmentAw

    GetEnrichmentAwField

    Id double
    Name string
    Resource string
    Id float64
    Name string
    Resource string
    id Double
    name String
    resource String
    id number
    name string
    resource string
    id float
    name str
    resource str
    id Number
    name String
    resource String

    GetEnrichmentCustom

    GetEnrichmentCustomField

    Id double
    Name string
    Id float64
    Name string
    id Double
    name String
    id number
    name string
    id float
    name str
    id Number
    name String

    GetEnrichmentGeoIp

    GetEnrichmentGeoIpField

    Id double
    Name string
    Id float64
    Name string
    id Double
    name String
    id number
    name string
    id float
    name str
    id Number
    name String

    GetEnrichmentSuspiciousIp

    GetEnrichmentSuspiciousIpField

    Id double
    Name string
    Id float64
    Name string
    id Double
    name String
    id number
    name string
    id float
    name str
    id Number
    name String

    Package Details

    Repository
    coralogix coralogix/terraform-provider-coralogix
    License
    Notes
    This Pulumi package is based on the coralogix Terraform Provider.
    coralogix logo
    coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix