1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. getManagementThreatIocFeed
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.getManagementThreatIocFeed

Explore with Pulumi AI

Use this data source to get information on an existing Check Point Threat Ioc Feed.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as checkpoint from "@pulumi/checkpoint";

const example = new checkpoint.ManagementThreatIocFeed("example", {
    action: "Prevent",
    feedUrl: "https://www.feedsresource.com/resource",
});
const dataThreatIocFeed = checkpoint.getManagementThreatIocFeedOutput({
    name: example.name,
});
Copy
import pulumi
import pulumi_checkpoint as checkpoint

example = checkpoint.ManagementThreatIocFeed("example",
    action="Prevent",
    feed_url="https://www.feedsresource.com/resource")
data_threat_ioc_feed = checkpoint.get_management_threat_ioc_feed_output(name=example.name)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/checkpoint/v2/checkpoint"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := checkpoint.NewManagementThreatIocFeed(ctx, "example", &checkpoint.ManagementThreatIocFeedArgs{
			Action:  pulumi.String("Prevent"),
			FeedUrl: pulumi.String("https://www.feedsresource.com/resource"),
		})
		if err != nil {
			return err
		}
		_ = checkpoint.LookupManagementThreatIocFeedOutput(ctx, checkpoint.GetManagementThreatIocFeedOutputArgs{
			Name: example.Name,
		}, nil)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkpoint = Pulumi.Checkpoint;

return await Deployment.RunAsync(() => 
{
    var example = new Checkpoint.ManagementThreatIocFeed("example", new()
    {
        Action = "Prevent",
        FeedUrl = "https://www.feedsresource.com/resource",
    });

    var dataThreatIocFeed = Checkpoint.GetManagementThreatIocFeed.Invoke(new()
    {
        Name = example.Name,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkpoint.ManagementThreatIocFeed;
import com.pulumi.checkpoint.ManagementThreatIocFeedArgs;
import com.pulumi.checkpoint.CheckpointFunctions;
import com.pulumi.checkpoint.inputs.GetManagementThreatIocFeedArgs;
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 example = new ManagementThreatIocFeed("example", ManagementThreatIocFeedArgs.builder()
            .action("Prevent")
            .feedUrl("https://www.feedsresource.com/resource")
            .build());

        final var dataThreatIocFeed = CheckpointFunctions.getManagementThreatIocFeed(GetManagementThreatIocFeedArgs.builder()
            .name(example.name())
            .build());

    }
}
Copy
resources:
  example:
    type: checkpoint:ManagementThreatIocFeed
    properties:
      action: Prevent
      feedUrl: https://www.feedsresource.com/resource
variables:
  dataThreatIocFeed:
    fn::invoke:
      function: checkpoint:getManagementThreatIocFeed
      arguments:
        name: ${example.name}
Copy

Using getManagementThreatIocFeed

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 getManagementThreatIocFeed(args: GetManagementThreatIocFeedArgs, opts?: InvokeOptions): Promise<GetManagementThreatIocFeedResult>
function getManagementThreatIocFeedOutput(args: GetManagementThreatIocFeedOutputArgs, opts?: InvokeOptions): Output<GetManagementThreatIocFeedResult>
Copy
def get_management_threat_ioc_feed(id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   uid: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetManagementThreatIocFeedResult
def get_management_threat_ioc_feed_output(id: Optional[pulumi.Input[str]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   uid: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetManagementThreatIocFeedResult]
Copy
func LookupManagementThreatIocFeed(ctx *Context, args *LookupManagementThreatIocFeedArgs, opts ...InvokeOption) (*LookupManagementThreatIocFeedResult, error)
func LookupManagementThreatIocFeedOutput(ctx *Context, args *LookupManagementThreatIocFeedOutputArgs, opts ...InvokeOption) LookupManagementThreatIocFeedResultOutput
Copy

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

public static class GetManagementThreatIocFeed 
{
    public static Task<GetManagementThreatIocFeedResult> InvokeAsync(GetManagementThreatIocFeedArgs args, InvokeOptions? opts = null)
    public static Output<GetManagementThreatIocFeedResult> Invoke(GetManagementThreatIocFeedInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagementThreatIocFeedResult> getManagementThreatIocFeed(GetManagementThreatIocFeedArgs args, InvokeOptions options)
public static Output<GetManagementThreatIocFeedResult> getManagementThreatIocFeed(GetManagementThreatIocFeedArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: checkpoint:index/getManagementThreatIocFeed:getManagementThreatIocFeed
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Name string
Object name.
Uid string
Object unique identifier.
Id string
Name string
Object name.
Uid string
Object unique identifier.
id String
name String
Object name.
uid String
Object unique identifier.
id string
name string
Object name.
uid string
Object unique identifier.
id str
name str
Object name.
uid str
Object unique identifier.
id String
name String
Object name.
uid String
Object unique identifier.

getManagementThreatIocFeed Result

The following output properties are available:

Supporting Types

GetManagementThreatIocFeedCustomHeader

HeaderName This property is required. string
HeaderValue This property is required. string
HeaderName This property is required. string
HeaderValue This property is required. string
headerName This property is required. String
headerValue This property is required. String
headerName This property is required. string
headerValue This property is required. string
header_name This property is required. str
header_value This property is required. str
headerName This property is required. String
headerValue This property is required. String

Package Details

Repository
checkpoint checkpointsw/terraform-provider-checkpoint
License
Notes
This Pulumi package is based on the checkpoint Terraform Provider.