Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc.: Operation string matching semantics not specified #2036

Open
dsbos opened this issue Jun 24, 2021 · 1 comment
Open

Doc.: Operation string matching semantics not specified #2036

dsbos opened this issue Jun 24, 2021 · 1 comment

Comments

@dsbos
Copy link

dsbos commented Jun 24, 2021

The page section currently at https://istio.io/latest/docs/reference/config/security/authorization-policy/#Operation doesn't specify the semantics of the strings in the various fields of Operation.

Although an example implies that "*" is a wildcard character, there is no normative (e.g., non-example) text that specifies exactly how the given string are interpreted.

(The documentation should be sufficient to answer questions such as:

  • Are there any other wildcard characters?
  • Is there an escape character (or any other construct) for literally matching a "*"?
  • Can there be multiple uses of wildcarding in a given match string? (Some Istio uses of "*" in host names can appear only once.)
  • What exactly are the semantics of "*"? Does it always just match zero to N arbitrary characters? Or does it do anything special when adjacent (or non-adjacent) to "/" or "." characters in a path- or host-match string?

)

@ericvn
Copy link

ericvn commented Jun 25, 2021

@ericvn ericvn transferred this issue from istio/istio.io Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants