- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NotPorts (0.09 sec)
-
pilot/pkg/security/authz/model/model_test.go
- source: requestPrincipals: ["td-1/ns/foo/sa/sleep-3"] notRequestPrincipals: ["td-1/ns/foo/sa/sleep-4"] to: - operation: ports: ["8001"] notPorts: ["8002"] - operation: ports: ["8003"] notPorts: ["8004"] when: - key: "source.principal" values: ["td-1/ns/foo/sa/httpbin-1"] notValues: ["td-1/ns/foo/sa/httpbin-2"] - key: "destination.ip" values: ["10.0.0.1"]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 10K bytes - Viewed (0) -
pilot/pkg/security/authz/model/model.go
} for _, to := range r.To { merged := basePermission.copy() if o := to.Operation; o != nil { merged.insertFront(destPortGenerator{}, attrDestPort, o.Ports, o.NotPorts) merged.insertFront(pathGenerator{}, pathMatcher, o.Paths, o.NotPaths) merged.insertFront(methodGenerator{}, methodHeader, o.Methods, o.NotMethods) merged.insertFront(hostGenerator{}, hostHeader, o.Hosts, o.NotHosts)
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
// For DENY they will always match, so it is more restrictive return nil } match := &security.Match{ DestinationPorts: stringToPort(op.Ports), NotDestinationPorts: stringToPort(op.NotPorts), } toMatches = append(toMatches, match) } fromMatches := []*security.Match{} for _, from := range rule.From { op := from.Source
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 16:23:36 UTC 2024 - 18.4K bytes - Viewed (0)