listSecurityControlDefinitions
abstract suspend fun listSecurityControlDefinitions(input: ListSecurityControlDefinitionsRequest = ListSecurityControlDefinitionsRequest { }): ListSecurityControlDefinitionsResponse
Lists all of the security controls that apply to a specified standard.
Samples
fun main() {
//sampleStart
// The following example lists security controls that apply to a specified Security Hub standard.
val resp = securityHubClient.listSecurityControlDefinitions {
standardsArn = "arn:aws:securityhub:::standards/aws-foundational-security-best-practices/v/1.0.0"
nextToken = "NULL"
maxResults = 3
}
//sampleEnd
}