Skip to content

HttpIntegrationSpec

Functions

  • matcher_for - Resolves the matcher to apply for a response observed on path.

firma_secret_provider::spec::http::HttpIntegrationSpec::matcher_for

Section titled “firma_secret_provider::spec::http::HttpIntegrationSpec::matcher_for”

Function

Resolves the matcher to apply for a response observed on path.

Follows a specific order:

  • first blocked commands, that should be forbidden no matter what
  • second sensitive commands, to apply secret redaction
  • third safe commands, to let through without redaction

Any command not falling in any of those rules will be blocked as an extra safety measure.

fn matcher_for(self: &Self, path: &str) -> MatchingResolution<Matcher>