updateSecurityControl

Updates the properties of a security control.

Samples

// The following example updates the specified security control. Specifically, this example updates
// control parameters.
val resp = securityHubClient.updateSecurityControl {
    securityControlId = "ACM.1"
    parameters = mapOf<String, ParameterConfiguration>(
        "maxCredentialUsageAge" to ParameterConfiguration {
            valueType = ParameterValueType.fromValue("CUSTOM")
            value = ParameterValue.Integer(15)
        }
    )
    lastUpdateReason = "Comply with internal requirements"
}