updateStandardsControl

Used to control whether an individual security standard control is enabled or disabled.

Samples


fun main() { 
   //sampleStart 
   // The following example disables the specified control in the specified security standard.
securityHubClient.updateStandardsControl {
    standardsControlArn = "arn:aws:securityhub:us-west-1:123456789012:control/pci-dss/v/3.2.1/PCI.AutoScaling.1"
    controlStatus = ControlStatus.fromValue("DISABLED")
    disabledReason = "Not applicable to my service"
} 
   //sampleEnd
}