Tempest plugin for validation of Airship components.
Go to file
Drew Walters be2e8a702f Add SECURITY.md
All Airship projects are moving to GitHub issues. This change adds a
GitHub security policy that links to the official Airship vulnerability
management process [0]. When users on GitHub click "New Issue" on this
GitHub repository, they will see an option to report a security
vulnerability, which will direct them to our official policy.

[0] https://airship-docs.readthedocs.io/en/latest/security/vulnerabilities.html

Change-Id: Iaf060dd0085c21f0c4f18f100e3e053b5ceedbed
Signed-off-by: Drew Walters <andrew.walters@att.com>
2020-02-20 17:18:13 -06:00
.github Add SECURITY.md 2020-02-20 17:18:13 -06:00
airship_tempest_plugin Rename test_site_statuses.py to test_site_statuses_rbac.py 2018-10-12 10:33:48 -04:00
.gitignore Add .gitignore and .gitreview 2019-05-07 17:29:41 -06:00
.gitreview Add .gitignore and .gitreview 2019-05-07 17:29:41 -06:00
.zuul.yaml Encrypt git mirroring ssh_key to specific project 2019-05-23 13:12:21 -05:00
README.rst Cleanup clients, add documenation, and fix 2 tests 2018-08-24 17:33:47 -04:00
requirements.txt Add patrole to requirements to resolve dependency issue 2019-05-06 19:33:52 +00:00
setup.cfg Remove tox environment py27 and add py36 2019-05-09 10:46:17 -05:00
setup.py Framework for Airship Tempest Plugin 2018-08-17 13:40:11 -04:00
test-requirements.txt Add Additional RBAC Test Coverage for Shipyard 2018-08-21 16:25:32 -04:00
tox.ini Remove tox environment py27 and add py36 2019-05-09 10:46:17 -05:00

README.rst

Tempest Integration of airship-tempest-plugin

Purpose:

The purpose of this plugin is to provide automated tests for all OpenStack Airship components.

DISCALIMER:

This initial implementation is just to meet the first use case which is RBAC testing. For RBAC testing, we only need to hit the API endpoint and check role permission to the API being tested. Some of the REST clients will need to be rewritten if functional testing is desired. Those that need to be rewritten are documented in each service client code.

Environment Information:

Testing can be done in a airship-in-a-bottle environment. Please refer to [0] and [1]. Tempest and Tempest plugin installation can be done in a Python virtual environment.

FAQ:

Patrole Supporting Documentation:

Patrole documentation for requirements driven approach that is used: https://github.com/openstack/patrole/blob/master/doc/source/framework/requirements_authority.rst Patrole role-overriding: https://github.com/openstack/patrole/blob/master/doc/source/framework/rbac_utils.rst#role-overriding Patrole under-permission exception: https://github.com/openstack/patrole/blob/master/patrole_tempest_plugin/rbac_exceptions.py#L51 Patrole over-permission exception: https://github.com/openstack/patrole/blob/master/patrole_tempest_plugin/rbac_exceptions.py#L44

Future Considerations: ---------------------Will the airship-tempest-plugin continue to live here: https://github.com/att-comdev/airship-tempest-plugin or will it be moved under OpenStack? Will there exist a RBAC gate for all Airship projects?

[0] https://github.com/openstack/airship-in-a-bottle [1] https://www.airshipit.org/