Skip to content

Implement filter_permitted_dag_ids in AWS auth manager - #37666

Merged
vincbeck merged 3 commits into
apache:mainfrom
aws-mwaa:vincbeck/batch_dags
Mar 8, 2024
Merged

vincbeck merged 3 commits into
apache:mainfrom
aws-mwaa:vincbeck/batch_dags

Conversation

@vincbeck

Copy link
Copy Markdown
Contributor

Implement filter_permitted_dag_ids in AWS auth manager. This method leverages batch_is_authorized API from Amazon Verified Permissions to check DAG access from the user in one call instead of N calls where N is the number of DAGs.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
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.

@boring-cyborg boring-cyborg Bot added area:providers provider:amazon AWS/Amazon - related issues labels Feb 23, 2024
@vincbeck
vincbeck requested review from ferruzzi and o-nikolas and removed request for o-nikolas February 29, 2024 16:28
Comment thread airflow/providers/amazon/aws/auth_manager/aws_auth_manager.py
Comment thread airflow/providers/amazon/aws/auth_manager/aws_auth_manager.py
Comment thread airflow/providers/amazon/aws/auth_manager/aws_auth_manager.py Outdated
Comment thread airflow/providers/amazon/aws/auth_manager/aws_auth_manager.py
@vincbeck
vincbeck merged commit 47348ce into apache:main Mar 8, 2024
@vincbeck
vincbeck deleted the vincbeck/batch_dags branch March 8, 2024 19:01
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants