Skip to content

Commit

Permalink
v1.0.4-crucible-beta to crucible
Browse files Browse the repository at this point in the history
- Corrected boundary anomaly_seen log info context

Modified:
skyline/boundary/boundary.py

- In the skyline_functions get_graphite_metric slip the fetching Graphite json
  into 2 try: blocks the actual Graphite request and the reading datapoints from
  json and added the graphite_json_fetched variable to test the condition
- Padded out skyline_functions docstrings with type definitions for each param
- Escape : ( and ) in metric name to Graphite URI for Unescaped Graphite target
  #20 in mirage and skyline_functions
- Rmoved old sys.path requirements for the old import settings method.

Modified:
skyline/skyline_functions.py
skyline/mirage/mirage.py

- Added some notes to the development doc regarding ongoing refactoring work

Modified:
docs/development/index.rst

- Added validation on all Panorama GET parameters to mitigate as much XSS and
  SQL injection as I can at the moment, arachni is happier now.
- Sanitize request.args

Modified:
skyline/webapp/backend.py
skyline/webapp/webapp.py
docs/webapp.rst

- Added missing settings. to CRUCIBLE_PROCESSES thanks @blake3r2, this stops it
  doing nothing.  This branch reallt should have been called panorama, but it
  started last year as crucible, so crucible was not fully tested in the new
  structure, apologies.

Modified:
skyline/crucible/crucible.py

- Misc docs changes

Modified:
docs/mirage.rst
docs/requirements.rst
docs/upgrading.rst
docs/installation.rst

- Adding additional exception handling to Analyzer - Issue #19 - task1544
  #19
- This is a start but not complete, other issues took precedence and these are
  the changes to date.

Modified:
skyline/analyzer/analyzer.py

- Bumped version to 1.0.4

Added:
docs/releases/1_0_4.rst
Modified:
docs/conf.py
skyline/skyline_version.py
docs/releases.rst
  • Loading branch information
earthgecko committed Aug 3, 2016
1 parent 1852a2d commit 177e4b1
Show file tree
Hide file tree
Showing 110 changed files with 1,605 additions and 427 deletions.
2 changes: 1 addition & 1 deletion docs/_build/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 239b0b5f1d66df9c8b442d4a618b26be
config: d6bcc758c2e425e4157a17aa12ceb55a
tags: 645f666f9bcd5a90fca523b33c5a78b7
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/algorithm_exceptions.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>algorithm_exceptions &mdash; Skyline 1.0.3-dev documentation</title>
<title>algorithm_exceptions &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../index.html"/>
<link rel="up" title="Module code" href="index.html"/>


Expand Down Expand Up @@ -201,7 +201,7 @@ <h1>Source code for algorithm_exceptions</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/analyzer/agent.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>analyzer.agent &mdash; Skyline 1.0.3-dev documentation</title>
<title>analyzer.agent &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -304,7 +304,7 @@ <h1>Source code for analyzer.agent</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/analyzer/alerters.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>analyzer.alerters &mdash; Skyline 1.0.3-dev documentation</title>
<title>analyzer.alerters &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -673,7 +673,7 @@ <h1>Source code for analyzer.alerters</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/analyzer/algorithms.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>analyzer.algorithms &mdash; Skyline 1.0.3-dev documentation</title>
<title>analyzer.algorithms &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -777,7 +777,7 @@ <h1>Source code for analyzer.algorithms</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
98 changes: 78 additions & 20 deletions docs/_build/html/_modules/analyzer/analyzer.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/_build/html/_modules/analyzer_dev/agent.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>analyzer_dev.agent &mdash; Skyline 1.0.3-dev documentation</title>
<title>analyzer_dev.agent &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -362,7 +362,7 @@ <h1>Source code for analyzer_dev.agent</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/analyzer_dev/alerters.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>analyzer_dev.alerters &mdash; Skyline 1.0.3-dev documentation</title>
<title>analyzer_dev.alerters &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -364,7 +364,7 @@ <h1>Source code for analyzer_dev.alerters</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/analyzer_dev/algorithms_dev.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>analyzer_dev.algorithms_dev &mdash; Skyline 1.0.3-dev documentation</title>
<title>analyzer_dev.algorithms_dev &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -681,7 +681,7 @@ <h1>Source code for analyzer_dev.algorithms_dev</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/analyzer_dev/analyzer_dev.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>analyzer_dev.analyzer_dev &mdash; Skyline 1.0.3-dev documentation</title>
<title>analyzer_dev.analyzer_dev &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -738,7 +738,7 @@ <h1>Source code for analyzer_dev.analyzer_dev</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/boundary/agent.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>boundary.agent &mdash; Skyline 1.0.3-dev documentation</title>
<title>boundary.agent &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -343,7 +343,7 @@ <h1>Source code for boundary.agent</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
8 changes: 4 additions & 4 deletions docs/_build/html/_modules/boundary/boundary.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>boundary.boundary &mdash; Skyline 1.0.3-dev documentation</title>
<title>boundary.boundary &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -893,7 +893,7 @@ <h1>Source code for boundary.boundary</h1><div class="highlight"><pre>
<span class="n">times_seen</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="n">raw_times_seen</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span> <span class="o">+</span> <span class="mi">1</span>
<span class="k">try</span><span class="p">:</span>
<span class="bp">self</span><span class="o">.</span><span class="n">redis_conn</span><span class="o">.</span><span class="n">setex</span><span class="p">(</span><span class="n">anomaly_cache_key</span><span class="p">,</span> <span class="n">anomaly_cache_key_expiration_time</span><span class="p">,</span> <span class="n">packb</span><span class="p">(</span><span class="nb">int</span><span class="p">(</span><span class="n">times_seen</span><span class="p">)))</span>
<span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s1">&#39;error :: set anomaly seen key :: </span><span class="si">%s</span><span class="s1"> seen </span><span class="si">%s</span><span class="s1">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">anomaly_cache_key</span><span class="p">,</span> <span class="nb">str</span><span class="p">(</span><span class="n">times_seen</span><span class="p">)))</span>
<span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s1">&#39;set anomaly seen key :: </span><span class="si">%s</span><span class="s1"> seen </span><span class="si">%s</span><span class="s1">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">anomaly_cache_key</span><span class="p">,</span> <span class="nb">str</span><span class="p">(</span><span class="n">times_seen</span><span class="p">)))</span>
<span class="k">except</span><span class="p">:</span>
<span class="n">times_seen</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span><span class="s1">&#39;error :: set anomaly seen key failed :: </span><span class="si">%s</span><span class="s1"> seen </span><span class="si">%s</span><span class="s1">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">anomaly_cache_key</span><span class="p">,</span> <span class="nb">str</span><span class="p">(</span><span class="n">times_seen</span><span class="p">)))</span>
Expand Down Expand Up @@ -1126,7 +1126,7 @@ <h1>Source code for boundary.boundary</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/boundary/boundary_alerters.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>boundary.boundary_alerters &mdash; Skyline 1.0.3-dev documentation</title>
<title>boundary.boundary_alerters &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -415,7 +415,7 @@ <h1>Source code for boundary.boundary_alerters</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/boundary/boundary_algorithms.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>boundary.boundary_algorithms &mdash; Skyline 1.0.3-dev documentation</title>
<title>boundary.boundary_algorithms &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -563,7 +563,7 @@ <h1>Source code for boundary.boundary_algorithms</h1><div class="highlight"><pre
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down
6 changes: 3 additions & 3 deletions docs/_build/html/_modules/crucible/agent.html
Expand Up @@ -8,7 +8,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>crucible.agent &mdash; Skyline 1.0.3-dev documentation</title>
<title>crucible.agent &mdash; Skyline 1.0.4-dev documentation</title>



Expand All @@ -32,7 +32,7 @@



<link rel="top" title="Skyline 1.0.3-dev documentation" href="../../index.html"/>
<link rel="top" title="Skyline 1.0.4-dev documentation" href="../../index.html"/>
<link rel="up" title="Module code" href="../index.html"/>


Expand Down Expand Up @@ -315,7 +315,7 @@ <h1>Source code for crucible.agent</h1><div class="highlight"><pre>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'../../',
VERSION:'1.0.3-dev',
VERSION:'1.0.4-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
Expand Down

0 comments on commit 177e4b1

Please sign in to comment.