Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
Kamil Breguła dd9071bf5e
[AIRFLOW-XXX] Create "Using the CLI" page (#5823) 2019-08-24 20:55:00 +02:00
Jarek Potiuk e405be0141 [AIRFLOW-5234] Rst files have consistent, auto-added license 2019-08-18 19:51:02 -04:00
Jarek Potiuk 5cfe9c29a0
[AIRFLOW-5233] Fixed consistency in whitespace (tabs/eols) + common problems (#5835)
* [AIRFLOW-5233] Fixed consistency in whitespace (tabs/eols) + common problems
2019-08-16 10:35:34 -04:00
Philippe Gagnon 68e8c998ad [AIRFLOW-XXX] Add .github/SECURITY.md (#5329)
This commit adds a .github/SECURITY.md file that defines the
contents of the "Policy" tab in the new "Security" section of
the GitHub interface.

Currently the Policy tab obtains its content from the
docs/security.rst file, which contains technical, non-policy
related information. This commit retains the
"Reporting Vulnerabilities" section of docs/security.rst, which
is relevant, and strips the extraneous content.
2019-06-06 09:33:54 +01:00
Kamil Breguła 6d79fd5f73 [AIRFLOW-4395] Remove pickle_info view (#5161) 2019-05-19 16:06:47 +02:00
Jiajie Zhong ffe1412d5e [AIRFLOW-4062] Improve docs on install extra package commands (#4966)
Some command for installing extra packages like
`pip install apache-airflow[devel]` cause error
in special situation/shell, We should clear them
by add quotation like
`pip install 'apache-airflow[devel]'`
2019-03-25 12:14:43 +00:00
Ash Berlin-Taylor c159e8e391
Revert "[AIRFLOW-4062] Improve docs on install extra package commands (#4897)" (#4965)
This reverts commit d4655c506e as it causes doc test warnings/failures.
2019-03-24 12:05:23 +00:00
Jiajie Zhong d4655c506e [AIRFLOW-4062] Improve docs on install extra package commands (#4897)
Some command for installing extra packages are
`pip install apache-airflow[devel]` we should
clear install extra package command to
`pip install 'apache-airflow[devel]'`

[ci skip]
2019-03-24 11:34:59 +00:00
Chao-Han Tsai 489d3cbdb7 [AIRFLOW-XXXX] create user in quick start (#4860) 2019-03-10 14:16:36 +01:00
Colin 3dd79558b6 [AIRFLOW-3751] Option to allow malformed schemas for LDAP authentication (#4574) 2019-03-07 10:47:59 +00:00
Xiaodong 6abcdfd496 [AIRFLOW-3793] Decommission configuration items for Flask-Admin web UI & related codes (#4637) 2019-03-04 15:13:29 +00:00
Ryan Yuan 5c170f0594 [AIRFLOW-3933] Fix various typos (#4747)
Fix typos
2019-02-21 11:50:05 +01:00
Tao Feng 0fef65a10f
[AIRFLOW-XXX] Add a doc about fab security (#4595) 2019-01-30 22:50:13 -08:00
Xiaodong 59cf865d84 [AIRFLOW-3761] Decommission User & Chart models & Update doc accordingly (#4577)
In master branch, we have already decommissioned the Flask-Admin UI.

In model definitions, User and Chart are only applicable for the
"old" UI based on Flask-Admin.
Hence we should decommission these two models as well.

Related doc are updated in this commit as well.
2019-01-27 00:44:19 -08:00
Kamil Breguła 993779f93d [AIRFLOW-XXX] Reduction of the number of warnings in the documentation (#4585) 2019-01-25 09:59:40 +00:00
Ash Berlin-Taylor 1bbf219b49
[AIRFLOW-3431] Document how to report security vulnerabilities. (#4262)
Wording based on Kafka's

[ci-skip]
2018-12-03 10:01:53 +00:00
Fokko Driesprong 2fd409d194 [AIRFLOW-XXX] Replace airflow with apache-airflow (#4246) 2018-11-27 19:53:58 +00:00
Benji Visser 44df8a1d47 [AIRFLOW-XXX] Remove quotes from domains in Google Oauth (#4226)
Related SO: https://stackoverflow.com/a/52528091/10638329
2018-11-26 10:12:10 +01:00
Xiaodong 86a83bfff3 [AIRFLOW-3323] Support HTTP basic authentication for Airflow Flower (#4166)
The current `airflow flower` doesn't come with any authentication.
This may make essential information exposed in an untrusted environment.

This commit add support to HTTP basic authentication for Airflow Flower

Ref:
https://flower.readthedocs.io/en/latest/auth.html
2018-11-13 14:48:23 +00:00
Ash Berlin-Taylor b9fc03ea1a [AIRFLOW-2779] Add license headers to doc files (#4178)
This adds ASF license headers to all the .rst and .md files with the
exception of the Pull Request template (as that is included verbatim
when opening a Pull Request on Github which would be messy)
2018-11-13 15:01:44 +01:00
bolkedebruin 2c4b0eab7d [AIRFLOW-3164] Verify server certificate when connecting to LDAP (#4006) 2018-11-09 13:58:34 +00:00
Ash Berlin-Taylor c4f3f6b199 [AIRFLOW-3178] Handle percents signs in configs for airflow run (#4029)
* [AIRFLOW-3178] Don't mask defaults() function from ConfigParser

ConfigParser (the base class for AirflowConfigParser) expects defaults()
to be a function - so when we re-assign it to be a property some of the
methods from ConfigParser no longer work.

* [AIRFLOW-3178] Correctly escape percent signs when creating temp config

Otherwise we have a problem when we come to use those values.

* [AIRFLOW-3178] Use os.chmod instead of shelling out

There's no need to run another process for a built in Python function.

This also removes a possible race condition that would make temporary
config file be readable by more than the airflow or run-as user
The exact behaviour would depend on the umask we run under, and the
primary group of our user, likely this would mean the file was readably
by members of the airflow group (which in most cases would be just the
airflow user). To remove any such possibility we chmod the file
before we write to it
2018-10-12 11:13:05 +02:00
Joshua Carp 1f3c95b368 [AIRFLOW-3086] Add extras group for google auth to setup.py. (#3917)
To clarify installation instructions for the google auth backend, add an
install group to `setup.py` that installs dependencies google auth via
`pip install apache-airflow[google_auth]`.
2018-10-09 16:14:07 +01:00
bolkedebruin 9bea6228d9 [AIRFLOW-3165] Document interpolation of '%' and warn (#4007) 2018-10-06 21:51:13 +01:00
Kaxil Naik 4c572a4b2d [AIRFLOW-3130] Add CLI docs for users command 2018-09-28 08:49:36 -07:00
Xiaodong 481daeec0b [AIRFLOW-3127] Fix out-dated doc for Celery SSL (#3967)
Now in `airflow.cfg`, for Celery-SSL, the item names are
"ssl_active", "ssl_key", "ssl_cert", and "ssl_cacert".
(since PR https://github.com/apache/incubator-airflow/pull/2806/files)

But in the documentation
https://airflow.incubator.apache.org/security.html?highlight=celery
or
https://github.com/apache/incubator-airflow/blob/master/docs/security.rst,
it's "CELERY_SSL_ACTIVE", "CELERY_SSL_KEY", "CELERY_SSL_CERT", and
"CELERY_SSL_CACERT", which is out-dated and may confuse readers.
2018-09-28 09:56:43 +01:00
Xiaodong 7194c81f6d [AIRFLOW-3070] Refine web UI authentication-related docs (#3863) 2018-09-16 13:38:09 +01:00
Robin Edwards 404be4b021 [AIRFLOW-XXX] Specify email domain in documentation (#3771)
This makes it less ambigious
2018-08-20 11:42:55 +02:00
renzofrigato be3d551f72 [AIRFLOW-1115] fix github oauth api URL
Closes #3469 from renzofrigato/airflow_1115
2018-06-11 15:14:02 -07:00
Charles Caygill 817296a7be [AIRFLOW-XXX] Fix doc typos
Closes #3459 from ccayg-sainsburys/master
2018-06-04 11:15:38 -07:00
dan-sf 133e249e05 [AIRFLOW-2220] Remove duplicate numeric list entry in security.rst
This duplicate entry was causing rst formatting
issues in the security
section of the documentation.

Closes #3133 from dan-sf/AIRFLOW-2220
2018-03-16 12:30:30 +01:00
Guillermo Rodríguez Cano 6b1ceff7d2 [AIRFLOW-1830] Support multiple domains in Google authentication backend
Closes #2797 from wileeam/multiple-domains-google-
auth
2017-11-21 07:48:24 +01:00
Ash Berlin-Taylor 0e27e1b209 [AIRFLOW-1765] Make experimental API securable without needing Kerberos.
Previously the experimental API was either wide-
open only (allow any
request) or secured behind Kerberos. This adds a
third option of
deny-all.

Closes #2737 from ashb/exp-api-securable
2017-11-01 15:38:36 +01:00
Michael Otte 868bfe4cab [AIRFLOW-654] Add SSL Config Option for CeleryExecutor w/ RabbitMQ
- Add BROKER_USE_SSL config to give option to send AMQP messages over SSL
- Can be set using usual airflow options (e.g. airflow.cfg, env vars, etc.)

Closes #2333 from forsberg/ssl_amqp
2017-06-01 10:19:30 +02:00
Vianney Foucault 6b1c327ee8 [AIRFLOW-1095] Make ldap_auth memberOf come from configuration
If the key ldap/group_member_attr is set in the
airflow.cfg, this value is used to lookup groups
for the user.

Closes #2232 from vfoucault/fixbug/ldap_auth
2017-04-10 11:08:16 -07:00
Daniel Huang 5a6f18f1ca [AIRFLOW-1075] Security docs cleanup
Closes #2222 from dhuang/AIRFLOW-1075
2017-04-06 14:12:13 +02:00
Kengo Seki f69c1b4164 [AIRFLOW-963] Fix non-rendered code examples
Please accept this PR that addresses the following
issues:
-
https://issues.apache.org/jira/browse/AIRFLOW-963

Testing Done:
- ran sphinx-build locally and confirmed correctly
rendered

Closes #2139 from sekikn/AIRFLOW-963
2017-03-16 19:37:23 -04:00
Dan Davydov b56cb5cc97 [AIRFLOW-219][AIRFLOW-398] Cgroups + impersonation
Submitting on behalf of plypaul

Please accept this PR that addresses the following
issues:
-
https://issues.apache.org/jira/browse/AIRFLOW-219
-
https://issues.apache.org/jira/browse/AIRFLOW-398

Testing Done:
- Running on Airbnb prod (though on a different
mergebase) for many months

Credits:
Impersonation Work: georgeke did most of the work
but plypaul did quite a bit of work too.
Cgroups: plypaul did most of the work, I just did
some touch up/bug fixes (see commit history,
cgroups + impersonation commit is actually plypaul
's not mine)

Closes #1934 from aoen/ddavydov/cgroups_and_impers
onation_after_rebase
2017-01-18 18:11:06 -08:00
Mike Lyons a66cf75e23 [AIRFLOW-500] Use id for github allowed teams
The team string is not unique across an organization
and therefore we should use the long id instead.

Closes #1788 from mylons/master
2016-10-08 23:27:27 +02:00
Casey Ching b28cedb98d [AIRFLOW-91] Add SSL config option for the webserver
SSL can now be enabled by providing certificate
and key in the usual
ways (config file or CLI options). Providing the
cert and key will
automatically enable SSL. The web server port will
not automatically
change.

The Security page in the docs now includes an SSL
section with basic
setup information.

Closes #1760 from caseyching/master
2016-09-19 15:55:10 +02:00
Alex Van Boxel 86fe23f111 [AIRFLOW-477][AIRFLOW-478] Restructure security section for clarity
Closes #1775 from alexvanboxel/docs/security
2016-09-04 15:13:18 +02:00
Ananya Mishra df848a5564 [AIRFLOW-444] Add Google authentication backend
Add Google authentication backend.
Add Google authentication information to security
docs.

Dear Airflow Maintainers,

Please accept this PR that addresses the following
issues:
-
https://issues.apache.org/jira/browse/AIRFLOW-444

Testing Done:
- Tested Google authentication backend locally
with no issues

This is mostly an adaptation of the GHE
authentication backend.

Closes #1747 from ananya77041/google_auth_backend
2016-08-19 16:12:58 -07:00
Peter Pang 7dbc3cd40e [AIRFLOW-331] modify the LDAP authentication config lines in 'Security' sample codes
Closes #1674 from impangt/master
2016-07-27 14:33:39 -07:00
Maxime Beauchemin bdfbdaa981 Fixing a few doc building warning 2016-02-13 12:51:13 -08:00
Neil Hanlon e6c51b342a Support for all search_scope options, as per the ldap3 spec.
Updated documentation to reflect all options + link to docs.
2016-01-22 21:11:22 -05:00
Neil Hanlon 0a8ab56fc4 Add "search_scope" as a configuration variable for LDAP (#796)
This is the correct solution to #796 -- instead of completely dropping
the variable all together.

Added a bit of "pretty" failure for this error as well--including
specifying what is happening in the webserver log, and how it can be
fixed.
2016-01-22 21:11:22 -05:00
Maxime Beauchemin 2223d1bf30 Merge pull request #797 from criccomini/add-super-user-and-profiler-to-ldap
Add super user and profiler to ldap
2016-01-22 15:22:33 -08:00
Matt Pelland 4796245be5 Implemented GHE authentication 2015-12-22 14:21:15 -05:00
Chris Riccomini fec891e44a Add support for super users and data profilers into LDAP. 2015-12-21 15:57:32 -08:00
Rimas Silkaitis a9482c6aeb add info on creating initial user in password_auth backend 2015-12-17 10:47:43 -08:00