@@ -73,6 +73,7 @@ func TestAccSetting_WorkspaceProfile(t *testing.T) {
7373 resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.disallow_signup" , "true" ),
7474 resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.disallow_password_signin" , "false" ),
7575 resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.database_change_mode" , "PIPELINE" ),
76+ resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.enable_audit_log_stdout" , "false" ),
7677 ),
7778 },
7879 // Update workspace profile setting with domains
@@ -82,6 +83,7 @@ func TestAccSetting_WorkspaceProfile(t *testing.T) {
8283 internal .TestCheckResourceExists (resourceName ),
8384 resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.domains.#" , "2" ),
8485 resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.enforce_identity_domain" , "true" ),
86+ resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.enable_audit_log_stdout" , "true" ),
8587 resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.announcement.#" , "1" ),
8688 resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.announcement.0.text" , "Test announcement" ),
8789 resource .TestCheckResourceAttr (resourceName , "workspace_profile.0.announcement.0.level" , "INFO" ),
@@ -393,6 +395,7 @@ resource "bytebase_setting" "%s" {
393395 disallow_password_signin = false
394396 database_change_mode = "PIPELINE"
395397 token_duration_in_seconds = 3600
398+ enable_audit_log_stdout = false
396399 }
397400}
398401` , identifier )
@@ -411,6 +414,7 @@ resource "bytebase_setting" "%s" {
411414 enforce_identity_domain = true
412415 token_duration_in_seconds = 7200
413416 maximum_role_expiration_in_seconds = 86400
417+ enable_audit_log_stdout = true
414418 announcement {
415419 text = "Test announcement"
416420 link = "https://example.com/announcement"
0 commit comments