mhaskar / bughound Goto Github PK
View Code? Open in Web Editor NEWStatic code analysis tool based on Elasticsearch
License: GNU General Public License v3.0
Static code analysis tool based on Elasticsearch
License: GNU General Public License v3.0
What I did:
git clone https://github.com/mhaskar/Bughound
pip3 install -r requirements.txt
python3.9 Bughound/bughound.py --path TARGET_FOLDER_IN_SAME_DIR --language python --name Test --extension .php
Pls tell me how can i connect with elastic cloud with Bughound?
Traceback (most recent call last):
File "Bughound/bughound.py", line 53, in <module>
findings = p.get_functions(verbose)
File "Bughound/core/parser.py", line 114, in get_functions
code_snippet+= lines[line_number]
IndexError: list index out of range
When sources doesn't handle that list start index self elements from 0, but line_number is line index, that starts from 1, so when they try to get data from last liine, thy through IndexError
and of course, because of this issue all parsed output is wrong: data is taken with a shift
Hi, want to ask,
how to configure to interate with my existing ELK with SSL and username password with BugHound ?
example the script input on filebeat.yml or auditbeat.yml
output.elasticsearch:
hosts: ["https://localhost:9200"]
ssl.certificate_authorities: ["xx.crt"]
username: "elastic"
password: "password"
Thanks
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.