mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-04-05 18:27:29 +00:00
* Add OAS contract monitoring support * Pass the contract failure reason to UI * Fix the issues related to contract validation * Fix rest of the issues in the UI * Add documentation related to contract monitoring feature * Fix a typo in the docs * Unmarshal to `HTTPRequestResponsePair` only if the OAS validation is enabled * Fix an issue caused by the merge commit * Slightly change the logic in the `validateOAS` method Change the `contractText` value to `No Breaches` or `Breach` and make the text `white-space: nowrap`. * Retrieve and display the failure reason for both request and response Also display the content of the contract/OAS file in the UI. * Display the OAS under `CONTRACT` tab with syntax highlighting Also fix the styling in the entry feed. * Remove `EnforcePolicyFileDeprecated` constant * Log the other errors as well * Get context from caller instead * Define a type for the contract status and make its values enum-like * Remove an unnecessary `if` statement * Validate OAS in the CLI before passing it to Agent * Get rid of the `github.com/ghodss/yaml` dependency in `loadOAS` by using `LoadFromData` * Fix an artifact from the merge conflict
36 lines
1.1 KiB
Modula-2
36 lines
1.1 KiB
Modula-2
module mizuserver
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
github.com/djherbis/atime v1.0.0
|
|
github.com/fsnotify/fsnotify v1.4.9
|
|
github.com/getkin/kin-openapi v0.76.0
|
|
github.com/gin-contrib/static v0.0.1
|
|
github.com/gin-gonic/gin v1.7.2
|
|
github.com/go-playground/locales v0.13.0
|
|
github.com/go-playground/universal-translator v0.17.0
|
|
github.com/go-playground/validator/v10 v10.5.0
|
|
github.com/google/martian v2.1.0+incompatible
|
|
github.com/gorilla/websocket v1.4.2
|
|
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
|
|
github.com/orcaman/concurrent-map v0.0.0-20210106121528-16402b402231
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible
|
|
github.com/up9inc/mizu/shared v0.0.0
|
|
github.com/up9inc/mizu/tap v0.0.0
|
|
github.com/up9inc/mizu/tap/api v0.0.0
|
|
github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0
|
|
go.mongodb.org/mongo-driver v1.7.1
|
|
gorm.io/driver/sqlite v1.1.4
|
|
gorm.io/gorm v1.21.8
|
|
k8s.io/api v0.21.0
|
|
k8s.io/apimachinery v0.21.0
|
|
k8s.io/client-go v0.21.0
|
|
)
|
|
|
|
replace github.com/up9inc/mizu/shared v0.0.0 => ../shared
|
|
|
|
replace github.com/up9inc/mizu/tap v0.0.0 => ../tap
|
|
|
|
replace github.com/up9inc/mizu/tap/api v0.0.0 => ../tap/api
|