Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ressource .keycloak_realm.realm missing security_defenses on import #1019

Open
lotusnoir opened this issue Nov 20, 2024 · 0 comments
Open

ressource .keycloak_realm.realm missing security_defenses on import #1019

lotusnoir opened this issue Nov 20, 2024 · 0 comments

Comments

@lotusnoir
Copy link

Describe the bug

after import ressource keycloak_realm, everything is recognize except security_defenses block

 ~ resource "keycloak_realm" "realm" {
        id                                       = "test"
        # (50 unchanged attributes hidden)

      + security_defenses {
          + brute_force_detection {
              + failure_reset_time_seconds       = 43200
              + max_failure_wait_seconds         = 900
              + max_login_failures               = 30
              + minimum_quick_login_wait_seconds = 60
              + permanent_lockout                = false
              + quick_login_check_milli_seconds  = 1000
              + wait_increment_seconds           = 300
            }
          + headers {
              + content_security_policy             = "frame-src 'self' xxxxxxxxxxxxx; object-src 'none';"
              + referrer_policy                     = "no-referrer"
              + strict_transport_security           = "max-age=31536000; includeSubDomains"
              + x_content_type_options              = "nosniff"
              + x_frame_options                     = "SAMEORIGIN"
              + x_robots_tag                        = "none"
              + x_xss_protection                    = "1; mode=block"
                # (1 unchanged attribute hidden)
            }
        }

Version

4.4.0

Expected behavior

everything is recognized after ressource import

  ~ resource "keycloak_realm" "realm" {
        id                                       = "test
        # (50 unchanged attributes hidden)

Actual behavior

No response

How to Reproduce?

No response

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant