- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NotHosts (0.08 sec)
-
pilot/pkg/security/authz/model/model.go
merged.insertFront(pathGenerator{}, pathMatcher, o.Paths, o.NotPaths) merged.insertFront(methodGenerator{}, methodHeader, o.Methods, o.NotMethods) merged.insertFront(hostGenerator{}, hostHeader, o.Hosts, o.NotHosts) } m.permissions = append(m.permissions, merged) } if len(r.To) == 0 { m.permissions = append(m.permissions, basePermission) } return &m, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 10:39:25 UTC 2024 - 13.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go
func handleRule(action security.Action, rule *v1beta1.Rule) []*security.Rules { toMatches := []*security.Match{} for _, to := range rule.To { op := to.Operation if action == security.Action_ALLOW && anyNonEmpty(op.Hosts, op.NotHosts, op.Methods, op.NotMethods, op.Paths, op.NotPaths) { // 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)