diff --git a/providers/fab/provider.yaml b/providers/fab/provider.yaml index 00d0e872acb77..8c58e26656ce8 100644 --- a/providers/fab/provider.yaml +++ b/providers/fab/provider.yaml @@ -69,6 +69,20 @@ config: fab: description: This section contains configs specific to FAB provider. options: + cookie_secure: + description: | + Cookie with the secure attribute is only sent to the server with an HTTPS connection. + version_added: 2.4.0 + type: boolean + example: ~ + default: "False" + cookie_samesite: + description: | + Whether the cookie is restricted to a first-party or same-site context. + version_added: 2.4.0 + type: string + example: ~ + default: "Lax" navbar_color: description: | Define the color of navigation bar diff --git a/providers/fab/src/airflow/providers/fab/get_provider_info.py b/providers/fab/src/airflow/providers/fab/get_provider_info.py index 2fa32538cd7e2..068111260c6ec 100644 --- a/providers/fab/src/airflow/providers/fab/get_provider_info.py +++ b/providers/fab/src/airflow/providers/fab/get_provider_info.py @@ -30,6 +30,20 @@ def get_provider_info(): "fab": { "description": "This section contains configs specific to FAB provider.", "options": { + "cookie_secure": { + "description": "Cookie with the secure attribute is only sent to the server with an HTTPS connection.\n", + "version_added": "2.4.0", + "type": "boolean", + "example": None, + "default": "False", + }, + "cookie_samesite": { + "description": "Whether the cookie is restricted to a first-party or same-site context.\n", + "version_added": "2.4.0", + "type": "string", + "example": None, + "default": "Lax", + }, "navbar_color": { "description": "Define the color of navigation bar\n", "version_added": "2.2.0",