Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Authz (0.04 sec)

  1. pilot/pkg/model/authorization_test.go

    				newConfig("authz-3", "bar", auditPolicy),
    				newConfig("authz-4", "bar", auditPolicy),
    			},
    			wantDeny: []AuthorizationPolicy{
    				{
    					Name:      "authz-2",
    					Namespace: "bar",
    					Spec:      denyPolicy,
    				},
    			},
    			wantAllow: []AuthorizationPolicy{
    				{
    					Name:      "authz-1",
    					Namespace: "bar",
    					Spec:      policy,
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_internal_test.go

    	"google.golang.org/protobuf/types/known/wrapperspb"
    
    	networking "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pilot/pkg/model"
    	authzmatcher "istio.io/istio/pilot/pkg/security/authz/matcher"
    	authz "istio.io/istio/pilot/pkg/security/authz/model"
    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestIsCatchAllRoute(t *testing.T) {
    	cases := []struct {
    		name  string
    		route *route.Route
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_builder.go

    	authnBuilder *authn.Builder
    	// authzBuilder provides access to authz configuration for the given proxy.
    	authzBuilder *authz.Builder
    	// authzCustomBuilder provides access to CUSTOM authz configuration for the given proxy.
    	authzCustomBuilder *authz.Builder
    }
    
    // enabledInspector captures if for a given listener, listener filter inspectors are added
    type enabledInspector struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/networkfilter.go

    	authzBuilder := lb.authzBuilder
    	if policySvc != nil {
    		useFilterState := lb.node.Type == model.Waypoint
    		authzBuilder = authz.NewBuilderForService(authz.Local, lb.push, lb.node, useFilterState, policySvc)
    		authzCustomBuilder = authz.NewBuilderForService(authz.Custom, lb.push, lb.node, useFilterState, policySvc)
    	}
    
    	var filters []*listener.Filter
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. istioctl/cmd/root.go

    	experimentalCmd.AddCommand(injector.Cmd(ctx))
    
    	rootCmd.AddCommand(mesh.NewVerifyCommand(ctx))
    	rootCmd.AddCommand(mesh.UninstallCmd(ctx))
    
    	experimentalCmd.AddCommand(authz.AuthZ(ctx))
    	rootCmd.AddCommand(seeExperimentalCmd("authz"))
    	experimentalCmd.AddCommand(metrics.Cmd(ctx))
    	experimentalCmd.AddCommand(describe.Cmd(ctx))
    	experimentalCmd.AddCommand(wait.Cmd(ctx))
    	experimentalCmd.AddCommand(config.Cmd())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/builder/builder_test.go

    		AuthzPolicies: yamlPolicy(t, basePath+input),
    		Mesh:          mc,
    	}
    	p.ServiceIndex.HostnameAndNamespace = map[host.Name]map[string]*model.Service{
    		"my-custom-ext-authz.foo.svc.cluster.local": {
    			"foo": &model.Service{
    				Hostname: "my-custom-ext-authz.foo.svc.cluster.local",
    			},
    		},
    	}
    	return p
    }
    
    func node(version *model.IstioVersion) *model.Proxy {
    	return &model.Proxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_waypoint.go

    	authnBuilder := lb.authnBuilder
    	if svc != nil {
    		authnBuilder = authn.NewBuilderForService(lb.push, lb.node, svc)
    		authzBuilder = authz.NewBuilderForService(authz.Local, lb.push, lb.node, true, svc)
    		authzCustomBuilder = authz.NewBuilderForService(authz.Custom, lb.push, lb.node, true, svc)
    	}
    
    	// TODO: consider dedicated listener class for waypoint filters
    	cls := istionetworking.ListenerClassSidecarInbound
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    		}
    	}
    }
    
    // TestNotRestRoutesHaveAuth checks that special non-routes are behind authz/authn.
    func TestNotRestRoutesHaveAuth(t *testing.T) {
    	config, _ := setUp(t)
    
    	authz := mockAuthorizer{}
    
    	config.LegacyAPIGroupPrefixes = sets.NewString("/apiPrefix")
    	config.Authorization.Authorizer = &authz
    
    	config.EnableIndex = true
    	config.EnableProfiling = true
    
    	kubeVersion := fakeVersion()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/extauthz.go

    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/pkg/model"
    	authzmodel "istio.io/istio/pilot/pkg/security/authz/model"
    	"istio.io/istio/pkg/config/validation/agent"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/wellknown"
    )
    
    const (
    	extAuthzMatchPrefix   = "istio-ext-authz"
    	badCustomActionSuffix = `-deny-due-to-bad-CUSTOM-action`
    )
    
    var supportedStatus = func() []int {
    	var supported []int
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go

    				"[1, 2, 3].indexOf(2) == 1",      // lists
    				"'abc'.contains('bc')",           //strings
    				"isURL('http://example.com')",    // urls
    				"'a 1 b 2'.find('[0-9]') == '1'", // regex
    			},
    		},
    		{
    			name: "authz disabled",
    			typeVersionCombinations: []envTypeAndVersion{
    				{version.MajorMinor(1, 26), NewExpressions},
    				// always enabled for StoredExpressions
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top