1. Packages
  2. AWS Classic
  3. API Docs
  4. securityhub
  5. ProductSubscription

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.securityhub.ProductSubscription

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Subscribes to a Security Hub product.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.securityhub.Account("example", {});
    const current = aws.getRegion({});
    const exampleProductSubscription = new aws.securityhub.ProductSubscription("example", {productArn: current.then(current => `arn:aws:securityhub:${current.name}:733251395267:product/alertlogic/althreatmanagement`)}, {
        dependsOn: [example],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.securityhub.Account("example")
    current = aws.get_region()
    example_product_subscription = aws.securityhub.ProductSubscription("example", product_arn=f"arn:aws:securityhub:{current.name}:733251395267:product/alertlogic/althreatmanagement",
    opts = pulumi.ResourceOptions(depends_on=[example]))
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/securityhub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := securityhub.NewAccount(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		current, err := aws.GetRegion(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = securityhub.NewProductSubscription(ctx, "example", &securityhub.ProductSubscriptionArgs{
    			ProductArn: pulumi.String(fmt.Sprintf("arn:aws:securityhub:%v:733251395267:product/alertlogic/althreatmanagement", current.Name)),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			example,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.SecurityHub.Account("example");
    
        var current = Aws.GetRegion.Invoke();
    
        var exampleProductSubscription = new Aws.SecurityHub.ProductSubscription("example", new()
        {
            ProductArn = $"arn:aws:securityhub:{current.Apply(getRegionResult => getRegionResult.Name)}:733251395267:product/alertlogic/althreatmanagement",
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                example,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.securityhub.Account;
    import com.pulumi.aws.AwsFunctions;
    import com.pulumi.aws.inputs.GetRegionArgs;
    import com.pulumi.aws.securityhub.ProductSubscription;
    import com.pulumi.aws.securityhub.ProductSubscriptionArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 Account("example");
    
            final var current = AwsFunctions.getRegion();
    
            var exampleProductSubscription = new ProductSubscription("exampleProductSubscription", ProductSubscriptionArgs.builder()
                .productArn(String.format("arn:aws:securityhub:%s:733251395267:product/alertlogic/althreatmanagement", current.applyValue(getRegionResult -> getRegionResult.name())))
                .build(), CustomResourceOptions.builder()
                    .dependsOn(example)
                    .build());
    
        }
    }
    
    resources:
      example:
        type: aws:securityhub:Account
      exampleProductSubscription:
        type: aws:securityhub:ProductSubscription
        name: example
        properties:
          productArn: arn:aws:securityhub:${current.name}:733251395267:product/alertlogic/althreatmanagement
        options:
          dependson:
            - ${example}
    variables:
      current:
        fn::invoke:
          Function: aws:getRegion
          Arguments: {}
    

    Create ProductSubscription Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProductSubscription(name: string, args: ProductSubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def ProductSubscription(resource_name: str,
                            args: ProductSubscriptionArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProductSubscription(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            product_arn: Optional[str] = None)
    func NewProductSubscription(ctx *Context, name string, args ProductSubscriptionArgs, opts ...ResourceOption) (*ProductSubscription, error)
    public ProductSubscription(string name, ProductSubscriptionArgs args, CustomResourceOptions? opts = null)
    public ProductSubscription(String name, ProductSubscriptionArgs args)
    public ProductSubscription(String name, ProductSubscriptionArgs args, CustomResourceOptions options)
    
    type: aws:securityhub:ProductSubscription
    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 ProductSubscriptionArgs
    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 ProductSubscriptionArgs
    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 ProductSubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProductSubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProductSubscriptionArgs
    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 productSubscriptionResource = new Aws.SecurityHub.ProductSubscription("productSubscriptionResource", new()
    {
        ProductArn = "string",
    });
    
    example, err := securityhub.NewProductSubscription(ctx, "productSubscriptionResource", &securityhub.ProductSubscriptionArgs{
    	ProductArn: pulumi.String("string"),
    })
    
    var productSubscriptionResource = new ProductSubscription("productSubscriptionResource", ProductSubscriptionArgs.builder()
        .productArn("string")
        .build());
    
    product_subscription_resource = aws.securityhub.ProductSubscription("productSubscriptionResource", product_arn="string")
    
    const productSubscriptionResource = new aws.securityhub.ProductSubscription("productSubscriptionResource", {productArn: "string"});
    
    type: aws:securityhub:ProductSubscription
    properties:
        productArn: string
    

    ProductSubscription 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 ProductSubscription resource accepts the following input properties:

    ProductArn string

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    ProductArn string

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    productArn String

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    productArn string

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    product_arn str

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    productArn String

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise

    Outputs

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

    Arn string
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ProductSubscription Resource

    Get an existing ProductSubscription 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?: ProductSubscriptionState, opts?: CustomResourceOptions): ProductSubscription
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            product_arn: Optional[str] = None) -> ProductSubscription
    func GetProductSubscription(ctx *Context, name string, id IDInput, state *ProductSubscriptionState, opts ...ResourceOption) (*ProductSubscription, error)
    public static ProductSubscription Get(string name, Input<string> id, ProductSubscriptionState? state, CustomResourceOptions? opts = null)
    public static ProductSubscription get(String name, Output<String> id, ProductSubscriptionState 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:
    Arn string
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    ProductArn string

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    Arn string
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    ProductArn string

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    arn String
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    productArn String

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    arn string
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    productArn string

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    arn str
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    product_arn str

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise
    arn String
    The ARN of a resource that represents your subscription to the product that generates the findings that you want to import into Security Hub.
    productArn String

    The ARN of the product that generates findings that you want to import into Security Hub - see below.

    Amazon maintains a list of Product integrations in AWS Security Hub that changes over time. Any of the products on the linked Available AWS service integrations or Available third-party partner product integrations can be configured using aws.securityhub.ProductSubscription.

    Available products can also be listed by running the AWS CLI command aws securityhub describe-products.

    A subset of currently available products (remember to replace ${var.region} as appropriate) includes:

    • arn:aws:securityhub:${var.region}::product/aws/guardduty
    • arn:aws:securityhub:${var.region}::product/aws/inspector
    • arn:aws:securityhub:${var.region}::product/aws/macie
    • arn:aws:securityhub:${var.region}::product/alertlogic/althreatmanagement
    • arn:aws:securityhub:${var.region}::product/armordefense/armoranywhere
    • arn:aws:securityhub:${var.region}::product/barracuda/cloudsecurityguardian
    • arn:aws:securityhub:${var.region}::product/checkpoint/cloudguard-iaas
    • arn:aws:securityhub:${var.region}::product/checkpoint/dome9-arc
    • arn:aws:securityhub:${var.region}::product/crowdstrike/crowdstrike-falcon
    • arn:aws:securityhub:${var.region}::product/cyberark/cyberark-pta
    • arn:aws:securityhub:${var.region}::product/f5networks/f5-advanced-waf
    • arn:aws:securityhub:${var.region}::product/fortinet/fortigate
    • arn:aws:securityhub:${var.region}::product/guardicore/aws-infection-monkey
    • arn:aws:securityhub:${var.region}::product/guardicore/guardicore
    • arn:aws:securityhub:${var.region}::product/ibm/qradar-siem
    • arn:aws:securityhub:${var.region}::product/imperva/imperva-attack-analytics
    • arn:aws:securityhub:${var.region}::product/mcafee-skyhigh/mcafee-mvision-cloud-aws
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/redlock
    • arn:aws:securityhub:${var.region}::product/paloaltonetworks/vm-series
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-pc
    • arn:aws:securityhub:${var.region}::product/qualys/qualys-vm
    • arn:aws:securityhub:${var.region}::product/rapid7/insightvm
    • arn:aws:securityhub:${var.region}::product/sophos/sophos-server-protection
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-enterprise
    • arn:aws:securityhub:${var.region}::product/splunk/splunk-phantom
    • arn:aws:securityhub:${var.region}::product/sumologicinc/sumologic-mda
    • arn:aws:securityhub:${var.region}::product/symantec-corp/symantec-cwp
    • arn:aws:securityhub:${var.region}::product/tenable/tenable-io
    • arn:aws:securityhub:${var.region}::product/trend-micro/deep-security
    • arn:aws:securityhub:${var.region}::product/turbot/turbot
    • arn:aws:securityhub:${var.region}::product/twistlock/twistlock-enterprise

    Import

    Using pulumi import, import Security Hub product subscriptions using product_arn,arn. For example:

    $ pulumi import aws:securityhub/productSubscription:ProductSubscription example arn:aws:securityhub:eu-west-1:733251395267:product/alertlogic/althreatmanagement,arn:aws:securityhub:eu-west-1:123456789012:product-subscription/alertlogic/althreatmanagement
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi