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.
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
public virtual DisableImportFindingsForProductResponse DisableImportFindingsForProduct( DisableImportFindingsForProductRequest request )
Container for the necessary parameters to execute the DisableImportFindingsForProduct service method.
Exception | Condition |
---|---|
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. |
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.
var client = new AmazonSecurityHubClient(); var response = client.DisableImportFindingsForProduct(new DisableImportFindingsForProductRequest { ProductSubscriptionArn = "arn:aws:securityhub:us-east-1:517716713836:product/crowdstrike/crowdstrike-falcon" });
.NET Framework:
Supported in: 4.5 and newer, 3.5