getEnabledStandards

Returns a list of the standards that are currently enabled.

Samples


fun main() { 
   //sampleStart 
   // The following example returns a list of Security Hub standards that are currently enabled in your
// account.
val resp = securityHubClient.getEnabledStandards {
    standardsSubscriptionArns = listOf<String>(
        "arn:aws:securityhub:us-west-1:123456789012:subscription/pci-dss/v/3.2.1"
    )
} 
   //sampleEnd
}