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.
Container for the parameters to the GetEnabledStandards operation. Returns a list of the standards that are currently enabled.
Namespace: Amazon.SecurityHub.Model
Assembly: AWSSDK.SecurityHub.dll
Version: 3.x.y.z
public class GetEnabledStandardsRequest : AmazonSecurityHubRequest IAmazonWebServiceRequest
The GetEnabledStandardsRequest type exposes the following members
Name | Description | |
---|---|---|
GetEnabledStandardsRequest() |
Name | Type | Description | |
---|---|---|---|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of results to return in the response. |
|
NextToken | System.String |
Gets and sets the property NextToken.
The token that is required for pagination. On your first call to the For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response. |
|
StandardsSubscriptionArns | System.Collections.Generic.List<System.String> |
Gets and sets the property StandardsSubscriptionArns. The list of the standards subscription ARNs for the standards to retrieve. |
The following example returns a list of Security Hub standards that are currently enabled in your account.
var client = new AmazonSecurityHubClient(); var response = client.GetEnabledStandards(new GetEnabledStandardsRequest { StandardsSubscriptionArns = new List<string> { "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1" } }); List<StandardsSubscription> standardsSubscriptions = response.StandardsSubscriptions;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5