You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2023/06/23 14:10:54 UTC
[GitHub] [airflow] potiuk opened a new pull request, #32098: Update security model of Airflow
potiuk opened a new pull request, #32098:
URL: https://github.com/apache/airflow/pull/32098
This change updates the security model of Airflow to better explain what are the capabilities of various kinds of users in Airflow deployments and give both users and security researchers a way to understand what security measures they can take and whether they can qualify potential security issues in Airflow properly - taking into account that various users of Airflow have various capabilities and behaviours considered by some of the users as security vulnerabilities, are standard capabilities of the users.
It also splits the security information of ours in two separate pages:
* .github/SECURITY.md where we explain how to report the issues to Apache Airflow security team by the researchers
* documentation security/index.html which is available via Airflow Website where we explain what our security model is and the different kinds of users we have.
Both serve slightly different purpose and both contain cross-reference links to each other in order to be able to redirect people who read about the security model to find out how they can report the issues but also to guide security researchers who want to assess whether their findings are real vulnerabilities, or rather normal behaviours following the Airflow Security model.
Security has been also moved to be a top level topic, so that it is easier to find and navigate to. Old links have been redirected to the new locations.
Also chapters were added explaining Airflow vs. Providers security releases, what is the relation between Airflow and Providers security issues and how users should treat security announcements in providers.
<!--
Thank you for contributing! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
remember to adjust the documentation.
Feel free to ping committers for the review!
In case of an existing issue, reference it using one of the following:
closes: #ISSUE
related: #ISSUE
How to write a good git commit message:
http://chris.beams.io/posts/git-commit/
-->
---
**^ Add meaningful description above**
Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
In case of fundamental code changes, an Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals)) is needed.
In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
In case of backwards incompatible changes please leave a note in a newsfragment file, named `{pr_number}.significant.rst` or `{issue_number}.significant.rst`, in [newsfragments](https://github.com/apache/airflow/tree/main/newsfragments).
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #32098:
URL: https://github.com/apache/airflow/pull/32098#issuecomment-1606130859
Updated after @pankajastro comments
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1247524443
##########
.github/SECURITY.md:
##########
@@ -1,61 +1,50 @@
- .. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
Review Comment:
Good point. It needs to be added. For some reason it's not been added automatically (I tend not to think about those because they are added automatically). I will fix both. It's not **technically** needed though. The preamble is needed when we distribute sources. This file is not part of the "-sources.tgz", and this is where licences are needed.
But it does not hurt to add it.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1241219830
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,163 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know, how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files,
+ running code and accessing credentials. They have full access to the
Review Comment:
Yeah. I added a bit longer and more precise description.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] uranusjr commented on a diff in pull request #32098: Update security model of Airflow
Posted by "uranusjr (via GitHub)" <gi...@apache.org>.
uranusjr commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1247414467
##########
.github/SECURITY.md:
##########
@@ -1,61 +1,50 @@
- .. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
Review Comment:
Is the Apache License preamble not needed?
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1247532844
##########
.github/SECURITY.md:
##########
@@ -1,61 +1,50 @@
- .. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
Review Comment:
added here. Also https://github.com/apache/airflow/pull/32276 will add them automaticaly in .github folder as well.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #32098:
URL: https://github.com/apache/airflow/pull/32098#issuecomment-1604443661
For a bit more visual way.
This is what github policy will have:

And this is what the user will see on our website:

--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1241219942
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,163 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know, how to report security vulnerabilities and how
Review Comment:
yep
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] o-nikolas commented on a diff in pull request #32098: Update security model of Airflow
Posted by "o-nikolas (via GitHub)" <gi...@apache.org>.
o-nikolas commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1246907924
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
Review Comment:
```suggestion
Capabilities of authenticated UI users
```
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
Review Comment:
I'd like to call out that Roles and Permissions in Airflow are fluid and configurable, so the below three roles are not exhaustive, but are still helpful. Here's a proposed paragraph to lead into that list:
```suggestion
The capabilities of **Authenticated UI users** can vary depending on
what roles have been configured by the Deployment Manager or Admin users as well as what permissions those roles have. Permissions on roles can be scoped as tightly as a single DAG, for example, or as broad as Admin. Below are three general categories to help conceptualize some of the capabilities authenticated users may have:
```
##########
.github/SECURITY.md:
##########
@@ -1,61 +1,50 @@
- .. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
+This document contains information on how to report security vulnerabilities in Apache Airflow and
+how the security issues reported to Apache Airflow security team are handled. If you would like
+to learn about the security model of Airflow head to
+[Airflow Security](https://airflow.apache.org/docs/apache-airflow/stable/security/)
- .. http://www.apache.org/licenses/LICENSE-2.0
-
- .. Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-Security Model
---------------
-
-In the Airflow security model, the system administrators are fully trusted.
-They are the only ones who can upload new DAGs, which gives them the ability
-to execute any code on the server.
-
-Authenticated web interface and API users with Admin/Op permissions are trusted,
-but to a lesser extent: they can configure the DAGs which gives them some control,
-but not arbitrary code execution.
-
-Authenticated Web interface and API users with 'regular' permissions are trusted
-to the point where they can impact resource consumption and pause/unpause configured DAGs,
-but not otherwise influence their functionality.
-
-Reporting Vulnerabilities
--------------------------
+## Reporting Vulnerabilities
**⚠️ Please do not file GitHub issues for security vulnerabilities as they are public! ⚠️**
The Apache Software Foundation takes security issues very seriously. Apache
Airflow specifically offers security features and is responsive to issues
around its features. If you have any concern around Airflow Security or believe
you have uncovered a vulnerability, we suggest that you get in touch via the
-e-mail address security@airflow.apache.org. In the message, try to provide a
-description of the issue and ideally a way of reproducing it. The security team
-will get back to you after assessing the description.
+e-mail address [security@airflow.apache.org](mailto:security@airflow.apache.org).
+In the message, try to provide a description of the issue and ideally a way of
+reproducing it. The security team will get back to you after assessing the report.
Note that this security address should be used only for undisclosed
vulnerabilities. Dealing with fixed issues or general questions on how to use
the security features should be handled regularly via the user and the dev
lists. Please report any security problems to the project security address
before disclosing it publicly.
-The `ASF Security team's page <https://www.apache.org/security/>`_ describes
-how vulnerability reports are handled, and includes PGP keys if you wish to use
-that.
+Before reporting vulnerabilities, please make sure to read and understand the
+[security model](https://airflow.apache.org/docs/apache-airflow/stable/security/) of Airflow, because
+some of the potential security vulnerabilities that are valid for projects that are publicly accessible
+from the Internet, are not valid for Airflow. Airflow is not designed to be used by untrusted users, and some
+trusted users are trusted enough to do a variety of operations that could be considered as vulnerabilities
+in other products/circumstances. This is the reason why some potential security vulnerabilities do not
+apply to Airflow, or have different severity than generic scoring systems (for example `CVSS`)
+calculation suggests.
+The [ASF Security team's page](https://www.apache.org/security/) describes
+how vulnerability reports are handled in general by all ASF projects, and includes PGP keys if
+you wish to use them when you report the issues.
-Handling security issues in Airflow
------------------------------------
+## Security vulnerabilities in Airflow and Airflow community managed providers
+
+Airflow core package is released separately from provider packages. While Airflow comes with ``constraints``
+which describe which version of providers have been tested when the version of Airflow was released, the
+users of Airflow are advised to install providers independently from Airflow core when they want to apply
+security fixes found and released in providers. Therefore the issues found and fixed in providers do
+not apply to Airflow core package. There are also airflow providers released by 3rd-parties, but the
Review Comment:
```suggestion
security fixes found and released in providers. Therefore, the issues found and fixed in providers do
not apply to the Airflow core package. There are also Airflow providers released by 3rd-parties, but the
```
##########
.github/SECURITY.md:
##########
@@ -1,61 +1,50 @@
- .. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
+This document contains information on how to report security vulnerabilities in Apache Airflow and
+how the security issues reported to Apache Airflow security team are handled. If you would like
+to learn about the security model of Airflow head to
+[Airflow Security](https://airflow.apache.org/docs/apache-airflow/stable/security/)
- .. http://www.apache.org/licenses/LICENSE-2.0
-
- .. Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-Security Model
---------------
-
-In the Airflow security model, the system administrators are fully trusted.
-They are the only ones who can upload new DAGs, which gives them the ability
-to execute any code on the server.
-
-Authenticated web interface and API users with Admin/Op permissions are trusted,
-but to a lesser extent: they can configure the DAGs which gives them some control,
-but not arbitrary code execution.
-
-Authenticated Web interface and API users with 'regular' permissions are trusted
-to the point where they can impact resource consumption and pause/unpause configured DAGs,
-but not otherwise influence their functionality.
-
-Reporting Vulnerabilities
--------------------------
+## Reporting Vulnerabilities
**⚠️ Please do not file GitHub issues for security vulnerabilities as they are public! ⚠️**
The Apache Software Foundation takes security issues very seriously. Apache
Airflow specifically offers security features and is responsive to issues
around its features. If you have any concern around Airflow Security or believe
you have uncovered a vulnerability, we suggest that you get in touch via the
-e-mail address security@airflow.apache.org. In the message, try to provide a
-description of the issue and ideally a way of reproducing it. The security team
-will get back to you after assessing the description.
+e-mail address [security@airflow.apache.org](mailto:security@airflow.apache.org).
+In the message, try to provide a description of the issue and ideally a way of
+reproducing it. The security team will get back to you after assessing the report.
Note that this security address should be used only for undisclosed
vulnerabilities. Dealing with fixed issues or general questions on how to use
the security features should be handled regularly via the user and the dev
lists. Please report any security problems to the project security address
before disclosing it publicly.
-The `ASF Security team's page <https://www.apache.org/security/>`_ describes
-how vulnerability reports are handled, and includes PGP keys if you wish to use
-that.
+Before reporting vulnerabilities, please make sure to read and understand the
+[security model](https://airflow.apache.org/docs/apache-airflow/stable/security/) of Airflow, because
+some of the potential security vulnerabilities that are valid for projects that are publicly accessible
+from the Internet, are not valid for Airflow. Airflow is not designed to be used by untrusted users, and some
+trusted users are trusted enough to do a variety of operations that could be considered as vulnerabilities
+in other products/circumstances. This is the reason why some potential security vulnerabilities do not
+apply to Airflow, or have different severity than generic scoring systems (for example `CVSS`)
+calculation suggests.
Review Comment:
```suggestion
in other products/circumstances. Therefore, some potential security vulnerabilities do not
apply to Airflow, or have a different severity than some generic scoring systems (for example `CVSS`)
calculation suggests.
```
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
Review Comment:
Should we note that DB access is planned to change soon with the multi-tenancy work underway?
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
+
+1. **Admin users**: They manage and grant permissions to other users,
+ with full access to all UI capabilities. They can potentially execute
+ code on workers by configuring connections and need to be trusted not
+ to abuse these privileges. They have access to sensitive credentials
+ and can modify them. By default, they don't have access to
+ system-level configuration. They should be trusted not to misuse
+ sensitive information accessible through connection configuration.
+ They also have the ability to create a Webserver Denial of Service
+ situation and should be trusted not to misuse this capability.
+
+2. **Connection configuration users**: They configure connections and
+ potentially execute code on workers during DAG execution. Trust is
+ required to prevent misuse of these privileges. They have full access
+ to sensitive credentials stored in connections and can modify them.
+ Access to sensitive information through connection configuration
+ should be trusted not to be abused. They also have the ability to
+ create a Webserver Denial of Service situation and should be trusted
+ not to misuse this capability.
+
+3. **Operations users**: They have access to DAG execution status via
+ the UI. Currently, Airflow lacks full protection for accessing groups
+ of DAGs' history and execution. They can perform actions such as
+ clearing, re-running, triggering DAGs, and changing parameters.
+ Depending on access restrictions, they may also have access to
+ editing variables and viewing Airflow configuration. They should not
+ have access to sensitive system-level information or connections, and
+ they should not be able to access sensitive task information unless
+ deliberately exposed in logs by DAG authors. They should be trusted
+ not to abuse their privileges, as they can potentially overload the
+ server and cause Denial of Service situations.
+
+Responsibilities of Deployment Managers
+---------------------------------------
+
+Deployment Managers determine access levels and understand the potential
+damage users can cause. Some Deployment Managers may further limit
+access through fine-grained privileges for the **Authenticated UI
+users**. However, these limitations are outside the basic Airflow's
+security model and are at the discretion of Deployment Managers.
+Examples of fine-grained access control include (but are not limited
+to):
+
+- Limiting login permissions: Restricting the accounts that users can
+ log in with, allowing only specific accounts or roles belonging to
+ access the Airflow system.
+
+- Access restrictions to views or DAGs: Controlling user access to
+ certain views or specific DAGs, ensuring that users can only view or
+ interact with authorized components.
+
+- Implementing static code analysis and code review: Introducing
+ processes such as static code analysis and code review as part of the
+ DAG submission pipeline. This helps enforce code quality standards,
+ security checks, and adherence to best practices before DAGs are
+ deployed.
Review Comment:
Perhaps out of scope for a document focused on Airflow itself? I don't feel strongly though, happy to keep it.
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
+
+1. **Admin users**: They manage and grant permissions to other users,
+ with full access to all UI capabilities. They can potentially execute
+ code on workers by configuring connections and need to be trusted not
+ to abuse these privileges. They have access to sensitive credentials
+ and can modify them. By default, they don't have access to
+ system-level configuration. They should be trusted not to misuse
+ sensitive information accessible through connection configuration.
+ They also have the ability to create a Webserver Denial of Service
+ situation and should be trusted not to misuse this capability.
+
+2. **Connection configuration users**: They configure connections and
+ potentially execute code on workers during DAG execution. Trust is
+ required to prevent misuse of these privileges. They have full access
+ to sensitive credentials stored in connections and can modify them.
+ Access to sensitive information through connection configuration
+ should be trusted not to be abused. They also have the ability to
+ create a Webserver Denial of Service situation and should be trusted
+ not to misuse this capability.
+
+3. **Operations users**: They have access to DAG execution status via
+ the UI. Currently, Airflow lacks full protection for accessing groups
+ of DAGs' history and execution. They can perform actions such as
+ clearing, re-running, triggering DAGs, and changing parameters.
+ Depending on access restrictions, they may also have access to
+ editing variables and viewing Airflow configuration. They should not
+ have access to sensitive system-level information or connections, and
+ they should not be able to access sensitive task information unless
+ deliberately exposed in logs by DAG authors. They should be trusted
+ not to abuse their privileges, as they can potentially overload the
+ server and cause Denial of Service situations.
+
+Responsibilities of Deployment Managers
+---------------------------------------
+
+Deployment Managers determine access levels and understand the potential
+damage users can cause. Some Deployment Managers may further limit
+access through fine-grained privileges for the **Authenticated UI
+users**. However, these limitations are outside the basic Airflow's
+security model and are at the discretion of Deployment Managers.
+Examples of fine-grained access control include (but are not limited
+to):
+
+- Limiting login permissions: Restricting the accounts that users can
+ log in with, allowing only specific accounts or roles belonging to
+ access the Airflow system.
+
+- Access restrictions to views or DAGs: Controlling user access to
+ certain views or specific DAGs, ensuring that users can only view or
+ interact with authorized components.
+
+- Implementing static code analysis and code review: Introducing
+ processes such as static code analysis and code review as part of the
+ DAG submission pipeline. This helps enforce code quality standards,
+ security checks, and adherence to best practices before DAGs are
+ deployed.
+
+These examples showcase ways in which administrators can refine and
+limit user privileges within Airflow, providing tighter control and
+ensuring that users have access only to the necessary components and
+functionalities based on their roles and responsibilities, however the
+fine-grained access control does not provide full isolation and
+separation of access allowing isolation of different user groups in a
+multi-tenant fashion yet. In the future versions of Airflow some of the
+fine-grained access features might become part of the Airflow security
+model. Airflow community works on a multi-tenant model that might
+address some of the fine-grained access components.
Review Comment:
```suggestion
model. The Airflow community is working on a multi-tenant model that might
address some of the fine-grained access components.
```
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
+
+1. **Admin users**: They manage and grant permissions to other users,
+ with full access to all UI capabilities. They can potentially execute
+ code on workers by configuring connections and need to be trusted not
+ to abuse these privileges. They have access to sensitive credentials
+ and can modify them. By default, they don't have access to
+ system-level configuration. They should be trusted not to misuse
+ sensitive information accessible through connection configuration.
+ They also have the ability to create a Webserver Denial of Service
+ situation and should be trusted not to misuse this capability.
+
+2. **Connection configuration users**: They configure connections and
+ potentially execute code on workers during DAG execution. Trust is
+ required to prevent misuse of these privileges. They have full access
+ to sensitive credentials stored in connections and can modify them.
+ Access to sensitive information through connection configuration
+ should be trusted not to be abused. They also have the ability to
+ create a Webserver Denial of Service situation and should be trusted
+ not to misuse this capability.
+
+3. **Operations users**: They have access to DAG execution status via
+ the UI. Currently, Airflow lacks full protection for accessing groups
+ of DAGs' history and execution. They can perform actions such as
+ clearing, re-running, triggering DAGs, and changing parameters.
+ Depending on access restrictions, they may also have access to
+ editing variables and viewing Airflow configuration. They should not
+ have access to sensitive system-level information or connections, and
+ they should not be able to access sensitive task information unless
+ deliberately exposed in logs by DAG authors. They should be trusted
+ not to abuse their privileges, as they can potentially overload the
+ server and cause Denial of Service situations.
+
+Responsibilities of Deployment Managers
+---------------------------------------
+
+Deployment Managers determine access levels and understand the potential
+damage users can cause. Some Deployment Managers may further limit
+access through fine-grained privileges for the **Authenticated UI
+users**. However, these limitations are outside the basic Airflow's
+security model and are at the discretion of Deployment Managers.
+Examples of fine-grained access control include (but are not limited
+to):
+
+- Limiting login permissions: Restricting the accounts that users can
+ log in with, allowing only specific accounts or roles belonging to
+ access the Airflow system.
+
+- Access restrictions to views or DAGs: Controlling user access to
+ certain views or specific DAGs, ensuring that users can only view or
+ interact with authorized components.
+
+- Implementing static code analysis and code review: Introducing
+ processes such as static code analysis and code review as part of the
+ DAG submission pipeline. This helps enforce code quality standards,
+ security checks, and adherence to best practices before DAGs are
+ deployed.
+
+These examples showcase ways in which administrators can refine and
+limit user privileges within Airflow, providing tighter control and
+ensuring that users have access only to the necessary components and
+functionalities based on their roles and responsibilities, however the
+fine-grained access control does not provide full isolation and
+separation of access allowing isolation of different user groups in a
+multi-tenant fashion yet. In the future versions of Airflow some of the
+fine-grained access features might become part of the Airflow security
+model. Airflow community works on a multi-tenant model that might
+address some of the fine-grained access components.
+
+
+Releasing Airflow with security patches
+---------------------------------------
+
+Apache Airflow uses strict [SemVer](https://semver.org) versioning policy, which means that we strive for
+any release of a given ``MAJOR`` Version (version "2" currently) to be backwards compatible. When we
+release ``MINOR`` version, the development continues in the ``main`` branch where we prepare the next
+``MINOR`` version, but we release ``PATCHLEVEL`` releases with selected bugfixes (including security
+bugfixes) cherry-picked to the latest released ``MINOR`` line of Apache Airflow. At the moment, when we
+release a new ``MINOR`` version, we stop releasing ``PATCHLEVEL`` releases for the previous ``MINOR`` version.
+
+For example, when we released ``2.6.0`` version on April 30, 2023, until we release ``2.7.0`` version,
+all the security patches will be cherry-picked and released in ``2.6.*`` versions only. There will be no
+``2.5.*`` versions released after ``2.6.0`` has been released.
Review Comment:
```suggestion
For example, once we released ``2.6.0`` version on April 30, 2023 all the security patches will be cherry-picked and released in ``2.6.*`` versions until we release ``2.7.0`` version. There will be no
``2.5.*`` versions released after ``2.6.0`` has been released.
```
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
+
+1. **Admin users**: They manage and grant permissions to other users,
+ with full access to all UI capabilities. They can potentially execute
+ code on workers by configuring connections and need to be trusted not
+ to abuse these privileges. They have access to sensitive credentials
+ and can modify them. By default, they don't have access to
+ system-level configuration. They should be trusted not to misuse
+ sensitive information accessible through connection configuration.
+ They also have the ability to create a Webserver Denial of Service
+ situation and should be trusted not to misuse this capability.
+
+2. **Connection configuration users**: They configure connections and
+ potentially execute code on workers during DAG execution. Trust is
+ required to prevent misuse of these privileges. They have full access
+ to sensitive credentials stored in connections and can modify them.
+ Access to sensitive information through connection configuration
+ should be trusted not to be abused. They also have the ability to
+ create a Webserver Denial of Service situation and should be trusted
+ not to misuse this capability.
+
+3. **Operations users**: They have access to DAG execution status via
+ the UI. Currently, Airflow lacks full protection for accessing groups
+ of DAGs' history and execution. They can perform actions such as
+ clearing, re-running, triggering DAGs, and changing parameters.
+ Depending on access restrictions, they may also have access to
+ editing variables and viewing Airflow configuration. They should not
+ have access to sensitive system-level information or connections, and
+ they should not be able to access sensitive task information unless
+ deliberately exposed in logs by DAG authors. They should be trusted
+ not to abuse their privileges, as they can potentially overload the
+ server and cause Denial of Service situations.
+
+Responsibilities of Deployment Managers
+---------------------------------------
+
+Deployment Managers determine access levels and understand the potential
+damage users can cause. Some Deployment Managers may further limit
+access through fine-grained privileges for the **Authenticated UI
+users**. However, these limitations are outside the basic Airflow's
+security model and are at the discretion of Deployment Managers.
+Examples of fine-grained access control include (but are not limited
+to):
+
+- Limiting login permissions: Restricting the accounts that users can
+ log in with, allowing only specific accounts or roles belonging to
+ access the Airflow system.
+
+- Access restrictions to views or DAGs: Controlling user access to
+ certain views or specific DAGs, ensuring that users can only view or
+ interact with authorized components.
+
+- Implementing static code analysis and code review: Introducing
+ processes such as static code analysis and code review as part of the
+ DAG submission pipeline. This helps enforce code quality standards,
+ security checks, and adherence to best practices before DAGs are
+ deployed.
+
+These examples showcase ways in which administrators can refine and
+limit user privileges within Airflow, providing tighter control and
+ensuring that users have access only to the necessary components and
+functionalities based on their roles and responsibilities, however the
+fine-grained access control does not provide full isolation and
+separation of access allowing isolation of different user groups in a
+multi-tenant fashion yet. In the future versions of Airflow some of the
+fine-grained access features might become part of the Airflow security
+model. Airflow community works on a multi-tenant model that might
+address some of the fine-grained access components.
+
+
+Releasing Airflow with security patches
+---------------------------------------
+
+Apache Airflow uses strict [SemVer](https://semver.org) versioning policy, which means that we strive for
Review Comment:
```suggestion
Apache Airflow uses a strict [SemVer](https://semver.org) versioning policy, which means that we strive for
```
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
Review Comment:
in the .github/security.rst titles only had the first word capitalized (other than proper nouns of course) so we should probably follow the same in this one?:
```suggestion
Airflow security model - user types
```
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
+
+1. **Admin users**: They manage and grant permissions to other users,
+ with full access to all UI capabilities. They can potentially execute
+ code on workers by configuring connections and need to be trusted not
+ to abuse these privileges. They have access to sensitive credentials
+ and can modify them. By default, they don't have access to
+ system-level configuration. They should be trusted not to misuse
+ sensitive information accessible through connection configuration.
+ They also have the ability to create a Webserver Denial of Service
+ situation and should be trusted not to misuse this capability.
+
+2. **Connection configuration users**: They configure connections and
+ potentially execute code on workers during DAG execution. Trust is
+ required to prevent misuse of these privileges. They have full access
+ to sensitive credentials stored in connections and can modify them.
+ Access to sensitive information through connection configuration
+ should be trusted not to be abused. They also have the ability to
+ create a Webserver Denial of Service situation and should be trusted
+ not to misuse this capability.
+
+3. **Operations users**: They have access to DAG execution status via
+ the UI. Currently, Airflow lacks full protection for accessing groups
+ of DAGs' history and execution. They can perform actions such as
+ clearing, re-running, triggering DAGs, and changing parameters.
+ Depending on access restrictions, they may also have access to
+ editing variables and viewing Airflow configuration. They should not
+ have access to sensitive system-level information or connections, and
+ they should not be able to access sensitive task information unless
+ deliberately exposed in logs by DAG authors. They should be trusted
+ not to abuse their privileges, as they can potentially overload the
+ server and cause Denial of Service situations.
+
+Responsibilities of Deployment Managers
+---------------------------------------
+
+Deployment Managers determine access levels and understand the potential
+damage users can cause. Some Deployment Managers may further limit
+access through fine-grained privileges for the **Authenticated UI
+users**. However, these limitations are outside the basic Airflow's
+security model and are at the discretion of Deployment Managers.
+Examples of fine-grained access control include (but are not limited
+to):
+
+- Limiting login permissions: Restricting the accounts that users can
+ log in with, allowing only specific accounts or roles belonging to
+ access the Airflow system.
+
+- Access restrictions to views or DAGs: Controlling user access to
+ certain views or specific DAGs, ensuring that users can only view or
+ interact with authorized components.
+
+- Implementing static code analysis and code review: Introducing
+ processes such as static code analysis and code review as part of the
+ DAG submission pipeline. This helps enforce code quality standards,
+ security checks, and adherence to best practices before DAGs are
+ deployed.
+
+These examples showcase ways in which administrators can refine and
+limit user privileges within Airflow, providing tighter control and
+ensuring that users have access only to the necessary components and
+functionalities based on their roles and responsibilities, however the
+fine-grained access control does not provide full isolation and
+separation of access allowing isolation of different user groups in a
+multi-tenant fashion yet. In the future versions of Airflow some of the
+fine-grained access features might become part of the Airflow security
+model. Airflow community works on a multi-tenant model that might
+address some of the fine-grained access components.
+
+
+Releasing Airflow with security patches
+---------------------------------------
+
+Apache Airflow uses strict [SemVer](https://semver.org) versioning policy, which means that we strive for
+any release of a given ``MAJOR`` Version (version "2" currently) to be backwards compatible. When we
+release ``MINOR`` version, the development continues in the ``main`` branch where we prepare the next
+``MINOR`` version, but we release ``PATCHLEVEL`` releases with selected bugfixes (including security
+bugfixes) cherry-picked to the latest released ``MINOR`` line of Apache Airflow. At the moment, when we
+release a new ``MINOR`` version, we stop releasing ``PATCHLEVEL`` releases for the previous ``MINOR`` version.
+
+For example, when we released ``2.6.0`` version on April 30, 2023, until we release ``2.7.0`` version,
+all the security patches will be cherry-picked and released in ``2.6.*`` versions only. There will be no
+``2.5.*`` versions released after ``2.6.0`` has been released.
+
+This means that in order to apply security fixes with Apache Airflow software released by us, you
+MUST upgrade to the latest ``MINOR`` version of Airflow.
+
+Releasing Airflow Providers with security patches
Review Comment:
```suggestion
Releasing Airflow providers with security patches
```
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
+
+1. **Admin users**: They manage and grant permissions to other users,
+ with full access to all UI capabilities. They can potentially execute
+ code on workers by configuring connections and need to be trusted not
+ to abuse these privileges. They have access to sensitive credentials
+ and can modify them. By default, they don't have access to
+ system-level configuration. They should be trusted not to misuse
+ sensitive information accessible through connection configuration.
+ They also have the ability to create a Webserver Denial of Service
+ situation and should be trusted not to misuse this capability.
+
+2. **Connection configuration users**: They configure connections and
+ potentially execute code on workers during DAG execution. Trust is
+ required to prevent misuse of these privileges. They have full access
+ to sensitive credentials stored in connections and can modify them.
+ Access to sensitive information through connection configuration
+ should be trusted not to be abused. They also have the ability to
+ create a Webserver Denial of Service situation and should be trusted
+ not to misuse this capability.
+
+3. **Operations users**: They have access to DAG execution status via
+ the UI. Currently, Airflow lacks full protection for accessing groups
+ of DAGs' history and execution. They can perform actions such as
+ clearing, re-running, triggering DAGs, and changing parameters.
+ Depending on access restrictions, they may also have access to
+ editing variables and viewing Airflow configuration. They should not
+ have access to sensitive system-level information or connections, and
+ they should not be able to access sensitive task information unless
+ deliberately exposed in logs by DAG authors. They should be trusted
+ not to abuse their privileges, as they can potentially overload the
+ server and cause Denial of Service situations.
+
+Responsibilities of Deployment Managers
+---------------------------------------
+
+Deployment Managers determine access levels and understand the potential
+damage users can cause. Some Deployment Managers may further limit
+access through fine-grained privileges for the **Authenticated UI
+users**. However, these limitations are outside the basic Airflow's
+security model and are at the discretion of Deployment Managers.
+Examples of fine-grained access control include (but are not limited
+to):
+
+- Limiting login permissions: Restricting the accounts that users can
+ log in with, allowing only specific accounts or roles belonging to
+ access the Airflow system.
+
+- Access restrictions to views or DAGs: Controlling user access to
+ certain views or specific DAGs, ensuring that users can only view or
+ interact with authorized components.
+
+- Implementing static code analysis and code review: Introducing
+ processes such as static code analysis and code review as part of the
+ DAG submission pipeline. This helps enforce code quality standards,
+ security checks, and adherence to best practices before DAGs are
+ deployed.
+
+These examples showcase ways in which administrators can refine and
+limit user privileges within Airflow, providing tighter control and
+ensuring that users have access only to the necessary components and
+functionalities based on their roles and responsibilities, however the
+fine-grained access control does not provide full isolation and
+separation of access allowing isolation of different user groups in a
+multi-tenant fashion yet. In the future versions of Airflow some of the
+fine-grained access features might become part of the Airflow security
+model. Airflow community works on a multi-tenant model that might
+address some of the fine-grained access components.
+
+
+Releasing Airflow with security patches
+---------------------------------------
+
+Apache Airflow uses strict [SemVer](https://semver.org) versioning policy, which means that we strive for
+any release of a given ``MAJOR`` Version (version "2" currently) to be backwards compatible. When we
+release ``MINOR`` version, the development continues in the ``main`` branch where we prepare the next
Review Comment:
```suggestion
release a ``MINOR`` version, the development continues in the ``main`` branch where we prepare the next
```
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1241218891
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,163 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know, how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files,
+ running code and accessing credentials. They have full access to the
+ metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
Review Comment:
I had it like that initially but it feels quite repetitive. I limited myself (original description was quite a bit longer and while my natural way would be similar, I think we do not loose much without this "preamble".
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] o-nikolas commented on a diff in pull request #32098: Update security model of Airflow
Posted by "o-nikolas (via GitHub)" <gi...@apache.org>.
o-nikolas commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1246958115
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
Review Comment:
Fair enough, I see that argument. As long as we remember to circle back and update this doc :+1:
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1246932635
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
+
+1. **Admin users**: They manage and grant permissions to other users,
+ with full access to all UI capabilities. They can potentially execute
+ code on workers by configuring connections and need to be trusted not
+ to abuse these privileges. They have access to sensitive credentials
+ and can modify them. By default, they don't have access to
+ system-level configuration. They should be trusted not to misuse
+ sensitive information accessible through connection configuration.
+ They also have the ability to create a Webserver Denial of Service
+ situation and should be trusted not to misuse this capability.
+
+2. **Connection configuration users**: They configure connections and
+ potentially execute code on workers during DAG execution. Trust is
+ required to prevent misuse of these privileges. They have full access
+ to sensitive credentials stored in connections and can modify them.
+ Access to sensitive information through connection configuration
+ should be trusted not to be abused. They also have the ability to
+ create a Webserver Denial of Service situation and should be trusted
+ not to misuse this capability.
+
+3. **Operations users**: They have access to DAG execution status via
+ the UI. Currently, Airflow lacks full protection for accessing groups
+ of DAGs' history and execution. They can perform actions such as
+ clearing, re-running, triggering DAGs, and changing parameters.
+ Depending on access restrictions, they may also have access to
+ editing variables and viewing Airflow configuration. They should not
+ have access to sensitive system-level information or connections, and
+ they should not be able to access sensitive task information unless
+ deliberately exposed in logs by DAG authors. They should be trusted
+ not to abuse their privileges, as they can potentially overload the
+ server and cause Denial of Service situations.
+
+Responsibilities of Deployment Managers
+---------------------------------------
+
+Deployment Managers determine access levels and understand the potential
+damage users can cause. Some Deployment Managers may further limit
+access through fine-grained privileges for the **Authenticated UI
+users**. However, these limitations are outside the basic Airflow's
+security model and are at the discretion of Deployment Managers.
+Examples of fine-grained access control include (but are not limited
+to):
+
+- Limiting login permissions: Restricting the accounts that users can
+ log in with, allowing only specific accounts or roles belonging to
+ access the Airflow system.
+
+- Access restrictions to views or DAGs: Controlling user access to
+ certain views or specific DAGs, ensuring that users can only view or
+ interact with authorized components.
+
+- Implementing static code analysis and code review: Introducing
+ processes such as static code analysis and code review as part of the
+ DAG submission pipeline. This helps enforce code quality standards,
+ security checks, and adherence to best practices before DAGs are
+ deployed.
Review Comment:
I think it adds value. I think the main point I have here is that Airlfow is "inherently insecure" because DAG authors can do everything. And this is both yes and no. It's kind of symilar to code submission to Software Repository - anyone can submit a code, but we have a gate in form of review of the code before it is submitted and it's better than anything you could do automatically I think (if you treat it seriously).
It is part of the general lack of understanding that you can apply standard engineering practices to your DAG pipeline and that can bring one level of security that might be "good enough" for many of our users. And it also provides extensibility of the security model - as for example one could have already a very simple multi-tenanti implementation of Airlfow if they add code review and automated CI checks to the mix of things.
I had this many times when I talked to the users - and when they already started to doubt into their "split teams" idea , I thrown that one in the mix and they were " ah yaeah, indeed that might work".
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1246926073
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
+ users can manage permissions and execute code on workers. Connection
+ configuration users can configure connections and execute code on
+ workers. Operations users have access to DAG execution status. Trust
+ is crucial to prevent abuse and Denial of Service attacks.
+
+4. **Non-authenticated UI users**: Airflow doesn't support
+ unauthenticated users by default. If allowed, vulnerabilities must be
+ addressed by the Deployment Manager.
+
+Capabilities of Authenticated UI users
+--------------------------------------
+
+The capabilities of **Authenticated UI users** can vary depending on
+whether the users belong to one of the general categories:
Review Comment:
I like this one :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1246965823
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
Review Comment:
I will :reminder_ribbon:
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] pankajkoti commented on a diff in pull request #32098: Update security model of Airflow
Posted by "pankajkoti (via GitHub)" <gi...@apache.org>.
pankajkoti commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1241206126
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,163 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know, how to report security vulnerabilities and how
Review Comment:
```suggestion
If you would like to know how to report security vulnerabilities and how
```
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,163 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know, how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files,
+ running code and accessing credentials. They have full access to the
+ metadata database and internal audit logs.
+
+3. **Authenticated UI users**: They have access to the UI and API. Admin
Review Comment:
Should we add an initial statement here something like "Broadly, there are three types of authenticated UI users, namely Admin users, Connection configuration users, and Operations users." and then go about explaining what they mean?
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,163 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know, how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files,
+ running code and accessing credentials. They have full access to the
Review Comment:
Could we clarify this a bit more, please? Do we mean "They can upload, modify, and delete DAG files, execute code and access credentials"? or "They can upload, modify and delete DAG files that execute code and access credentials"?
##########
.github/SECURITY.md:
##########
Review Comment:
Curious to understand the reasoning behind us keeping this file in `.github` folder and not at the root of project repo :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1241234679
##########
.github/SECURITY.md:
##########
@@ -1,61 +1,50 @@
- .. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
+This document contains information on how to report security vulnerabilities in Apache Airflow and
+how the security issues reported to Apache Airflow security team are handled. If you would like
+to learn about the security model of Airflow head to
+[Airflow Security](https://airflow.apache.org/docs/apache-airflow/stable/security/)
- .. http://www.apache.org/licenses/LICENSE-2.0
-
- .. Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-Security Model
---------------
-
-In the Airflow security model, the system administrators are fully trusted.
-They are the only ones who can upload new DAGs, which gives them the ability
-to execute any code on the server.
-
-Authenticated web interface and API users with Admin/Op permissions are trusted,
-but to a lesser extent: they can configure the DAGs which gives them some control,
-but not arbitrary code execution.
-
-Authenticated Web interface and API users with 'regular' permissions are trusted
-to the point where they can impact resource consumption and pause/unpause configured DAGs,
-but not otherwise influence their functionality.
-
-Reporting Vulnerabilities
--------------------------
+## Reporting Vulnerabilities
**⚠️ Please do not file GitHub issues for security vulnerabilities as they are public! ⚠️**
The Apache Software Foundation takes security issues very seriously. Apache
Airflow specifically offers security features and is responsive to issues
around its features. If you have any concern around Airflow Security or believe
you have uncovered a vulnerability, we suggest that you get in touch via the
-e-mail address security@airflow.apache.org. In the message, try to provide a
-description of the issue and ideally a way of reproducing it. The security team
-will get back to you after assessing the description.
+e-mail address [security@airflow.apache.org](mailto:security@airflow.apache.org).
+In the message, try to provide a description of the issue and ideally a way of
+reproducing it. The security team will get back to you after assessing the report.
Note that this security address should be used only for undisclosed
vulnerabilities. Dealing with fixed issues or general questions on how to use
the security features should be handled regularly via the user and the dev
lists. Please report any security problems to the project security address
before disclosing it publicly.
-The `ASF Security team's page <https://www.apache.org/security/>`_ describes
-how vulnerability reports are handled, and includes PGP keys if you wish to use
-that.
+Before reporting vulnerabilities, please make sure to read and understand the
+[security model](https://airflow.apache.org/docs/apache-airflow/stable/security/) of Airflow, because
+some of the potential security vulnerabilities that are valid for projects that are publicly accessible
+from the Internet, are not valid for Airflow. Airflow is not designed to be used by untrusted users, and some
+trusted users are trusted enough to do a variety of operations that could be considered as vulnerabilities
+in other products/circumstances. This is the reason why some potential security vulnerabilities do not
+apply to Airflow, or have different severity than generic scoring systems (for example `CVSS`)
+calculation suggests.
+The [ASF Security team's page](https://www.apache.org/security/>) describes
Review Comment:
No worries at all :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk merged pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #32098:
URL: https://github.com/apache/airflow/pull/32098
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1246925620
##########
docs/apache-airflow/security/index.rst:
##########
@@ -0,0 +1,165 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ .. http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+Security
+========
+
+.. toctree::
+ :maxdepth: 1
+ :glob:
+
+ *
+ secrets/index
+
+
+This document describes Airflow's security model from the perspective of
+the Airflow user. It is intended to help users understand the security
+model and make informed decisions about how to deploy and manage Airflow.
+If you would like to know how to report security vulnerabilities and how
+security reports are handled by the security team of Airflow, head to
+`Airflow's Security Policy <https://github.com/apache/airflow/security/policy>`_.
+
+Airflow Security Model - user types
+-----------------------------------
+
+The Airflow security model involves different types of users with
+varying access and capabilities:
+
+1. **Deployment Managers**: They have the highest level of access and
+ control. They install and configure Airflow, make decisions about
+ technologies and permissions. They can potentially delete the entire
+ installation and have access to all credentials. Deployment Managers
+ can also decide to keep audits, backups and copies of information
+ outside of Airflow, which are not covered by Airflow's security
+ model.
+
+2. **DAG Authors**: They can upload, modify, and delete DAG files. The
+ code in DAG files is executed on workers. Therefore, DAG authors can create
+ and change code executed on workers and potentially access the credentials
+ that DAG code uses to access external systems. DAG Authors have full access
+ to the metadata database and internal audit logs.
Review Comment:
I am hesitating a bit to add "future" plans. I had it initially and AIPs mentioned, but I thought, well what's not done, is not done (yet) and we should not really mention it untitl it is ready for people to use (even in experimental mode).
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on a diff in pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1241218109
##########
.github/SECURITY.md:
##########
Review Comment:
Because it is then automatically visible a "security policy" here - https://github.com/apache/airflow/security
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] pankajkoti commented on a diff in pull request #32098: Update security model of Airflow
Posted by "pankajkoti (via GitHub)" <gi...@apache.org>.
pankajkoti commented on code in PR #32098:
URL: https://github.com/apache/airflow/pull/32098#discussion_r1241229598
##########
.github/SECURITY.md:
##########
@@ -1,61 +1,50 @@
- .. Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
+This document contains information on how to report security vulnerabilities in Apache Airflow and
+how the security issues reported to Apache Airflow security team are handled. If you would like
+to learn about the security model of Airflow head to
+[Airflow Security](https://airflow.apache.org/docs/apache-airflow/stable/security/)
- .. http://www.apache.org/licenses/LICENSE-2.0
-
- .. Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-
-Security Model
---------------
-
-In the Airflow security model, the system administrators are fully trusted.
-They are the only ones who can upload new DAGs, which gives them the ability
-to execute any code on the server.
-
-Authenticated web interface and API users with Admin/Op permissions are trusted,
-but to a lesser extent: they can configure the DAGs which gives them some control,
-but not arbitrary code execution.
-
-Authenticated Web interface and API users with 'regular' permissions are trusted
-to the point where they can impact resource consumption and pause/unpause configured DAGs,
-but not otherwise influence their functionality.
-
-Reporting Vulnerabilities
--------------------------
+## Reporting Vulnerabilities
**⚠️ Please do not file GitHub issues for security vulnerabilities as they are public! ⚠️**
The Apache Software Foundation takes security issues very seriously. Apache
Airflow specifically offers security features and is responsive to issues
around its features. If you have any concern around Airflow Security or believe
you have uncovered a vulnerability, we suggest that you get in touch via the
-e-mail address security@airflow.apache.org. In the message, try to provide a
-description of the issue and ideally a way of reproducing it. The security team
-will get back to you after assessing the description.
+e-mail address [security@airflow.apache.org](mailto:security@airflow.apache.org).
+In the message, try to provide a description of the issue and ideally a way of
+reproducing it. The security team will get back to you after assessing the report.
Note that this security address should be used only for undisclosed
vulnerabilities. Dealing with fixed issues or general questions on how to use
the security features should be handled regularly via the user and the dev
lists. Please report any security problems to the project security address
before disclosing it publicly.
-The `ASF Security team's page <https://www.apache.org/security/>`_ describes
-how vulnerability reports are handled, and includes PGP keys if you wish to use
-that.
+Before reporting vulnerabilities, please make sure to read and understand the
+[security model](https://airflow.apache.org/docs/apache-airflow/stable/security/) of Airflow, because
+some of the potential security vulnerabilities that are valid for projects that are publicly accessible
+from the Internet, are not valid for Airflow. Airflow is not designed to be used by untrusted users, and some
+trusted users are trusted enough to do a variety of operations that could be considered as vulnerabilities
+in other products/circumstances. This is the reason why some potential security vulnerabilities do not
+apply to Airflow, or have different severity than generic scoring systems (for example `CVSS`)
+calculation suggests.
+The [ASF Security team's page](https://www.apache.org/security/>) describes
Review Comment:
```suggestion
The [ASF Security team's page](https://www.apache.org/security/) describes
```
oops sorry missed reviewing this earlier. Looks like we have extra `>`, had just clicked on the link but forgot to verify earlier that the new tab opened the link correctly or not. Sorry for the multiple rounds of review comments.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on pull request #32098: Update security model of Airflow
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #32098:
URL: https://github.com/apache/airflow/pull/32098#issuecomment-1607296687
Looking for more comments :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org