Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rule for ApiGatewayStage data trace enabled #620

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lfarvour
Copy link

@lfarvour lfarvour commented Aug 18, 2023

Custom Rule: ApiGatewayStageDataTraceEnabledRule.rb

Violation occurs when ApiGatewayStage has a parameter in the parameter list MethodSettings with the sub-parameter DataTraceEnabled set to true.

Tracing API Gateway stage data may lead to sensittve data in logs.

Custom Rule: sub_property_with_list_truthy_value_base_rule.rb

Support for resource properties that contain a list of properties. Implements raising violation when sub property parameter is not set or is set to true.

…ruthy checks on subproperties with type list.
@lfarvour lfarvour requested a review from a team as a code owner August 18, 2023 18:44
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.

1 participant