Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for RequestPrincipals (0.44 sec)

  1. tests/integration/security/testdata/authz/egress-gateway.yaml.tmpl

          from:
            - source:
                requestPrincipals: [ "******@****.***/sub-1" ]
        - to: # checks only a can call 443 over istio mutual with JWT
            - operation:
                hosts: [ "jwt-and-{{ .Allowed.ServiceName }}-{{ .Allowed.NamespaceName }}-only.com" ]
          from:
            - source:
                requestPrincipals: [ "******@****.***/sub-1" ]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 31 15:08:52 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/builder/testdata/http/multiple-policies-in.yaml

    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-6
      namespace: foo
    spec:
      rules:
        - from:
            - source:
                requestPrincipals: ["requestPrincipals1", "requestPrincipals2"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-7
      namespace: foo
    spec:
      rules:
        - from:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 2K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/model/model.go

    			if useExtendedJwt {
    				merged.insertFrontExtended(requestPrincipalGenerator{}, attrRequestPrincipal, s.RequestPrincipals, s.NotRequestPrincipals)
    			} else {
    				merged.insertFront(requestPrincipalGenerator{}, attrRequestPrincipal, s.RequestPrincipals, s.NotRequestPrincipals)
    			}
    			merged.insertFront(srcPrincipalGenerator{}, attrSrcPrincipal, s.Principals, s.NotPrincipals)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    	}
    	fromMatches := []*security.Match{}
    	for _, from := range rule.From {
    		op := from.Source
    		if action == security.Action_ALLOW && anyNonEmpty(op.RemoteIpBlocks, op.NotRemoteIpBlocks, op.RequestPrincipals, op.NotRequestPrincipals) {
    			// L7 policies never match for ALLOW
    			// For DENY they will always match, so it is more restrictive
    			return nil
    		}
    		match := &security.Match{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. pkg/config/validation/validation.go

    						errs = appendErrors(errs, check(len(src.NotPrincipals) != 0, "From.NotPrincipals"))
    						errs = appendErrors(errs, check(len(src.RequestPrincipals) != 0, "From.RequestPrincipals"))
    						errs = appendErrors(errs, check(len(src.NotRequestPrincipals) != 0, "From.NotRequestPrincipals"))
    					}
    				}
    				for _, when := range rule.GetWhen() {
    					if when == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/networkfilter_test.go

    						Action: v1beta1.AuthorizationPolicy_ALLOW,
    						Rules: []*v1beta1.Rule{
    							{
    								From: []*v1beta1.Rule_From{
    									{
    										Source: &v1beta1.Source{
    											RequestPrincipals: []string{"id-1"},
    										},
    									},
    								},
    								To: []*v1beta1.Rule_To{
    									{
    										Operation: &v1beta1.Operation{
    											Methods: []string{"GET"},
    										},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. pkg/config/validation/validation_test.go

    						},
    					},
    				},
    			},
    			valid: false,
    		},
    		{
    			name: "RequestPrincipals-empty",
    			in: &security_beta.AuthorizationPolicy{
    				Rules: []*security_beta.Rule{
    					{
    						From: []*security_beta.Rule_From{
    							{
    								Source: &security_beta.Source{
    									RequestPrincipals: []string{"p1", ""},
    								},
    							},
    						},
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/output/all_on.golden-show-in-gh-pull-request.yaml

                                    description: Optional.
                                    items:
                                      type: string
                                    type: array
                                  requestPrincipals:
                                    description: Optional.
                                    items:
                                      type: string
                                    type: array
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 506.8K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                                    items:
                                      type: string
                                    type: array
                                  requestPrincipals:
                                    description: Optional.
                                    items:
                                      type: string
                                    type: array
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (0)
  10. manifests/charts/base/crds/crd-all.gen.yaml

                                    items:
                                      type: string
                                    type: array
                                  requestPrincipals:
                                    description: Optional.
                                    items:
                                      type: string
                                    type: array
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
Back to top