Skip to content

Add rule for ApiGatewayStage data trace enabled#620

Open
lfarvour wants to merge 1 commit intostelligent:masterfrom
lfarvour:main
Open

Add rule for ApiGatewayStage data trace enabled#620
lfarvour wants to merge 1 commit intostelligent:masterfrom
lfarvour:main

Conversation

@lfarvour
Copy link
Copy Markdown

@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