updateSecurityHubConfiguration

Updates configuration options for Security Hub.

Samples


fun main() { 
   //sampleStart 
   // The following example updates Security Hub settings to turn on consolidated control findings, and to
// automatically enable new controls in enabled standards.
securityHubClient.updateSecurityHubConfiguration {
    autoEnableControls = true
    controlFindingGenerator = ControlFindingGenerator.fromValue("SECURITY_CONTROL")
} 
   //sampleEnd
}