Skip to content

Commit

Permalink
Detected new managed modules references
Browse files Browse the repository at this point in the history
  • Loading branch information
unmultimedio authored and github-actions[bot] committed Mar 27, 2024
1 parent 14bb4d8 commit 3306d71
Show file tree
Hide file tree
Showing 9 changed files with 999 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
syntax = "proto3";

package envoy.extensions.filters.network.ext_authz.v3;

import "envoy/config/core/v3/config_source.proto";
import "envoy/config/core/v3/grpc_service.proto";
import "envoy/type/matcher/v3/metadata.proto";

import "udpa/annotations/status.proto";
import "udpa/annotations/versioning.proto";
import "validate/validate.proto";

option java_package = "io.envoyproxy.envoy.extensions.filters.network.ext_authz.v3";
option java_outer_classname = "ExtAuthzProto";
option java_multiple_files = true;
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/ext_authz/v3;ext_authzv3";
option (udpa.annotations.file_status).package_version_status = ACTIVE;

// [#protodoc-title: Network External Authorization ]
// The network layer external authorization service configuration
// :ref:`configuration overview <config_network_filters_ext_authz>`.
// [#extension: envoy.filters.network.ext_authz]

// External Authorization filter calls out to an external service over the
// gRPC Authorization API defined by
// :ref:`CheckRequest <envoy_v3_api_msg_service.auth.v3.CheckRequest>`.
// A failed check will cause this filter to close the TCP connection.
// [#next-free-field: 9]
message ExtAuthz {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.filter.network.ext_authz.v2.ExtAuthz";

// The prefix to use when emitting statistics.
string stat_prefix = 1 [(validate.rules).string = {min_len: 1}];

// The external authorization gRPC service configuration.
// The default timeout is set to 200ms by this filter.
config.core.v3.GrpcService grpc_service = 2;

// The filter's behaviour in case the external authorization service does
// not respond back. When it is set to true, Envoy will also allow traffic in case of
// communication failure between authorization service and the proxy.
// Defaults to false.
bool failure_mode_allow = 3;

// Specifies if the peer certificate is sent to the external service.
//
// When this field is true, Envoy will include the peer X.509 certificate, if available, in the
// :ref:`certificate<envoy_v3_api_field_service.auth.v3.AttributeContext.Peer.certificate>`.
bool include_peer_certificate = 4;

// API version for ext_authz transport protocol. This describes the ext_authz gRPC endpoint and
// version of Check{Request,Response} used on the wire.
config.core.v3.ApiVersion transport_api_version = 5
[(validate.rules).enum = {defined_only: true}];

// Specifies if the filter is enabled with metadata matcher.
// If this field is not specified, the filter will be enabled for all requests.
type.matcher.v3.MetadataMatcher filter_enabled_metadata = 6;

// Optional labels that will be passed to :ref:`labels<envoy_v3_api_field_service.auth.v3.AttributeContext.Peer.labels>` in
// :ref:`destination<envoy_v3_api_field_service.auth.v3.AttributeContext.destination>`.
// The labels will be read from :ref:`metadata<envoy_v3_api_msg_config.core.v3.Node>` with the specified key.
string bootstrap_metadata_labels_key = 7;

// Specifies if the TLS session level details like SNI are sent to the external service.
//
// When this field is true, Envoy will include the SNI name used for TLSClientHello, if available, in the
// :ref:`tls_session<envoy_v3_api_field_service.auth.v3.AttributeContext.tls_session>`.
bool include_tls_session = 8;
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
syntax = "proto3";

package envoy.service.auth.v3;

import "envoy/config/core/v3/address.proto";
import "envoy/config/core/v3/base.proto";

import "google/protobuf/timestamp.proto";

import "udpa/annotations/status.proto";
import "udpa/annotations/versioning.proto";

option java_package = "io.envoyproxy.envoy.service.auth.v3";
option java_outer_classname = "AttributeContextProto";
option java_multiple_files = true;
option go_package = "github.com/envoyproxy/go-control-plane/envoy/service/auth/v3;authv3";
option (udpa.annotations.file_status).package_version_status = ACTIVE;

// [#protodoc-title: Attribute context]

// See :ref:`network filter configuration overview <config_network_filters_ext_authz>`
// and :ref:`HTTP filter configuration overview <config_http_filters_ext_authz>`.

// An attribute is a piece of metadata that describes an activity on a network.
// For example, the size of an HTTP request, or the status code of an HTTP response.
//
// Each attribute has a type and a name, which is logically defined as a proto message field
// of the ``AttributeContext``. The ``AttributeContext`` is a collection of individual attributes
// supported by Envoy authorization system.
// [#comment: The following items are left out of this proto
// Request.Auth field for jwt tokens
// Request.Api for api management
// Origin peer that originated the request
// Caching Protocol
// request_context return values to inject back into the filter chain
// peer.claims -- from X.509 extensions
// Configuration
// - field mask to send
// - which return values from request_context are copied back
// - which return values are copied into request_headers]
// [#next-free-field: 14]
message AttributeContext {
option (udpa.annotations.versioning).previous_message_type =
"envoy.service.auth.v2.AttributeContext";

// This message defines attributes for a node that handles a network request.
// The node can be either a service or an application that sends, forwards,
// or receives the request. Service peers should fill in the ``service``,
// ``principal``, and ``labels`` as appropriate.
// [#next-free-field: 6]
message Peer {
option (udpa.annotations.versioning).previous_message_type =
"envoy.service.auth.v2.AttributeContext.Peer";

// The address of the peer, this is typically the IP address.
// It can also be UDS path, or others.
config.core.v3.Address address = 1;

// The canonical service name of the peer.
// It should be set to :ref:`the HTTP x-envoy-downstream-service-cluster
// <config_http_conn_man_headers_downstream-service-cluster>`
// If a more trusted source of the service name is available through mTLS/secure naming, it
// should be used.
string service = 2;

// The labels associated with the peer.
// These could be pod labels for Kubernetes or tags for VMs.
// The source of the labels could be an X.509 certificate or other configuration.
map<string, string> labels = 3;

// The authenticated identity of this peer.
// For example, the identity associated with the workload such as a service account.
// If an X.509 certificate is used to assert the identity this field should be sourced from
// ``URI Subject Alternative Names``, ``DNS Subject Alternate Names`` or ``Subject`` in that order.
// The primary identity should be the principal. The principal format is issuer specific.
//
// Examples:
//
// - SPIFFE format is ``spiffe://trust-domain/path``.
// - Google account format is ``https://accounts.google.com/{userid}``.
string principal = 4;

// The X.509 certificate used to authenticate the identify of this peer.
// When present, the certificate contents are encoded in URL and PEM format.
string certificate = 5;
}

// Represents a network request, such as an HTTP request.
message Request {
option (udpa.annotations.versioning).previous_message_type =
"envoy.service.auth.v2.AttributeContext.Request";

// The timestamp when the proxy receives the first byte of the request.
google.protobuf.Timestamp time = 1;

// Represents an HTTP request or an HTTP-like request.
HttpRequest http = 2;
}

// This message defines attributes for an HTTP request.
// HTTP/1.x, HTTP/2, gRPC are all considered as HTTP requests.
// [#next-free-field: 13]
message HttpRequest {
option (udpa.annotations.versioning).previous_message_type =
"envoy.service.auth.v2.AttributeContext.HttpRequest";

// The unique ID for a request, which can be propagated to downstream
// systems. The ID should have low probability of collision
// within a single day for a specific service.
// For HTTP requests, it should be X-Request-ID or equivalent.
string id = 1;

// The HTTP request method, such as ``GET``, ``POST``.
string method = 2;

// The HTTP request headers. If multiple headers share the same key, they
// must be merged according to the HTTP spec. All header keys must be
// lower-cased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;

// The request target, as it appears in the first line of the HTTP request. This includes
// the URL path and query-string. No decoding is performed.
string path = 4;

// The HTTP request ``Host`` or ``:authority`` header value.
string host = 5;

// The HTTP URL scheme, such as ``http`` and ``https``.
string scheme = 6;

// This field is always empty, and exists for compatibility reasons. The HTTP URL query is
// included in ``path`` field.
string query = 7;

// This field is always empty, and exists for compatibility reasons. The URL fragment is
// not submitted as part of HTTP requests; it is unknowable.
string fragment = 8;

// The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 9;

// The network protocol used with the request, such as "HTTP/1.0", "HTTP/1.1", or "HTTP/2".
//
// See :repo:`headers.h:ProtocolStrings <source/common/http/headers.h>` for a list of all
// possible values.
string protocol = 10;

// The HTTP request body.
string body = 11;

// The HTTP request body in bytes. This is used instead of
// :ref:`body <envoy_v3_api_field_service.auth.v3.AttributeContext.HttpRequest.body>` when
// :ref:`pack_as_bytes <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.BufferSettings.pack_as_bytes>`
// is set to true.
bytes raw_body = 12;
}

// This message defines attributes for the underlying TLS session.
message TLSSession {
// SNI used for TLS session.
string sni = 1;
}

// The source of a network activity, such as starting a TCP connection.
// In a multi hop network activity, the source represents the sender of the
// last hop.
Peer source = 1;

// The destination of a network activity, such as accepting a TCP connection.
// In a multi hop network activity, the destination represents the receiver of
// the last hop.
Peer destination = 2;

// Represents a network request, such as an HTTP request.
Request request = 4;

// This is analogous to http_request.headers, however these contents will not be sent to the
// upstream server. Context_extensions provide an extension mechanism for sending additional
// information to the auth server without modifying the proto definition. It maps to the
// internal opaque context in the filter chain.
map<string, string> context_extensions = 10;

// Dynamic metadata associated with the request.
config.core.v3.Metadata metadata_context = 11;

// Metadata associated with the selected route.
config.core.v3.Metadata route_metadata_context = 13;

// TLS session details of the underlying connection.
// This is not populated by default and will be populated only if the ext_authz filter has
// been specifically configured to include this information.
// For HTTP ext_authz, that requires :ref:`include_tls_session <config_http_filters_ext_authz>`
// to be set to true.
// For network ext_authz, that requires :ref:`include_tls_session <config_network_filters_ext_authz>`
// to be set to true.
TLSSession tls_session = 12;
}
60 changes: 60 additions & 0 deletions modules/sync/envoyproxy/envoy/state.json
Original file line number Diff line number Diff line change
Expand Up @@ -35935,6 +35935,66 @@
{
"name": "8358f90fe31f78d1b0eabcf6bc2361909e59dfd2",
"digest": "65cd5d988d80062e2adcbb44247f71a1f044602a455823838e2ce2164ca1744fb51051e896d46e30f3bdcaedac133abe15275bcc6b11be094ad9c41d01769614"
},
{
"name": "dce2931a0e19cff1cfa23fc60b197d28e3db71b7",
"digest": "65cd5d988d80062e2adcbb44247f71a1f044602a455823838e2ce2164ca1744fb51051e896d46e30f3bdcaedac133abe15275bcc6b11be094ad9c41d01769614"
},
{
"name": "2d368c340833ce1a86db81a7eb48700c13575435",
"digest": "65cd5d988d80062e2adcbb44247f71a1f044602a455823838e2ce2164ca1744fb51051e896d46e30f3bdcaedac133abe15275bcc6b11be094ad9c41d01769614"
},
{
"name": "6a6ad9599569f5e617db6b09318b58590b9cf9cb",
"digest": "65cd5d988d80062e2adcbb44247f71a1f044602a455823838e2ce2164ca1744fb51051e896d46e30f3bdcaedac133abe15275bcc6b11be094ad9c41d01769614"
},
{
"name": "7fdde72e57fb46feac85899dc131fb1152cfef1f",
"digest": "65cd5d988d80062e2adcbb44247f71a1f044602a455823838e2ce2164ca1744fb51051e896d46e30f3bdcaedac133abe15275bcc6b11be094ad9c41d01769614"
},
{
"name": "d9fe2f8821d07a801bc39b711aec137ab9dc9b0c",
"digest": "65cd5d988d80062e2adcbb44247f71a1f044602a455823838e2ce2164ca1744fb51051e896d46e30f3bdcaedac133abe15275bcc6b11be094ad9c41d01769614"
},
{
"name": "f902ee65f3814c733f887aab1b332c652fc5b8be",
"digest": "65cd5d988d80062e2adcbb44247f71a1f044602a455823838e2ce2164ca1744fb51051e896d46e30f3bdcaedac133abe15275bcc6b11be094ad9c41d01769614"
},
{
"name": "9a575d82a4186c8cf37ff3d7f0a7002dce412d7d",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
},
{
"name": "0c905156c3e17161463d638a5fd5f2588d9e915e",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
},
{
"name": "522b0b38a651e238b7f1efee25f2250c3bc0b26e",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
},
{
"name": "2647eda721d56db2acee3343d280a4035cb4fadc",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
},
{
"name": "b3bb115dcb38b986a36e2a0d6358ff54a5a1ccc5",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
},
{
"name": "7f56a78bc0de80145e1b20009204a76d5083461d",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
},
{
"name": "c6a1bc5a4176930c621536c0957d319e155775c4",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
},
{
"name": "0078bb5087f82558a4b71fe83dc13781d19a184f",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
},
{
"name": "9f5627d381ba78427e85c3798664de9593e269c1",
"digest": "5bb7767e1a623971b322a5432330accba3e4112b5b26e871d58e05038071d2176c6dcefeb9a58595b858541360efd66eaac90b32d4b1832a7a74986e424a4fe1"
}
]
}
52 changes: 52 additions & 0 deletions modules/sync/googleapis/googleapis/state.json
Original file line number Diff line number Diff line change
Expand Up @@ -10919,6 +10919,58 @@
{
"name": "8984ddb508dea0e673b724c58338e810b1d8aee3",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "811a857dd5e5a500127d0470f16c2caca366435d",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "3c97c7789ef60932299933bf9eadeb16a45c1ee8",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "7870cbd33d27900081e3747b184779603d6c53d1",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "db62476804086a546fbd733ab54a55d6da33c8ae",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "a59c57a1853dd82c954d2a2d208ed761a9a09de5",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "1c8d509c574aeab7478be1bfd4f2e8f0931cfead",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "cf1b61cc1a2f8005438ab5f3fd73b908a5f3cbff",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "f8dae413984ae9e748fa9369c3ffa1239036d1a9",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "3a7c33486ca758b180c6d11dd4705fa9a22e8576",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "2c24fa58df01faf95b55d6578a1fe2d625a453f8",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "9b6f3aa6d29fbf7931153a295e3784fe4ea8a4d9",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "5b2528052057f35d54ae20d846989de319121bf9",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
},
{
"name": "e7b48a71aac74fad861a9737cb11aad978fe247e",
"digest": "5c9afc4b46ad0fa98d4fce363d892f50514c13dff7eabf4ffe8db7e6b8f9568d1e86e55f7dc7a5053065887e5e957a1f3d202daf6240d5c0a2cead7f009ac52d"
}
]
}
Loading

0 comments on commit 3306d71

Please sign in to comment.