pankajkoti commented on code in PR #32052:
URL: https://github.com/apache/airflow/pull/32052#discussion_r1240905407
##########
airflow/config_templates/config.yml:
##########
@@ -450,6 +450,21 @@ core:
type: string
default: ~
example: 'http://localhost:8080'
+ test_connection:
+ description: |
+ The ability to allow testing connections across Airflow UI, API and
CLI.
+ Supported options: Disabled, Enabled, Hidden. Default: Disabled
+ Disabled - Disables the test connection functionality and disables the
Test Connection button in UI.
+ Enabled - Enables the test connection functionality and shows the Test
Connection button in UI.
+ Hidden - Disables the test connection functionality and hides the Test
Connection button in UI.
+ Before setting this to Enabled, make sure that you review the users
who are able to add/edit
+ connections and ensure they are trusted. Connection testing can be
done maliciously leading to
+ undesired and insecure outcomes.
+ version_added: 2.6.3
Review Comment:
That makes sense, will keep it for 2.7.0 unless someone says we need it for
2.6.3. Will make this change in my next commit.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]