Comments (7)
Can you suggest more ideas on how you think the integration could be done ?
from tell-me-your-secrets.
Do you think Adding a Remote check feature would be very helpful? Or An Ansible like integration to run this on multiple instances and retrieve the leaks from everywhere?
from tell-me-your-secrets.
No ideas right now - I didn't dig into how this was achieved with other products but perhaps we could adapt what they are doing.
What do you mean remote check?
from tell-me-your-secrets.
SSH Based multi-machine Key scan with this module.
from tell-me-your-secrets.
Here is some examples: http://blog.dkbza.org/2007/05/scanning-data-for-entropy-anomalies.html
From trufflehog
def shannon_entropy(data, iterator):
"""
Borrowed from http://blog.dkbza.org/2007/05/scanning-data-for-entropy-anomalies.html
"""
if not data:
return 0
entropy = 0
for x in iterator:
p_x = float(data.count(x))/len(data)
if p_x > 0:
entropy += - p_x*math.log(p_x, 2)
return entropy
from tell-me-your-secrets.
Or even existing libraries like: https://github.com/lyft/high-entropy-string
from tell-me-your-secrets.
@valayDave started implementing it in #24 but I think the whole topic could become quite complex, especially around false positives and other things.
Perhaps this project should just focus on rule based scanning, like what it's doing.
https://github.com/Yelp/detect-secrets - does it quite well from what I could see, although I didn't try the tool out that much.
@x-way what do you think?
from tell-me-your-secrets.
Related Issues (11)
- Improve code quality HOT 2
- Bug in exit code logic HOT 7
- New release version? HOT 1
- Return non-zero on issues found HOT 2
- Return all issues
- Print version
- Add Codacy Badges to README HOT 1
- Unable to print the finding HOT 1
- Pre-commit hook HOT 3
- Leverage Github for releases HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tell-me-your-secrets.