Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Action_ALLOW (1.36 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    	if pol.GetSelector() == nil {
    		scope = security.Scope_NAMESPACE
    		// TODO: TDA
    		if rootns == obj.Namespace {
    			scope = security.Scope_GLOBAL // TODO: global workload?
    		}
    	}
    	action := security.Action_ALLOW
    	switch pol.Action {
    	case v1beta1.AuthorizationPolicy_ALLOW:
    	case v1beta1.AuthorizationPolicy_DENY:
    		action = security.Action_DENY
    	default:
    		return nil
    	}
    	opol := &security.Authorization{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/policies.go

    			// note: we don't actually use label selection; the names have an internally well-known format
    			// workload generation will append a reference to this
    			Scope:  security.Scope_WORKLOAD_SELECTOR,
    			Action: security.Action_ALLOW,
    			Groups: []*security.Group{{
    				Rules: []*security.Rules{
    					{
    						Matches: []*security.Match{
    							{
    								Principals: slices.Map(waypoint.ServiceAccounts, func(sa string) *security.StringMatch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pkg/workloadapi/security/authorization.pb.go

    func (Scope) EnumDescriptor() ([]byte, []int) {
    	return file_workloadapi_security_authorization_proto_rawDescGZIP(), []int{0}
    }
    
    type Action int32
    
    const (
    	// Allow the request if it matches with the rules.
    	Action_ALLOW Action = 0
    	// Deny the request if it matches with the rules.
    	Action_DENY Action = 1
    )
    
    // Enum value maps for Action.
    var (
    	Action_name = map[int32]string{
    		0: "ALLOW",
    		1: "DENY",
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top