Skip to content

Skip enum members when looking for potentially sensitive shapes/data#1661

Merged
mtdowling merged 1 commit intosmithy-lang:mainfrom
rchache:enumSensitiveFix
Mar 6, 2023
Merged

Skip enum members when looking for potentially sensitive shapes/data#1661
mtdowling merged 1 commit intosmithy-lang:mainfrom
rchache:enumSensitiveFix

Conversation

@rchache
Copy link
Copy Markdown
Contributor

@rchache rchache commented Mar 6, 2023

Issue #, if available:

Description of changes:
Enum members do not need to be marked sensitive, so we can exclude them from this validator.
Ex:
https://github.com/awslabs/smithy/blob/30201cb49e9017d4ef7e3622d3e46aec12a0c60e/smithy-aws-iam-traits/src/main/resources/META-INF/smithy/aws.iam.json#L211

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rchache rchache requested a review from a team as a code owner March 6, 2023 23:05
@mtdowling mtdowling merged commit fe77f68 into smithy-lang:main Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants