Skip to content

Commit

Permalink
added go third party rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit-privado committed Nov 28, 2023
1 parent 9f65258 commit 0a2ca21
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rules/sinks/third_parties/sdk/elastic/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ sinks:
domains:
- "elastic.co"
patterns:
- "(?i)(go.elastic.co|gopkg.in)(/)(apm|olivere/elastic|go-elasticsearch).*"
- "(?i)(go.elastic.co|gopkg.in|github.com)(/)(apm|olivere/elastic|go-elasticsearch|elastic/go-elasticsearch).*"
tags:
7 changes: 7 additions & 0 deletions rules/sinks/third_parties/sdk/google/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,10 @@ sinks:
- "(?i)(github.com)(/)(GoogleCloudPlatform)(/)(firestore-gorilla-sessions).*"
tags:

- id: ThirdParties.SDK.Google.PageSpeedAPI
name: Google Page Speed API
domains:
- "developers.google.com/speed"
patterns:
- "(?i)(google.golang.org)(/)(api)(/)(pagespeedonline).*"
tags:
2 changes: 1 addition & 1 deletion rules/sinks/third_parties/sdk/hashicorp/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ sinks:
domains:
- "consul.io"
patterns:
- "(?i)(github.com)(/)(hashicorp)(/)(consul|terraform-plugin-sdk).*"
- "(?i)(github.com)(/)(hashicorp)(/)(consul|terraform-plugin-sdk|vault).*"
tags:

0 comments on commit 0a2ca21

Please sign in to comment.