Commit Graph

2094 Commits

Author SHA1 Message Date
RamiBerm
132b158dbb
TRA-3241 fix mizu rbac bug
TRA-3241 fix mizu rbac bug
2021-05-12 10:25:04 +03:00
RamiBerm
5cb58ec25b Update mizuRunner.go 2021-05-12 10:16:40 +03:00
lirazyehezkel
129acae58e
Feature/UI/light theme (#44)
* light theme

* css polish

* unused code

* css

* text shadow

* footer style
2021-05-11 17:35:21 +03:00
RamiBerm
06a25876b9
TRA-3188 name resolving integration improvements
TRA-3188 name resolving integration improvements
2021-05-11 16:30:04 +03:00
RamiBerm
9bd4fb0619 Update provider.go 2021-05-11 15:35:31 +03:00
RamiBerm
3001abeff6 Update README.md, resolver.go, and 2 more files... 2021-05-11 15:30:47 +03:00
RamiBerm
d36d1460b6 Update mizuRunner.go 2021-05-11 10:52:39 +03:00
RamiBerm
bc165dbbaf Update Makefile, version.go, and 3 more files... 2021-05-11 10:26:24 +03:00
RamiBerm
cc60ad064c Provide cli version as git hash from makefile 2021-05-11 09:33:11 +03:00
gadotroee
453003bf14
remove leftovers (#43) 2021-05-10 17:35:59 +03:00
Roee Gadot
80ca377668 Merge branch 'develop' into main
# Conflicts:
#	Dockerfile
#	Makefile
#	api/go.mod
#	api/go.sum
#	api/main.go
#	api/pkg/controllers/entries_controller.go
#	api/pkg/inserter/main.go
#	api/pkg/models/models.go
#	api/pkg/tap/grpc_assembler.go
#	api/pkg/tap/har_writer.go
#	api/pkg/tap/http_matcher.go
#	api/pkg/tap/http_reader.go
#	api/pkg/tap/passive_tapper.go
#	api/pkg/utils/utils.go
#	cli/Makefile
#	cli/cmd/tap.go
#	cli/cmd/version.go
#	cli/config/config.go
#	cli/kubernetes/provider.go
#	cli/mizu/mizuRunner.go
2021-05-10 17:27:32 +03:00
RamiBerm
ff937e8160
TRA-3188 integrate resolver
TRA-3188 integrate resolver
2021-05-10 17:24:20 +03:00
RamiBerm
d817f5b3d3 Update provider.go, consts.go, and mizuRunner.go 2021-05-10 16:03:01 +03:00
RamiBerm
84a647a49d Update main.go 2021-05-10 15:57:57 +03:00
RamiBerm
d1921d61c9 Merge branch 'develop'
Conflicts:
	api/pkg/controllers/entries_controller.go
	api/pkg/inserter/main.go
	api/pkg/models/models.go
	cli/Makefile
2021-05-10 15:50:45 +03:00
RamiBerm
9344c18fe0 Update consts.go and mizuRunner.go 2021-05-10 15:46:56 +03:00
RamiBerm
4429de93b6 Update go.mod, main.go, and 4 more files... 2021-05-10 15:44:38 +03:00
gadotroee
a960022601
Add cli publish and rename publish docker flow name (#40)
* new makefiles, build automation
* Update main.yml
* add git branch to the bucket path
* Update main.yml
* no message
* no message
* fix yaml
* fix naming
* run only on main and develop

Co-authored-by: Alex Haiut <alex@up9.com>
2021-05-10 15:44:37 +03:00
gadotroee
2ea8b0dbde
Add requestSenderIP (#39) 2021-05-10 15:14:29 +03:00
RamiBerm
c4d44ba9d3 Update Dockerfile 2021-05-10 13:56:51 +03:00
RamiBerm
40dc62c3bd Update Dockerfile and go.sum 2021-05-10 11:49:54 +03:00
RamiBerm
204aad60c4 Update go.mod, main.go, and 9 more files... 2021-05-10 11:39:43 +03:00
RamiBerm
18e111beb8 WIP 2021-05-10 11:03:53 +03:00
RamiBerm
21694d0ff9 WIP 2021-05-09 16:34:47 +03:00
nimrod-up9
ee63247888
Removed flags without implementation (#38) 2021-05-09 14:09:39 +03:00
gadotroee
c3d0941d9c
Build push image to the right place and adjust makefile to use script (#35)
* build push docker image

* Update build-push-featurebranch.sh
2021-05-09 12:05:05 +03:00
gadotroee
d21297bc9c
0.9 (#37)
* Update .gitignore

* WIP

* WIP

* Update README.md, root.go, and 4 more files...

* Update README.md

* Update README.md

* Update root.go

* Update provider.go

* Update provider.go

* Update root.go, go.mod, and go.sum

* Update mizu.go

* Update go.sum and provider.go

* Update portForward.go, watch.go, and mizu.go

* Update README.md

* Update watch.go

* Update mizu.go

* Update mizu.go

* no message

* no message

* remove unused things and use external for object id (instead of copy)

* no message

* Update mizu.go

* Update go.mod, go.sum, and 2 more files...

* no message

* Update README.md, go.mod, and resolver.go

* Update README.md

* Update go.mod

* Update loader.go

* some refactor

* Update loader.go

* no message

* status to statusCode

* return data directly

* Traffic viewer

* cleaning

* css

* no message

* Clean warnings

* Makefile - first draft

* Update Makefile

* Update Makefile

* Update Makefile, README.md, and 4 more files...

* Add api build and clean to makefile (files restructure) (#9)

* no message
* add clean api command

* no message

* stating with web socket

* Add tap as a separate executable (#10)

* Added tap.

* Ignore build directories.

* Added tapper build to Makefile.

* Improvements  (#12)

* no message

* no message

* Feature/makefile (#11)

* minor fixes

* makefile fixes - docker build

* minor fix in Makefile
Co-authored-by: Alex Haiut <alex@up9.com>

* Update Dockerfile, multi-runner.sh, and 31 more files...

* Update multi-runner.sh

* no message

* Update .dockerignore, Dockerfile, and 30 more files...

* Update cleaner.go, grpc_assembler.go, and 2 more files...

* start the pod with host network and privileged

* fix multi runner passive tapper command

* add HOST_MODE env var

* do not return true in the should tap function

* remove line in the end

* default value in api is input
fix description and pass the parameter in the multi runner script

* missing flag.parse

* no message

* fix image

* Create main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Small fixes - permission + har writing exception (#17)

* Select node by pod (#18)

* Select node by pod.

* Removed watch pod by regex. Irrelevant for now.

* Changed default image to develop:latest.

* Features/clifix (#19)

* makefile fixes - docker build

* readme update, CLI usage fix

* added chmod

Co-authored-by: Alex Haiut <alex@up9.com>

* meta information

* Only record traffic of the requested pod. Filtered by pod IP. (#21)

* fixed readme and reduced batch size to 5 (#22)

Co-authored-by: Alex Haiut <alex@up9.com>

* API and TAP in single process  (#24)

* no message
* no message

* CLI make --pod required flag and faster api image build (#25)

* makefile fixes - docker build

* readme update, CLI usage fix

* added chmod

* typo

* run example incorreect in makefile

* no message

* no message

* no message

Co-authored-by: Alex Haiut <alex@up9.com>

* Reduce delay between tap and UI - Skip dump to file (#26)

* Pass HARs between tap and api via channel.

* Fixed make docker commad.

* Various fixes.

* Added .DS_Store to .gitignore.

* Parse flags in Mizu main instead of in tap_output.go.

* Use channel to pass HAR by default instead of files.

* Infinite scroll (#28)

* no message

* infinite scroll + new ws implementation

* no message

* scrolling top

* fetch button

* more Backend changes

* fix go mod and sum

* mire fixes against develop

* unused code

* small ui refactor

Co-authored-by: Roee Gadot <roee.gadot@up9.com>

* Fix gRPC crash, display gRPC as base64, display gRPC URL and status code (#27)

* Added Method (POST) and URL (emtpy) to gRPC requests.

* Removed quickfix that skips writing HTTP/2 to HAR.

* Use HTTP/2 body to fill out http.Request and htt.Response.

* Make sure that in HARs request.postData.mimeType and response.content.mimeType are application/grpc in case of grpc.

* Comment.

* Add URL and status code for gRPC.

* Don't assume http scheme.

* Use http.Header.Set instead of manually acccessing the underlaying map.

* General stats api fix  (#29)

* refactor and validation

* Show gRPC as ASCII (#31)

* Moved try-catch up one block.

* Display grpc as ASCII.

* Better code in entries fetch endpoint (#30)

* no message
* no message

* Feature/UI/filters (#32)

* UI filters

* refactor

* Revert "refactor"

This reverts commit 70e7d4b6ac.

* remove recursive func

* CLI cleanup (#33)

* Moved cli root command to tap subcommand.

* tap subcommand works.

* Added view and fetch placeholders.

* Updated descriptions.

* Fixed indentation.

* Added versio subcommand.

* Removed version flag.

* gofmt.

* Changed pod from flag to arg.

* Commented out "all namespaces" flag.

* CLI cleanup 2 (#34)

* Renamed dashboard -> GUI/web interface.

* Commented out --quiet, removed unused config variables.

* Quiter output when calling unimplemented subcommands.

* Leftovers from PR #30 (#36)

Co-authored-by: up9-github <info@up9.com>
Co-authored-by: RamiBerm <54766858+RamiBerm@users.noreply.github.com>
Co-authored-by: Liraz Yehezkel <lirazy@up9.com>
Co-authored-by: Alex Haiut <alex@testr.io>
Co-authored-by: lirazyehezkel <61656597+lirazyehezkel@users.noreply.github.com>
Co-authored-by: Alex Haiut <alex@up9.com>
Co-authored-by: nimrod-up9 <59927337+nimrod-up9@users.noreply.github.com>
Co-authored-by: RamiBerm <rami.berman@up9.com>
Co-authored-by: Alex Haiut <alex.haiut@gmail.com>
2021-05-09 11:45:39 +03:00
gadotroee
3f0ce35de0
Leftovers from PR #30 (#36) 2021-05-09 11:26:28 +03:00
nimrod-up9
506e36fbdc
CLI cleanup 2 (#34)
* Renamed dashboard -> GUI/web interface.

* Commented out --quiet, removed unused config variables.

* Quiter output when calling unimplemented subcommands.
2021-05-06 18:30:01 +03:00
nimrod-up9
6ceaa56474
CLI cleanup (#33)
* Moved cli root command to tap subcommand.

* tap subcommand works.

* Added view and fetch placeholders.

* Updated descriptions.

* Fixed indentation.

* Added versio subcommand.

* Removed version flag.

* gofmt.

* Changed pod from flag to arg.

* Commented out "all namespaces" flag.
2021-05-06 17:43:22 +03:00
lirazyehezkel
c7a20ed9c0
Feature/UI/filters (#32)
* UI filters

* refactor

* Revert "refactor"

This reverts commit 70e7d4b6ac.

* remove recursive func
2021-05-06 17:40:35 +03:00
gadotroee
b9d0e0ee87
Better code in entries fetch endpoint (#30)
* no message
* no message
2021-05-06 11:08:02 +03:00
nimrod-up9
938ca26cd4
Show gRPC as ASCII (#31)
* Moved try-catch up one block.

* Display grpc as ASCII.
2021-05-05 17:23:10 +03:00
gadotroee
ed0d7ef8db
General stats api fix (#29)
* refactor and validation
2021-05-05 12:33:53 +03:00
nimrod-up9
4d6528771a
Fix gRPC crash, display gRPC as base64, display gRPC URL and status code (#27)
* Added Method (POST) and URL (emtpy) to gRPC requests.

* Removed quickfix that skips writing HTTP/2 to HAR.

* Use HTTP/2 body to fill out http.Request and htt.Response.

* Make sure that in HARs request.postData.mimeType and response.content.mimeType are application/grpc in case of grpc.

* Comment.

* Add URL and status code for gRPC.

* Don't assume http scheme.

* Use http.Header.Set instead of manually acccessing the underlaying map.
2021-05-05 09:23:17 +03:00
lirazyehezkel
377fc79315
Infinite scroll (#28)
* no message

* infinite scroll + new ws implementation

* no message

* scrolling top

* fetch button

* more Backend changes

* fix go mod and sum

* mire fixes against develop

* unused code

* small ui refactor

Co-authored-by: Roee Gadot <roee.gadot@up9.com>
2021-05-04 18:23:58 +03:00
nimrod-up9
b03134919e
Reduce delay between tap and UI - Skip dump to file (#26)
* Pass HARs between tap and api via channel.

* Fixed make docker commad.

* Various fixes.

* Added .DS_Store to .gitignore.

* Parse flags in Mizu main instead of in tap_output.go.

* Use channel to pass HAR by default instead of files.
2021-05-03 14:50:28 +03:00
gadotroee
5727630846
CLI make --pod required flag and faster api image build (#25)
* makefile fixes - docker build

* readme update, CLI usage fix

* added chmod

* typo

* run example incorreect in makefile

* no message

* no message

* no message

Co-authored-by: Alex Haiut <alex@up9.com>
2021-05-03 11:25:15 +03:00
gadotroee
0d277faaf8
API and TAP in single process (#24)
* no message
* no message
2021-05-02 15:00:53 +03:00
Alex Haiut
29407729cf
fixed readme and reduced batch size to 5 (#22)
Co-authored-by: Alex Haiut <alex@up9.com>
2021-04-29 18:44:21 +03:00
lirazyehezkel
ef02403237
Merge pull request #20 from up9inc/feature/ui/Meta_information
UI meta information
2021-04-29 18:21:10 +03:00
nimrod-up9
e932a340e3
Only record traffic of the requested pod. Filtered by pod IP. (#21) 2021-04-29 18:19:59 +03:00
Liraz Yehezkel
f23f50373b meta information 2021-04-29 18:01:30 +03:00
Alex Haiut
2ba43300fd
Features/clifix (#19)
* makefile fixes - docker build

* readme update, CLI usage fix

* added chmod

Co-authored-by: Alex Haiut <alex@up9.com>
2021-04-29 18:00:16 +03:00
nimrod-up9
38146a644d
Select node by pod (#18)
* Select node by pod.

* Removed watch pod by regex. Irrelevant for now.

* Changed default image to develop:latest.
2021-04-29 15:46:18 +03:00
gadotroee
96a6ac3251
Small fixes - permission + har writing exception (#17) 2021-04-29 15:05:03 +03:00
Alex Haiut
2c5cd39cec
Merge pull request #16 from up9inc/feature/try_guthub_action
Add github action to push new image to gcr
2021-04-29 14:44:17 +03:00
gadotroee
774fbac53c
Update main.yml 2021-04-29 14:40:46 +03:00
gadotroee
37a3d037d4
Update main.yml 2021-04-29 14:36:32 +03:00
gadotroee
d712acb3f2
Update main.yml 2021-04-29 13:19:39 +03:00