Giter VIP home page Giter VIP logo

krampus's People

Contributors

sgerlach-sg avatar signus avatar tell-sg avatar wreet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

krampus's Issues

move to SQS job queue system

we feel the tasks stuff would be better suited as a SQS queue. should scale up better than the json file and also let us action jobs when they are due rather than at the nearest timed cloudtrigger event.

TypeError: not enough arguments for format string

KLog.log("could not delete function '%s', unknown error: %s" % str(e), "critical")

>>> try:
...     raise ValueError
... except Exception as e:
...     print("could not delete function '%s', unknown error: %s" % str(e))
... 
Traceback (most recent call last):
  File "<input>", line 2, in <module>
ValueError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<input>", line 4, in <module>
TypeError: not enough arguments for format string

# minimal example
>>> "could not delete function '%s', unknown error: %s" % "Exception string..."
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: not enough arguments for format string

It seems like adding self.func as the first string might be the answer:

KLog.log("could not delete function '%s', unknown error: %s" % (self.func, str(e)), "critical")

Provide integration with Security Monkey

The intro blog post describes how this is used with Security Monkey. Can you provide more details on how that is done? Ideally in code, but at least a description?

allow multiple s3 perms to be passed

it has been determined that it might be nice to handle an array of s3 perms to delete rather than making them all break out into separate jobs. make it do that.

Python3 possible in current venv install.

Issue Summary

Virtualenv docs should include a python environment version. Otherwise, the pathing in the ./mkdist script fails without a clear resolution. This will be common as more package managers default to installing python3 over python2

Without providing more explicit clarity within the venv setup, this will cause confusion.

Steps to Reproduce

  1. ensure default python is set to Python 3+
  2. $ virtualenv venv
  3. $ source venv/bin/activate
  4. $ pip install -r requirements.txt
  5. $ ./mkdist

Technical details:

  • krampus Version: master
  • Python Version: 3.6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.