Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 254 for principal1 (0.18 sec)

  1. pilot/pkg/security/authz/builder/testdata/http/td-aliases-source-principal-out.yaml

      rules:
        policies:
          ns[foo]-policy[httpbin]-rule[0]:
            permissions:
            - andRules:
                rules:
                - any: true
            principals:
            - andIds:
                ids:
                - orIds:
                    ids:
                    - authenticated:
                        principalName:
                          safeRegex:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 16:35:46 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. pkg/config/validation/validation_test.go

    								Values:    []string{"source.namespace1"},
    								NotValues: []string{"source.namespace2"},
    							},
    							{
    								Key:       "source.principal",
    								Values:    []string{"source.principal1"},
    								NotValues: []string{"source.principal2"},
    							},
    							{
    								Key:       "request.auth.claims[a]",
    								Values:    []string{"claims1"},
    								NotValues: []string{"claims2"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/builder/testdata/tcp/audit-both-http-tcp-out.yaml

                          value:
                            stringMatch:
                              exact: not-exact
            principals:
            - andIds:
                ids:
                - orIds:
                    ids:
                    - authenticated:
                        principalName:
                          exact: spiffe://principal
                - notId:
                    orIds:
                      ids:
                      - authenticated:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 16:35:46 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/testdata/http/extended-single-policy-out.yaml

                        addressPrefix: 192.168.10.0
                        prefixLen: 24
            principals:
            - andIds:
                ids:
                - orIds:
                    ids:
                    - authenticated:
                        principalName:
                          exact: spiffe://rule[0]-from[0]-principal[1]
                    - authenticated:
                        principalName:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. pilot/pkg/security/authz/builder/testdata/http/extended-td-aliases-source-principal-out.yaml

      rules:
        policies:
          ns[foo]-policy[httpbin]-rule[0]:
            permissions:
            - andRules:
                rules:
                - any: true
            principals:
            - andIds:
                ids:
                - orIds:
                    ids:
                    - authenticated:
                        principalName:
                          safeRegex:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/model/model_test.go

    			rule: yamlRule(t, `
    from:
    - source:
        principals: ["td-1/ns/foo/sa/sleep"]
    `),
    			want: []string{
    				"td-1/ns/foo/sa/sleep",
    				"td-2/ns/foo/sa/sleep",
    			},
    		},
    		{
    			name:     "source-principal-attribute",
    			tdBundle: trustdomain.NewBundle("td-1", []string{"td-2"}),
    			rule: yamlRule(t, `
    when:
    - key: source.principal
      values: ["td-1/ns/foo/sa/sleep"]
    `),
    			want: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/testdata/http/multiple-policies-in.yaml

    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-5
      namespace: foo
    spec:
      rules:
        - from:
            - source:
                principals: ["principals1", "principals2"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-6
      namespace: foo
    spec:
      rules:
        - from:
            - source:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 2K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-out.yaml

                                regex: .+
            principals:
            - andIds:
                ids:
                - orIds:
                    ids:
                    - authenticated:
                        principalName:
                          exact: spiffe://principal
                    - authenticated:
                        principalName:
                          prefix: spiffe://principal-prefix-
                    - authenticated:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/model/generator.go

    	permission(key, value string, forTCP bool) (*rbacpb.Permission, error)
    	principal(key, value string, forTCP bool, useAuthenticated bool) (*rbacpb.Principal, error)
    }
    
    type extendedGenerator interface {
    	extendedPermission(key string, value []string, forTCP bool) (*rbacpb.Permission, error)
    	extendedPrincipal(key string, value []string, forTCP bool) (*rbacpb.Principal, error)
    }
    
    type destIPGenerator struct{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    			SourceIps:     stringToIP(op.IpBlocks),
    			NotSourceIps:  stringToIP(op.NotIpBlocks),
    			Namespaces:    stringToMatch(op.Namespaces),
    			NotNamespaces: stringToMatch(op.NotNamespaces),
    			Principals:    stringToMatch(op.Principals),
    			NotPrincipals: stringToMatch(op.NotPrincipals),
    		}
    		fromMatches = append(fromMatches, match)
    	}
    
    	rules := []*security.Rules{}
    	if len(toMatches) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top