Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update API to get details from postgres #391

Merged
merged 31 commits into from
Jul 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
846789c
Add docstrings to some functions
Jun 7, 2020
0654fc0
update API to take out sessions from postgres
Jun 7, 2020
d784260
Fix the docstring
Jun 9, 2020
714aef1
Fetch 200 rows at a time
Jun 10, 2020
2906221
Handle Invalid SNARE uuid
Jun 10, 2020
31cf92d
Remove redis from API
Jun 10, 2020
1e3e93c
update the postges client and create_table function
Jun 11, 2020
c49d7c7
Update the analyze function
Jun 13, 2020
d3b3f4d
Update API server tests
Jun 13, 2020
19f6790
Fix pycodestyle errors. Also added sqlalchemy in requirements
Jun 13, 2020
daec0ce
change the insertion method
Jun 15, 2020
2ba7450
Change API to make use of sqlalchemy
Jun 15, 2020
9d0a86f
Fix PEP8 and sort imports
Jun 15, 2020
a81b970
Move alchemyencoder in different class
Jun 19, 2020
92b68c0
Update the return_session function.
Jun 19, 2020
d6f041b
Add LIMIT and OFFSET support while returning all the sessions
Jun 19, 2020
0f7d914
Update the server calls accordingly
Jun 19, 2020
2de5ea4
Provide all the attacks with their frequency. Also fixed the bug for …
Jun 21, 2020
886a59b
Remove print statements
Jun 21, 2020
fedd0d8
Fix the filtering bug
Jun 21, 2020
368453d
Fix a bug
Jun 27, 2020
0abfa11
Update the API to return error as well
Jun 27, 2020
997313e
Properly format the code
Jun 27, 2020
0fee226
use urllib instead of yarl to extract queries from path
Jun 30, 2020
0b3a09a
Add unknown to attack type
Jun 30, 2020
43d7c82
if attack_type is not present then pass 0(unknown)
Jun 30, 2020
117d233
Update the sessions and stat postgres query
Jul 2, 2020
340a7fa
Update tannerweb and it's template to display content properly
Jul 4, 2020
6f72b84
Make separate query for fetching total sessions
Jul 4, 2020
815e30a
Update filters so api/web doesn't crash when given start_time/end_tim…
Jul 4, 2020
d929b9c
Add exception to return session info function
Jul 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ tornado
mako
pyjwt
pyyaml
sqlalchemy
Loading