Skip to content

Commit

Permalink
Revert "Semgrep: Try removing restrictions"
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison authored Nov 18, 2021
1 parent 08a8dae commit ab0add9
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,32 @@ rules:
languages: [go]
message: Prefer AWS Go SDK pointer conversion functions for dereferencing during conditionals, e.g. aws.StringValue()
paths:
exclude:
- aws/cloudfront_distribution_configuration_structure.go
- aws/cloudfront_distribution_configuration_structure_test.go
- aws/config.go
- aws/data_source_aws_route*
- aws/ecs_task_definition_equivalency.go
- aws/opsworks_layers.go
- aws/resource_aws_d*.go
- aws/resource_aws_e*.go
- aws/resource_aws_g*.go
- aws/resource_aws_i*.go
- aws/resource_aws_k*.go
- aws/resource_aws_l*.go
- aws/resource_aws_main_route_table_association.go
- aws/resource_aws_n*.go
- aws/resource_aws_o*.go
- aws/resource_aws_r*.go
- aws/resource_aws_s*.go
- aws/resource*_test.go
- aws/structure.go
- aws/internal/generators/
- aws/internal/keyvaluetags/
- aws/internal/naming/
- providerlint/vendor/
include:
- internal/service
- aws/
patterns:
- pattern-either:
- pattern: '$LHS == *$RHS'
Expand Down

0 comments on commit ab0add9

Please sign in to comment.