Doc.: Operation string matching semantics not specified

Open
#2,036 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@NopeCharon is already working on this.

Since Nov 13, 2026.

  • #3824 by @NopeCharon — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Domain
documentation

Research direction

Read the Operation section at the linked Istio authorization policy documentation page. Clarify and document the normative string-matching semantics, including wildcard characters, escaping, repeated wildcards, and behavior around path or host separators; the work is done when the listed questions can be answered from the section itself.

Written by the indexing model from the issue text.

Description

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?

)

Dominant language
Go
Stars
523
Forks
623
Avg merge
5d 20h
Merged PRs (30d)
4

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from istio/api

All issues in istio/api

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.