{
"errors": [ ErrorObjects ],
"failures": [ FailureObjects ],
"stats": {
"severity": {
"HIGH": 0,
"MEDIUM": 0,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"math" | |
"os" | |
"strconv" | |
"strings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-09-19 19:03:38.916 32495 INFO eventlet.wsgi.server [req-fa70e3a2-91ed-4cd8-a59d-8e0095cbfd31 1fadb086cfd94c1d8ab9d554657054d1 3330be90ba344c34b34afc27de7e7195 - default default] 10.0.2.2 - - [19/Sep/2016 19:03:38] "POST /v2/tasks HTTP/1.1" 201 850 0.181028 | |
2016-09-19 19:03:38.985 32495 INFO glance.domain [-] Task [e4bcbd26-c8d5-4d81-87f0-2f8c64fabd4e] status changing from processing to processing | |
2016-09-19 19:03:38.987 32495 DEBUG oslo_messaging._drivers.amqpdriver [-] CAST unique_id: caef117456034a4aaa1c30d4043b86f7 NOTIFY exchange 'glance' topic 'notifications.info' _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:432 | |
2016-09-19 19:03:39.082 32495 DEBUG glance.async.taskflow_executor [-] Taskflow executor picked up the execution of task ID e4bcbd26-c8d5-4d81-87f0-2f8c64fabd4e of task type import _run /opt/stack/glance/glance/async/taskflow_executor.py:152 | |
2016-09-19 19:03:39.139 32495 ERROR glance.async.flows.base_import [-] Bad task configuration: Task was not config |
Requesting with these templates (all non-GET requests to SimpleHTTPServer return 501 status codes):
GET /derp HTTP/1.1
Accept: application/json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"errors": [], | |
"failures": { | |
"localhost:9000/test": { | |
"500_errors": { | |
"description": "This request returns an error with status code 501, which might indicate some server-side fault that could lead to further vulnerabilities", | |
"payloads": [ | |
{ | |
"confidence": "High", | |
"param": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doc/source/conf.py:78:intersphinx_mapping = {'cafe': ('http://opencafe.readthedocs.org/en/latest', None)} | |
doc/source/conf.py:81:# 'cafe', | |
doc/source/conf.py:82:# 'cafe.engine.http.client', | |
doc/source/conf.py:83:# 'cafe.drivers.unittest.arguments' | |
syntribos/arguments.py:18:import cafe.drivers.unittest.arguments | |
syntribos/arguments.py:70: action=cafe.drivers.unittest.arguments.ConfigAction, | |
syntribos/arguments.py:71: help="test config. Looks in the ~/.opencafe/configs directory" | |
syntribos/clients/http/base_http_client.py:3:# Original from OpenCafe (https://github.com/openstack/opencafe) | |
syntribos/clients/http/config.py:14:from cafe.engine.models.data_interfaces import ConfigSectionInterface | |
syntribos/config.py:14:from cafe.engine.models.data_interfaces import ConfigSectionInterface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONTRIBUTING.rst:10:4. No new code will be accepted if it adds a new dependency on OpenCAFE, or adds | |
CONTRIBUTING.rst:11: on top of existing CAFE functionality IF it cannot stand on its own without | |
CONTRIBUTING.rst:12: CAFE. | |
README.rst:35:CAFE Framework <https://github.com/stackforge/opencafe>`__. | |
README.rst:83:- Create a directory named .opencafe in the user's home directory, or in the case of a python virtualenv, in the virtualenv root folder. | |
README.rst:87: $ cafe-config init | |
README.rst:93: $ cafe-config plugins install http | |
README.rst:98:Copy the data files from Syntribos data directory to .opencafe/data directory created during "cafe-config init". This directory contains the fuzz string files. Copy the example configuration file to .opencafe/configs directory created during "cafe-config init". | |
README.rst:102: $ cp syntribos/data/* .opencafe/data/ | |
README.rst:103: $ cp syntribos/examples/configs/keystone.config .opencafe/configs/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _logTests(self, tests, bucket, status=None): | |
"""Log each test by adding to self.all_tests and the right "bucket" | |
based on the status of the test (e.g. self.aggregated_errors) | |
:param list tests: test results (e.g. test.failures) | |
:param dict bucket: place to store the tests (e.g. self.aggregated_errors) | |
""" | |
for issue in tests: | |
url = issue.request.url | |
method = issue.request.method |
NewerOlder