Expand description
Utilities for modifying insta snapshot Settings.
Structs§
- Test
Case - Container for common
instasnapshotSettingsafter they have been applied per the TestCaseConfig. - Test
Case Config - Configure which settings to apply on the snapshot
Settings. - Test
Case Config Builder - Use builder syntax to set the inputs and finish with
build_internal().
Functions§
- snapshot_
redact_ bearer_ tokens - Redact instances of bearer tokens in snapshots. Applies a filter on the
Settingsto replace sub-strings matching [BEARER_TOKEN_REGEX] withSensitive. - snapshot_
redact_ mysql_ uri - Redact instances of Mysql URIs in snapshots. Applies a filter on the
Settingsto replace sub-strings matching [MYSQL_URI_REGEX] withmysql://[Sensitive]. - snapshot_
redact_ postgres_ uri - Redact instances of Postgres URIs in snapshots. Applies a filter on the
Settingsto replace sub-strings matching [POSTGRES_URI_REGEX] withpostgres://[Sensitive]. - snapshot_
redact_ redis_ uri - Redact instances of Redis URIs in snapshots. Applies a filter on the
Settingsto replace sub-strings matching [REDIS_URI_REGEX] withredis://[Sensitive]. - snapshot_
redact_ smtp_ uri - Redact instances of Smtp URIs in snapshots. Applies a filter on the
Settingsto replace sub-strings matching [SMTP_URI_REGEX] withsmtp://[Sensitive]. - snapshot_
redact_ timestamp - Redact instances of timestamps in snapshots. Applies a filter on the
Settingsto replace sub-strings matching [TIMESTAMP_REGEX] with[timestamp]. - snapshot_
redact_ uuid - Redact instances of UUIDs in snapshots. Applies a filter on the
Settingsto replace sub-strings matchingUUID_REGEXwith[uuid]. - snapshot_
set_ suffix - Set the snapshot suffix on the
Settings.