Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for NotPaths (0.47 sec)

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

                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. pilot/pkg/security/authz/builder/testdata/http/allow-path-in.yaml

        matchLabels:
          app: httpbin
          version: v1
      rules:
        - to:
            - operation:
                paths: ["/exact", "/prefix/*", "*/suffix", "*", "/path/template/{*}", "/{**}/path/template"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 454 bytes
    - Viewed (0)
  3. tests/integration/security/testdata/authz/deny-principal.yaml.tmpl

      rules:
        - to:
            - operation: # HTTP
                ports: [ "{{ (.To.PortForName `http`).WorkloadPort }}", "{{ (.To.PortForName `http2`).WorkloadPort }}" ]
                paths: [ "/deny*" ]
                notPaths: ["/deny/allow"]
                methods: [ "GET" ]
          from:
            - source:
                principals: [ "{{ .Denied.ServiceAccountName }}" ]
        - to:
            - operation: # GRPC
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. tests/integration/security/testdata/authz/deny-global.yaml.tmpl

            # traffic is TCP, the policy will attempt to be as restrictive as
            # possible and block all traffic through the eastwest-gateway.
            ports: [ "18080", "18085" ]
            paths: ["/global-deny*"]
            notPaths: ["/global-deny/allow"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 796 bytes
    - Viewed (0)
  5. tests/integration/security/testdata/authz/deny-namespace.yaml.tmpl

      rules:
        - to:
            - operation: # HTTP
                ports: [ "{{ (.To.PortForName `http`).WorkloadPort }}", "{{ (.To.PortForName `http2`).WorkloadPort }}" ]
                paths: [ "/deny*" ]
                notPaths: ["/deny/allow"]
                methods: [ "GET" ]
          from:
            - source:
                namespaces: [ "{{ .Denied.NamespaceName }}" ]
        - to:
            - operation: # GRPC
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 1017 bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/builder/testdata/tcp/audit-both-http-tcp-in.yaml

            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"]
            notValues: ["not-header"]
          - key: "source.ip"
            values: ["10.10.10.10"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/testdata/http/allow-full-rule-in.yaml

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

      - to:
        - operation:
            ports: ["80", "90"]
            notPorts: ["800", "900"]
      - to:
        - operation:
            paths: ["/exact", "/prefix/*", "*/suffix", "*"]
            notPaths: ["/not-exact", "/not-prefix/*", "*/not-suffix", "*"]
      - when:
        - key: "request.headers[X-header]"
          values: ["header", "header-prefix-*", "*-suffix-header", "*"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/testdata/tcp/deny-both-http-tcp-in.yaml

            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"]
            notValues: ["not-header"]
          - key: "source.ip"
            values: ["10.10.10.10"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 12 19:47:37 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/model/model.go

    		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)
    		}
    		m.permissions = append(m.permissions, merged)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top