* Implemented validation rules, based on: https://up9.atlassian.net/browse/TRA-3349
* Color on Entry based on rules
* Background red/green based on rules
* Change flag --validation-rules to --test-rules
* rules tab UI updated
* rules tab font and background-color is changed for objects
* Merged with develop
* Fixed compilation issues.
* Renamed fullEntry -> harEntry where appropriate.
* Change green/red logic
* Update models.go
* Fix latency bug and alignment
* Merge Conflicts fix
* Working after merge
* Working on Nimrod comments
* Resolving conflicts
* Resolving conflicts
* Resolving conflicts
* Nimrod Comments pt.3
* Log Error on configmap creation if the user doesn't have permission.
* Checking configmap permission to ignore --test-rules
* Revert time for mizu to get ready
* Nimrod comments pt 4 && merge develop pt3
* Nimrod comments pt 4 && merge develop pt3
* Const rulePolicyPath and filename
Co-authored-by: Neim <elezin9@gmail.com>
Co-authored-by: nimrod-up9 <nimrod@up9.com>
* Renamed aggregator -> apiServer.
* Format errors with container names.
* Renamed collector -> apiServer.
* Rephrased help messages.
* Moved api -> agent.
* Continue renameing api -> agent in Makefile and Dockerfiles.
* Only use one channel for filtering HARs.
* Only check if dest is service ip if message is outgoing.
* Parse direction flag on input.
* Renamed filterHarHeaders -> filterHarItems.
* Fixed compilation bugs.
* Tap outgoing: If --anydirection flag is passed with HOST_MODE, tap by source IP.
* Moved ConnectionInfo from http_matcher to http_reader.
* Generalized shouldTap in stream factory to get more properties.
* tap reports IsOutgoing property of tcp connection.
* gofmt.
* CLI instructs tapper to tap outgoing connections.
* API saves IsOutgoing to DB and passes it to UI.
* Add a visual marker in the HAR list for outgoing messages.
* Fixed: Swapped src and dst.
* Resolver keeps a list of all ClusterIP services.
* Do not save HARs with destination ClusterIP services.
* CLI accepts flag that controls traffic direction.
* Indicate incoming/outgoing with icon instead of with border color.
* Fixed: Didn't filter messages to services in aggregator.
* Clearer syntax around the direction icon. Added title text.
* Fixed width around direction icon.
* Less repetition.
* Removed TODO.
* Renamed incoming -> ingoing.
* More verbose title text to image.
* Switched routine order for readability.
* WIP
* Update tap.go, provider.go, and 2 more files...
* WIP
* WIP
* Solved routine hanging forever: Added missing flag when calling mizuagent.
* Iterate channel with range.
* Panic if har channel is nil or if websocket connection is nil.
* StartPassiveTapper returns read only channel.
* Solved program exiting immediately: Wait for interrupt signal instead of exiting.
* Solve connecting issue - Retry a few times.
* Use lib const instead of magic.
* Nicer error prints.
* Don't coninue piping message if there is an error.
* Comment.
* Dependency injection.
* no message
* Fixed comment.
* Print tapped addresses when they are updated.
* Print errors in cleanup if there are any.
Co-authored-by: RamiBerm <rami.berman@up9.com>
Co-authored-by: Roee Gadot <roee.gadot@up9.com>