Skip to content

Commit

Permalink
renamed field to attach_failed_status_to_metadata
Browse files Browse the repository at this point in the history
Signed-off-by: day0ops <kasun.talwatta@gmail.com>
  • Loading branch information
day0ops committed Feb 26, 2025
1 parent 047bee6 commit fbfb7fe
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 37 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
changelog:
- type: NEW_FEATURE
issueLink: https://github.com/solo-io/solo-projects/issues/7837
resolvesIssue: false
description: >
Added a new field `attachFailedStatusToMetadata` to attach JWT failure status to dynamic metadata so that the status code and message can be logged.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions install/helm/gloo/crds/gateway.solo.io_v1_RouteOption.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down Expand Up @@ -803,7 +803,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down
4 changes: 2 additions & 2 deletions install/helm/gloo/crds/gateway.solo.io_v1_RouteTable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down Expand Up @@ -913,7 +913,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down Expand Up @@ -461,7 +461,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down Expand Up @@ -543,7 +543,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down
10 changes: 5 additions & 5 deletions install/helm/gloo/crds/gateway.solo.io_v1_VirtualService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down Expand Up @@ -551,7 +551,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down Expand Up @@ -633,7 +633,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down Expand Up @@ -3944,7 +3944,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down Expand Up @@ -4026,7 +4026,7 @@ spec:
providers:
additionalProperties:
properties:
attachFailedStatusInMetadata:
attachFailedStatusToMetadata:
type: string
audiences:
items:
Expand Down
8 changes: 4 additions & 4 deletions projects/gloo/api/v1/enterprise/options/jwt/jwt.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ message Provider {
google.protobuf.UInt32Value clock_skew_seconds = 8;

// Optional: If this field is not empty, the JWT failure status code and message are added to DynamicMetadata under the provided value.
// This is particularly useful when logging the status with access logs.
// This is particularly useful when logging the status.
//
// For example, if the value of `attach_failed_status_in_metadata` is 'custom_auth_failure_status' then
// the status can be accessed in the access log as '%DYNAMIC_METADATA(envoy.filters.http.jwt_authn:custom_auth_failure_status:message)'
string attach_failed_status_in_metadata = 9;
// For example, if the value of `attach_failed_status_to_metadata` is 'custom_auth_failure_status' then
// the failure status can be accessed in the access log as '%DYNAMIC_METADATA(envoy.filters.http.jwt_authn:custom_auth_failure_status)'
string attach_failed_status_to_metadata = 9;
}

message Jwks {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions projects/gloo/pkg/api/v1/enterprise/options/jwt/jwt.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fbfb7fe

Please sign in to comment.