AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Disables the integration of the specified product with Security Hub. After the integration is disabled, findings from that product are no longer sent to Security Hub.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DisableImportFindingsForProductAsync.

Namespace: Amazon.SecurityHub
Assembly: AWSSDK.SecurityHub.dll
Version: 3.x.y.z

Syntax

C#
public virtual DisableImportFindingsForProductResponse DisableImportFindingsForProduct(
         DisableImportFindingsForProductRequest request
)

Parameters

request
Type: Amazon.SecurityHub.Model.DisableImportFindingsForProductRequest

Container for the necessary parameters to execute the DisableImportFindingsForProduct service method.

Return Value


The response from the DisableImportFindingsForProduct service method, as returned by SecurityHub.

Exceptions

ExceptionCondition
InternalException Internal server error.
InvalidAccessException The account doesn't have permission to perform this action.
InvalidInputException The request was rejected because you supplied an invalid or out-of-range value for an input parameter.
LimitExceededException The request was rejected because it attempted to create resources beyond the current Amazon Web Services account or throttling limits. The error code describes the limit exceeded.
ResourceNotFoundException The request was rejected because we can't find the specified resource.

Examples

The following example ends an integration between Security Hub and the specified product that sends findings to Security Hub. After the integration ends, the product no longer sends findings to Security Hub.

To end a Security Hub integration


var client = new AmazonSecurityHubClient();
var response = client.DisableImportFindingsForProduct(new DisableImportFindingsForProductRequest 
{
    ProductSubscriptionArn = "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon"
});


            

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also