sendgrid / krampus Goto Github PK
View Code? Open in Web Editor NEWThe original AWS security enforcer™
License: MIT License
The original AWS security enforcer™
License: MIT License
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.
krampus/kinder/lambda_funcs.py
Line 36 in 738f006
>>> 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")
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?
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.