You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "kunaljubce (via GitHub)" <gi...@apache.org> on 2025/03/31 06:38:48 UTC

[PR] Modified airflow-site security policy [airflow-site]

kunaljubce opened a new pull request, #1151:
URL: https://github.com/apache/airflow-site/pull/1151

   Relates to https://github.com/apache/airflow/issues/46656. 
   
   So apparently the celery graphviz is not loading due to a content security policy (CSP) of the website. 
   
   The `frame-src` directive in CSP specifies valid sources for nested browsing contexts, such as those created by `<frame>` and `<iframe>` elements. In this case, the policy only allows content to be framed from `https://www.youtube-nocookie.com` and `https://www.youtube.com`. Since the URL https://airflow.apache.org/docs/apache-airflow-providers-celery/stable/_images/graphviz-1eeec310b5d1b747eecc7861ba8b33cc7bdcd23c.svg is not included in the allowed sources, the browser blocks it from being framed. 
   
   To fix this, we're adding `https://airflow.apache.org;` to the CSP and this should hopefully fix the problem. 


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "gopidesupavan (via GitHub)" <gi...@apache.org>.
gopidesupavan commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2814015331

   @kunaljubce @potiuk looks like this change is working fine . https://airflow.apache.org/docs/apache-airflow-providers-celery/stable/celery_executor.html


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "gopidesupavan (via GitHub)" <gi...@apache.org>.
gopidesupavan commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2765324502

   Can you please raise against this branch `airflow-test` so that we can test before merging this setting works or not


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "kunaljubce (via GitHub)" <gi...@apache.org>.
kunaljubce commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2768353012

   > @gopidesupavan - Created #1152 to `airflow-test` branch
   
   @gopidesupavan Graph is loading fine in [stage](https://airflow-test.staged.apache.org/docs/apache-airflow-providers-celery/stable/celery_executor.html) - 
   
   <img width="861" alt="image" src="https://github.com/user-attachments/assets/2af196ea-7558-4f3e-8c4d-a029a6d62bf9" />


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "gopidesupavan (via GitHub)" <gi...@apache.org>.
gopidesupavan commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2777850998

   > Let's see if it will help. I am afraid that staging site might not have as much of enforcements of the policies as the "prod" site - let's see if that will work. If not then, it might need some infra PR ? @gopidesupavan - wdyt?
   
   Sorry missed this, Yeah prod have more restriction rules, will sit this weekend to check.


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2775763443

   Let's see if it will help. I am afraid that staging site might not have as much of enforcements of the policies as the "prod" site - let's see if that will work. If not then, it might need some infra PR ? @gopidesupavan - wdyt? 


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "kunaljubce (via GitHub)" <gi...@apache.org>.
kunaljubce commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2775894392

   @potiuk You're right, it actually did not end up fixing 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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "kunaljubce (via GitHub)" <gi...@apache.org>.
kunaljubce commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2765273401

   @gopidesupavan Tagging you here for review. Thanks! 


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "kunaljubce (via GitHub)" <gi...@apache.org>.
kunaljubce commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2765462063

   @gopidesupavan - Created #1152 to `airflow-test` branch 


-- 
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


Re: [PR] Modified airflow-site security policy [airflow-site]

Posted by "kunaljubce (via GitHub)" <gi...@apache.org>.
kunaljubce commented on PR #1151:
URL: https://github.com/apache/airflow-site/pull/1151#issuecomment-2765339578

   @gopidesupavan It's not allowing me to raise the PR from the same branch to `airflow-test`. Trying a new branch that's rebased off `airflow-test` - 
   
   <img width="1224" alt="image" src="https://github.com/user-attachments/assets/d82f0b03-3c3c-4e55-9617-b37eff3e8c1a" />


-- 
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