Skip to content

Feature request - Masking ARN #58

@bethdehart

Description

@bethdehart

When recording AWS API's for unit tests. I would love to be able to mask the account number in the ARN with a fake number provided by AWS. 123456789012

It would be as simple as re.sub(':(\d{12}:)', ':123456789012:', response_data) somewhere here https://github.com/garnaat/placebo/blob/develop/placebo/pill.py#L242-L243.

It would be good to have a flag if someone wanted to mask or not mask the account number of the arn.

Thoughts? @garnaat

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions