Skip to content

ec2: fourteen describes never parse Filter.N, so a filter they are given is invisible #695

Closed

Description

@scttfrdmn

Filed out of #687, which made an unrecognized Filter.N.Name a refusal on the nine EC2
describes that parse filters. Fourteen do not parse Filter.N at all, so they neither
apply a filter nor refuse a bad one: a caller's filter is accepted and invisible.

DescribeAvailabilityZones' signature is literally (reqCtx, _ *AWSRequest). The others
include DescribeVpcs, DescribeInternetGateways, DescribeAddresses,
DescribeInstanceStatus, DescribeLaunchTemplates, DescribeSpotPriceHistory and
DescribeInstanceTypes (already tracked separately as #495 for its own reasons).

DescribeSubnets is the fifteenth today and leaves this list in #685.

This was deliberately out of #687's scope: bringing these in would newly refuse filters
callers pass harmlessly today, in a change whose point was consistency, and each operation
needs its own reference page transcribed into an ec2FilterSpec before it can refuse
anything without producing false denies.

Acceptance criteria

  • Enumerate the operations that reach a handler without consulting Filter.N, in the
    issue, with the current line of each.
  • For each, decide and record one of: an ec2FilterSpec plus a match function (where
    state can answer at least one filter), or a spec whose names are all accepted (where
    state can answer none — the filter is inert but a typo is refused).
  • Every spec transcribed from that operation's own API reference page, per ec2: three inconsistent unknown-filter-name behaviours, where real AWS refuses #687's rule.
  • A table-driven test per operation: a documented name is accepted, an undocumented one
    is refused, and the refusal precedes the scan.
  • docs/services.md' "Two gaps, deliberately left standing" paragraph updated — the
    first gap should shrink to nothing or to a named remainder.

Activity

  1. added this to the v0.107.0 milestone on Aug 21, 2026
  2. added a commit that references this issue on Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions