describeStandards
abstract suspend fun describeStandards(input: DescribeStandardsRequest = DescribeStandardsRequest { }): DescribeStandardsResponse
Returns a list of the available standards in Security Hub CSPM.
For each standard, the results include the standard ARN, the name, and a description.
Samples
// The following example returns a list of available security standards from a specified provider.
val resp = securityHubClient.describeStandards {
providers = listOf<StandardsProvider>(
StandardsProvider.fromValue("Azure")
)
}Content copied to clipboard
// The following example returns a list of available security standards in Security Hub.
val resp = securityHubClient.describeStandards()Content copied to clipboard