api: add stdout audit logger for RBAC audit logging. (#26453)

* Add stdout audit logger for RBAC audit logging.

Signed-off-by: Luwei Ge <lwge@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ ce2ee7608faa34421a65be9986c29d0cc5d5e608
pull/626/head
data-plane-api(Azure Pipelines) 2 years ago
parent a59b9cc96f
commit 0bc7653228
  1. 1
      BUILD
  2. 9
      envoy/extensions/rbac/audit_loggers/stream/v3/BUILD
  3. 20
      envoy/extensions/rbac/audit_loggers/stream/v3/stream.proto
  4. 1
      versioning/BUILD

@ -273,6 +273,7 @@ proto_library(
"//envoy/extensions/quic/proof_source/v3:pkg",
"//envoy/extensions/quic/server_preferred_address/v3:pkg",
"//envoy/extensions/rate_limit_descriptors/expr/v3:pkg",
"//envoy/extensions/rbac/audit_loggers/stream/v3:pkg",
"//envoy/extensions/rbac/matchers/upstream_ip_port/v3:pkg",
"//envoy/extensions/regex_engines/v3:pkg",
"//envoy/extensions/request_id/uuid/v3:pkg",

@ -0,0 +1,9 @@
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py.
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"],
)

@ -0,0 +1,20 @@
syntax = "proto3";
package envoy.extensions.rbac.audit_loggers.stream.v3;
import "udpa/annotations/status.proto";
option java_package = "io.envoyproxy.envoy.extensions.rbac.audit_loggers.stream.v3";
option java_outer_classname = "StreamProto";
option java_multiple_files = true;
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/rbac/audit_loggers/stream/v3;streamv3";
option (udpa.annotations.file_status).package_version_status = ACTIVE;
// [#protodoc-title: Standard Streams RBAC Audit Loggers]
// [#not-implemented-hide:]
// Custom configuration for the RBAC audit logger that writes log entries
// directly to the operating system's standard output.
// The logger outputs in JSON format and is currently not configurable.
message StdoutAuditLog {
}

@ -212,6 +212,7 @@ proto_library(
"//envoy/extensions/quic/proof_source/v3:pkg",
"//envoy/extensions/quic/server_preferred_address/v3:pkg",
"//envoy/extensions/rate_limit_descriptors/expr/v3:pkg",
"//envoy/extensions/rbac/audit_loggers/stream/v3:pkg",
"//envoy/extensions/rbac/matchers/upstream_ip_port/v3:pkg",
"//envoy/extensions/regex_engines/v3:pkg",
"//envoy/extensions/request_id/uuid/v3:pkg",

Loading…
Cancel
Save