Skip to content

Commit

Permalink
r/aws_pipes_pipe: fix semgrep false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth-k committed Apr 7, 2023
1 parent 83b8641 commit 805f8f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/.semgrep-service-name2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2735,7 +2735,7 @@ rules:
metavariable: $NAME
patterns:
- pattern-regex: "(?i)Pipes"
- pattern-not-regex: ^.+Pipes$
- pattern-not-regex: ^.+Pipe[sS].*$
- pattern-not-regex: ^TestAcc.*
severity: WARNING
- id: pipes-in-test-name
Expand Down
2 changes: 1 addition & 1 deletion internal/generate/servicesemgrep/service.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- pattern-not-regex: ^testAccCloudTrailConfig_.*
{{- end }}
{{- if eq .ServiceAlias "Pipes" }}
- pattern-not-regex: ^.+Pipes$
- pattern-not-regex: ^.+Pipe[sS].*$
{{- end }}
{{- if eq .ServiceAlias "RAM" }}
- pattern-not-regex: Framework
Expand Down

0 comments on commit 805f8f9

Please sign in to comment.