Jump to: navigation, search

Difference between revisions of "Zaqar/bp/havana/security-testing"

(Setup/Design)
Line 18: Line 18:
  
 
===Setup/Design===
 
===Setup/Design===
During a discussion on #openstack-infra it was suggested to use [http://docs.openstack.org/devealoper/tempest/ Tempest] as framework to hook the security test-suite in and let it run against a deployed OpenStack environment setup by [http://ci.openstack.org/devstack-gate.html DevStack Gate]
+
During a discussion on #openstack-infra it was suggested to use [http://docs.openstack.org/developer/tempest/ Tempest] as framework to hook the security test-suite in and let it run against a deployed OpenStack environment setup by [http://ci.openstack.org/devstack-gate.html DevStack Gate]
  
 
==References==
 
==References==

Revision as of 12:20, 26 August 2013

Code Scanning

Simple but always appearing software flaws can be found using static code analyzers or other code scanning tools. We are limited to freely available code scanners, some examples that need to be verified are

  1. rats (C, C++, Perl, PHP, Python)
  2. pylint quality checker (Python)
  3. PyChecker code checker (Python, last release 2011)
  4. FindBugs (Java)
  5. Yasca Meta-tool to leverage existing tools for scanning (also supports Python)
  6. brakeman Rails security code scanner, good integration in Jenkins (Ruby on Rails)
  7. more tools are listed at Wikipedia

Setup/Design

Jenkins can be used to scan the source code after every code submit or on a regular basis (Zuul to schedule the job) to find simple vulnerabilities. We (SUSE) have very good experiences in using Jenkins and brakeman. Scanning the code is only one step toward a more secure code. The flaws found by the scanner need to be reviewed and fixed, this final steps should involve the developer of the code to help her see potential security problems on her own in the future.

Deployment Scanning

Several security issues could be easily find using security test-suites that run against a deployed version of OpenStack.

Setup/Design

During a discussion on #openstack-infra it was suggested to use Tempest as framework to hook the security test-suite in and let it run against a deployed OpenStack environment setup by DevStack Gate

References

Resources

  1. Gauntlt
  2. OWASP test-suite
  3. https://code.google.com/p/rough-auditing-tool-for-security/
  4. https://www.owasp.org/index.php/Category:OWASP_Yasca_Project