Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for authnmodel (0.45 sec)

  1. pilot/pkg/networking/core/listener.go

    		authnmodel.ApplyToCommonTLSContext(ctx.CommonTlsContext, proxy, serverTLSSettings.SubjectAltNames, serverTLSSettings.CaCrl, []string{}, validateClient)
    	// If credential name is specified at gateway config, create  SDS config for gateway to fetch key/cert from Istiod.
    	case serverTLSSettings.CredentialName != "":
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/sds.go

    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // SecretResource wraps the authnmodel type with cache functions implemented
    type SecretResource struct {
    	credentials.SecretResource
    	pkpConfHash string
    }
    
    var _ model.XdsCacheEntry = SecretResource{}
    
    func (sr SecretResource) Type() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/builder/builder.go

    		}
    	}
    	return dryRun
    }
    
    func shadowRuleStatPrefix(rule *rbacpb.RBAC) string {
    	switch rule.GetAction() {
    	case rbacpb.RBAC_ALLOW:
    		return authzmodel.RBACShadowRulesAllowStatPrefix
    	case rbacpb.RBAC_DENY:
    		return authzmodel.RBACShadowRulesDenyStatPrefix
    	default:
    		return ""
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. pilot/pkg/security/authn/utils/utils.go

    		TlsMinimumProtocolVersion: minTLSVersion,
    		TlsMaximumProtocolVersion: tls.TlsParameters_TLSv1_3,
    	}
    	authn_model.ApplyToCommonTLSContext(ctx.CommonTlsContext, node, []string{}, /*subjectAltNames*/
    		"", /*crl*/
    		trustDomainAliases, ctx.RequireClientCertificate.Value)
    
    	// Compliance for downstream mesh mTLS.
    	authn_model.EnforceCompliance(ctx.CommonTlsContext)
    	return ctx
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 00:16:21 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_tls_test.go

    								},
    								ValidationContextSdsSecretConfig: &tls.SdsSecretConfig{
    									Name:      "kubernetes://" + credentialName + authn_model.SdsCaSuffix,
    									SdsConfig: authn_model.SDSAdsConfig,
    								},
    							},
    						},
    					},
    					Sni: "some-sni.com",
    				},
    				err: nil,
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/options/authorization.go

    	for _, mode := range o.Modes {
    		if !authzmodes.IsValidAuthorizationMode(mode) {
    			allErrors = append(allErrors, fmt.Errorf("authorization-mode %q is not a valid mode", mode))
    		}
    		if mode == authzmodes.ModeABAC && o.PolicyFile == "" {
    			allErrors = append(allErrors, fmt.Errorf("authorization-mode ABAC's authorization policy file not passed"))
    		}
    		if mode == authzmodes.ModeWebhook && o.WebhookConfigFile == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. pkg/kubeapiserver/authorizer/modes/modes_test.go

    limitations under the License.
    */
    
    package modes
    
    import "testing"
    
    func TestIsValidAuthorizationMode(t *testing.T) {
    	var tests = []struct {
    		authzMode string
    		expected  bool
    	}{
    		{"", false},
    		{"rBAC", false},        // not supported
    		{"falsy value", false}, // not supported
    		{"RBAC", true},         // supported
    		{"ABAC", true},         // supported
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 23 13:27:16 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  8. pkg/adsc/delta_test.go

    	"github.com/envoyproxy/go-control-plane/pkg/wellknown"
    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/grpc"
    	"google.golang.org/protobuf/testing/protocmp"
    
    	authn_model "istio.io/istio/pilot/pkg/security/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pilot/test/xdstest"
    	"istio.io/istio/pkg/log"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. pkg/kubeapiserver/authorizer/modes/modes.go

    // IsValidAuthorizationMode returns true if the given authorization mode is a valid one for the apiserver
    func IsValidAuthorizationMode(authzMode string) bool {
    	return sets.NewString(AuthorizationModeChoices...).Has(authzMode)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 05 01:22:41 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/tracing.go

    	dryRunPolicyTraceTag("istio.authorization.dry_run.allow_policy.result", authz_model.RBACShadowRulesAllowStatPrefix+authz_model.RBACShadowEngineResult),
    	dryRunPolicyTraceTag("istio.authorization.dry_run.deny_policy.name", authz_model.RBACShadowRulesDenyStatPrefix+authz_model.RBACShadowEffectivePolicyID),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top