Squashed 'api/' changes from cdcce2e..4504b96
4504b96 Fix wrong import path in proto 80fa8f4 Merge commit '9a3c410ee8dfe2a380dc1ab36a5778e2c0f7049b' as 'api' 795f9c0 Move existing protos to external repo 08b8eb8 Merge subtree 67b190d Merge commit 'f057ecd724f3b2ff84c69304e34c2ec3006402ac' as 'api'f8c59dd
tmp3fc1eaf
Setup project and implement first draft of audit file readere695991
Restructure and extend protos for easier usageca41423
Initial commit 1618dc3 Move docs to deploy stage d70ba74 Introduce Lifecycle for every endpoint and manage listeners in the renamed Orchestrator dd4b191 Merge branch '10-handler-event-stream' into 'master' 2d97bea Refactor gRPC sink 85b0123 Update container config 55dfcfa Ship default CA with container build c97207e Update builtin CA 2c02b0c Add basic metric sink cc72595 Subscribe sinks with a context to automatically remove them when context is canceled 6d2737b Move HTTPS handling to http_mock handler 63a6516 Added audit stream to HTTP proxy 03f3ae4 Enable gRPC reflection to support gRPCurl and gRPCui af0a7a2 Capture source and destination addresses as byte arrays 66f2aab Add commands to list sinks and to read a protocol file to JSON a76d1d1 Cleanup in server app 0138b57 Merged CLI and server app init 37c87ad Apply comments 38293bb Remove caching for now af5c55d Cache .task/ directory to lazy run tasks across stages 41aa132 Cache .task/ directory to lazy run tasks across stages 2f0f3ed Moved code of commands to their main package af31b11 Audit API prototype dc4a9b1 Moved endpoint handlers in tree bb9f45c Move sinks to extra package 6c448fd Add DNS details 0468c93 Integrate into handlers 63607df Implement log and writer sinks Add reader 1e8139e Add first draft of event stream eaddf26 Add test and coverage reports 81c4be6 Replace CI job token with API token fa5c649 Merge branch '15-generate-ca-command-has-wrong-validity' into 'master' 9041da7 Resolve "generate-ca command has wrong validity" e9f79cd Merge branch '7-add-advanced-matching-options' into 'master' 49e58ac Add advanced matching options to HTTP handler 57a7e10 Add Prometheus metrics (#10) 460940e Fixed TLS issue with mismatching certificates 9a50ce5 Complete health API 191d352 fix container build and add missing demo CA files 6899c6c Removed generated mocks 108444e Add health API and basic CLI support 2ff0e7c Fix container build 38f8ff3 Apply commented improvements def844c Cleanup d89ab3a Split to server and CLI binaries 13a3829 Add output format options for upcoming CLI client 1ef1f59 Add gRPC API implementation 6184164 Add gRPC spec 3466037 Remove plugin commands feature 91f0cf6 Improve config and startup handling 1775d3d Add GoReport badge 480388c Update README 666b137 Add some status badges 127d40e Merge pull request #3 from baez90/feature/add-http_proxy a67b8ed Improve TLS connection tracking to avoid memory or connection leaks 7c2a41a Move TLS/cert handling to main app 43d3c62 Move mocks to internal package 9236a38 Moved endpoint handling to new module f4ca8e9 Add some tests to ensure proper configuration parsing 671958e Complete first naive HTTP proxy implementation 63a446d Prepare systemd deployment ca1ac7d Move plugins to top level directory in repository ac62eab Initial commit http_proxy 9123d01 Fix module problems and update release v0.0.1 ac067cd Fix plugin modules and test make target 8134110 Move plugins to sub-modules d8b7cfa Merge pull request #4 from baez90/add-license cd79537 Create LICENSE ca76e18 Merge pull request #1 from baez90/add-github-ci 6051ea1 Add goreleaser d7f7427 Add Go GitHub actions config 2475f88 Add Makefile and reference to docs c3e362c Add some basic docs 63ba6da Add basic DNS and DNS-over-TLS implementation 0ed9070 Allow plugins to be resided in subdirectories 02d8b44 Introduce lifetime parameters to generate-ca cmd a720b0e Initial working version 6012f10 Initial commit git-subtree-dir: api git-subtree-split: 4504b96051149eab813f8a36ef26d0e4eef5c3bf
This commit is contained in:
parent
f057ecd724
commit
9701e0c4a3
5 changed files with 10 additions and 5 deletions
|
@ -4,6 +4,7 @@ option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/details";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||||
option java_outer_classname = "HandlerEventProto";
|
option java_outer_classname = "HandlerEventProto";
|
||||||
|
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||||
|
|
||||||
package inetmock.audit.details;
|
package inetmock.audit.details;
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ option go_package = "gitlab.com/inetmock/inetmock/pkg/audit/details";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "com.github.baez90.inetmock.audit.details";
|
option java_package = "com.github.baez90.inetmock.audit.details";
|
||||||
option java_outer_classname = "HandlerEventProto";
|
option java_outer_classname = "HandlerEventProto";
|
||||||
|
option csharp_namespace = "INetMock.Client.Audit.Details";
|
||||||
|
|
||||||
package inetmock.audit.details;
|
package inetmock.audit.details;
|
||||||
|
|
||||||
|
@ -29,4 +30,4 @@ message HTTPDetailsEntity {
|
||||||
string uri = 3;
|
string uri = 3;
|
||||||
string proto = 4;
|
string proto = 4;
|
||||||
map<string, HTTPHeaderValue> headers = 5;
|
map<string, HTTPHeaderValue> headers = 5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@ option go_package = "gitlab.com/inetmock/inetmock/pkg/audit";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "com.github.baez90.inetmock.audit";
|
option java_package = "com.github.baez90.inetmock.audit";
|
||||||
option java_outer_classname = "HandlerEventProto";
|
option java_outer_classname = "HandlerEventProto";
|
||||||
|
option csharp_namespace = "INetMock.Client.Audit";
|
||||||
|
|
||||||
package inetmock.audit;
|
package inetmock.audit;
|
||||||
|
|
||||||
|
@ -48,4 +49,4 @@ message EventEntity {
|
||||||
uint32 destinationPort = 8;
|
uint32 destinationPort = 8;
|
||||||
TLSDetailsEntity tls = 9;
|
TLSDetailsEntity tls = 9;
|
||||||
google.protobuf.Any protocolDetails = 10;
|
google.protobuf.Any protocolDetails = 10;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,9 @@ option go_package = "gitlab.com/inetmock/inetmock/pkg/rpc";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "com.github.baez90.inetmock.rpc";
|
option java_package = "com.github.baez90.inetmock.rpc";
|
||||||
option java_outer_classname = "AuditProto";
|
option java_outer_classname = "AuditProto";
|
||||||
|
option csharp_namespace = "INetMock.Client.Rpc";
|
||||||
|
|
||||||
import 'pkg/audit/event_entity.proto';
|
import 'audit/event_entity.proto';
|
||||||
|
|
||||||
package inetmock.rpc;
|
package inetmock.rpc;
|
||||||
|
|
||||||
|
@ -49,4 +50,4 @@ service Audit {
|
||||||
rpc RegisterFileSink (RegisterFileSinkRequest) returns (RegisterFileSinkResponse);
|
rpc RegisterFileSink (RegisterFileSinkRequest) returns (RegisterFileSinkResponse);
|
||||||
rpc RemoveFileSink (RemoveFileSinkRequest) returns (RemoveFileSinkResponse);
|
rpc RemoveFileSink (RemoveFileSinkRequest) returns (RemoveFileSinkResponse);
|
||||||
rpc ListSinks(ListSinksRequest) returns (ListSinksResponse);
|
rpc ListSinks(ListSinksRequest) returns (ListSinksResponse);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,7 @@ option go_package = "gitlab.com/inetmock/inetmock/internal/rpc";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "com.github.baez90.inetmock.rpc";
|
option java_package = "com.github.baez90.inetmock.rpc";
|
||||||
option java_outer_classname = "HealthProto";
|
option java_outer_classname = "HealthProto";
|
||||||
|
option csharp_namespace = "INetMock.Client.Rpc";
|
||||||
|
|
||||||
package inetmock.rpc;
|
package inetmock.rpc;
|
||||||
|
|
||||||
|
@ -31,4 +32,4 @@ message ComponentHealth {
|
||||||
message HealthResponse {
|
message HealthResponse {
|
||||||
HealthState overallHealthState = 1;
|
HealthState overallHealthState = 1;
|
||||||
map<string, ComponentHealth> componentsHealth = 2;
|
map<string, ComponentHealth> componentsHealth = 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue