Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for NotMethods (0.3 sec)

  1. pilot/pkg/security/authz/builder/testdata/tcp/custom-both-http-tcp-in.yaml

                notRemoteIpBlocks: ["192.168.244.139"]
          to:
            - operation:
                methods: ["method"]
                hosts: ["exact.com"]
                ports: ["80"]
                paths: ["/exact"]
                notMethods: ["not-method"]
                notHosts: ["not-exact.com"]
                notPorts: ["8000"]
                notPaths: ["/not-exact"]
          when:
            - key: "request.headers[X-header]"
              values: ["header"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. tests/integration/security/testdata/authz/not-method.yaml.tmpl

    kind: AuthorizationPolicy
    metadata:
      name: {{ .To.ServiceName }}-allow
    spec:
      selector:
        matchLabels:
          "app": "{{ .To.ServiceName }}"
      action: ALLOW
      rules:
        - to:
          - operation:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 268 bytes
    - Viewed (0)
  3. pilot/pkg/security/authz/builder/testdata/tcp/audit-both-http-tcp-in.yaml

            notRemoteIpBlocks: ["10.133.154.65"]
        to:
        - operation:
            methods: ["method"]
            hosts: ["exact.com"]
            ports: ["80"]
            paths: ["/exact"]
            notMethods: ["not-method"]
            notHosts: ["not-exact.com"]
            notPorts: ["8000"]
            notPaths: ["/not-exact"]
        when:
          - key: "request.headers[X-header]"
            values: ["header"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-in.yaml

                hosts: ["exact.com", "*.suffix.com", "prefix.*", "*"]
                ports: ["80", "90"]
                paths: ["/exact", "/prefix/*", "*/suffix", "*", "/path/template/{*}", "/{**}/path/template"]
                notMethods: ["not-method", "not-method-prefix-*", "*-not-suffix-method", "*"]
                notHosts: ["not-exact.com", "*.not-suffix.com", "not-prefix.*", "*"]
                notPorts: ["8000", "9000"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/allow-full-in.yaml

            remoteIpBlocks: [ "1.2.3.4", "5.6.0.0/16" ]
            notRemoteIpBlocks: [ "2.2.3.4", "6.6.0.0/16" ]
      - to:
        - operation:
            methods: ["method", "method-prefix-*", "*-suffix-method", "*"]
            notMethods: ["not-method", "not-method-prefix-*", "*-suffix-not-method", "*"]
      - to:
        - operation:
            hosts: ["exact.com", "*.suffix.com", "prefix.*", "*"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/builder/testdata/tcp/deny-both-http-tcp-in.yaml

            notRemoteIpBlocks: ["192.168.244.139"]
        to:
        - operation:
            methods: ["method"]
            hosts: ["exact.com"]
            ports: ["80"]
            paths: ["/exact"]
            notMethods: ["not-method"]
            notHosts: ["not-exact.com"]
            notPorts: ["8000"]
            notPaths: ["/not-exact"]
        when:
          - key: "request.headers[X-header]"
            values: ["header"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 12 19:47:37 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/model/model.go

    			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)
    		}
    		m.permissions = append(m.permissions, merged)
    	}
    	if len(r.To) == 0 {
    		m.permissions = append(m.permissions, basePermission)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    	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)
  9. pkg/config/validation/validation.go

    					errs = appendErrors(errs, security.CheckEmptyValues("Hosts", op.Hosts))
    					errs = appendErrors(errs, security.CheckEmptyValues("NotPorts", op.NotPorts))
    					errs = appendErrors(errs, security.CheckEmptyValues("NotMethods", op.NotMethods))
    					errs = appendErrors(errs, security.CheckEmptyValues("NotPaths", op.NotPaths))
    					errs = appendErrors(errs, security.CheckEmptyValues("NotHosts", op.NotHosts))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  10. pkg/config/validation/validation_test.go

    						},
    					},
    				},
    			},
    			valid: false,
    		},
    		{
    			name: "NotMethods-empty",
    			in: &security_beta.AuthorizationPolicy{
    				Rules: []*security_beta.Rule{
    					{
    						To: []*security_beta.Rule_To{
    							{
    								Operation: &security_beta.Operation{
    									NotMethods: []string{"GET", ""},
    								},
    							},
    						},
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top