From ed48f2b66016097b34881dea93aeaa1e8c8f6e58 Mon Sep 17 00:00:00 2001 From: Ankit Kumar <118803988+ankit-privado@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:41:27 +0530 Subject: [PATCH] [gosrc2cpg] - Added third party rules (#335) * Added go third party rules * Added more GO third parties * Added more rules * added more rules * go rule fix * go third party rule fix * go third party backslash fix * go third parties rule fix --- rules/sinks/leakages/logs/go.yaml | 6 +++ rules/sinks/third_parties/sdk/adyen/go.yaml | 13 +++++ .../third_parties/sdk/africastalking/go.yaml | 13 +++++ .../sinks/third_parties/sdk/aftership/go.yaml | 13 +++++ .../third_parties/sdk/alibabacloud/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/amazon/go.yaml | 13 +++++ .../sinks/third_parties/sdk/amplitude/go.yaml | 13 +++++ .../sinks/third_parties/sdk/atlassian/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/auth0/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/bing/go.yaml | 13 +++++ .../sdk/braintreepayments/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/callr/go.yaml | 13 +++++ .../sinks/third_parties/sdk/checkout/go.yaml | 13 +++++ .../third_parties/sdk/cloudevents/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/consul/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/datadog/go.yaml | 13 +++++ .../sinks/third_parties/sdk/datadoghq/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/deepmap/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/delinea/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/dropbox/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/ebay/go.yaml | 12 +++++ rules/sinks/third_parties/sdk/elastic/go.yaml | 13 +++++ .../sinks/third_parties/sdk/emersion/go.yaml | 13 +++++ .../sinks/third_parties/sdk/evernote/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/expo/go.yaml | 13 +++++ .../sinks/third_parties/sdk/facebook/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/github/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/gitlab/go.yaml | 12 +++++ .../third_parties/sdk/gocharting/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/google/go.yaml | 54 +++++++++++++++++++ rules/sinks/third_parties/sdk/grafana/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/harbor/go.yaml | 13 +++++ .../sinks/third_parties/sdk/hashicorp/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/hubspot/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/instana/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/knadh/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/kucoin/go.yaml | 13 +++++ .../third_parties/sdk/launchdarkly/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/line/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/liqpay/go.yaml | 13 +++++ .../third_parties/sdk/mercadolibre/go.yaml | 13 +++++ .../sinks/third_parties/sdk/microsoft/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/minio/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/nats/go.yaml | 13 +++++ .../sinks/third_parties/sdk/newrelic/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/okta/go.yaml | 13 +++++ .../sinks/third_parties/sdk/onesignal/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/openai/go.yaml | 13 +++++ .../sinks/third_parties/sdk/pagerduty/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/paypal/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/pulumi/go.yaml | 14 +++++ rules/sinks/third_parties/sdk/segment/go.yaml | 13 +++++ .../sinks/third_parties/sdk/sendgrid/go.yaml | 13 +++++ .../third_parties/sdk/sensorsdata/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/sentry/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/shopify/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/slack/go.yaml | 13 +++++ .../sinks/third_parties/sdk/squareup/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/stripe/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/taobao/go.yaml | 13 +++++ .../sinks/third_parties/sdk/temporal/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/tencent/go.yaml | 21 ++++++++ .../sinks/third_parties/sdk/transbank/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/trello/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/twitter/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/uber/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/umeng/go.yaml | 13 +++++ .../third_parties/sdk/vaultproject/go.yaml | 13 +++++ .../third_parties/sdk/virgilsecurity/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/vmware/go.yaml | 13 +++++ .../sinks/third_parties/sdk/wavefront/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/wechat/go.yaml | 13 +++++ .../sinks/third_parties/sdk/whatsapp/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/workos/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/xiaomi/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/yandex/go.yaml | 13 +++++ .../sinks/third_parties/sdk/yoomoney/go.yaml | 13 +++++ rules/sinks/third_parties/sdk/yunpian/go.yaml | 13 +++++ 78 files changed, 1055 insertions(+) create mode 100644 rules/sinks/third_parties/sdk/adyen/go.yaml create mode 100644 rules/sinks/third_parties/sdk/africastalking/go.yaml create mode 100644 rules/sinks/third_parties/sdk/aftership/go.yaml create mode 100644 rules/sinks/third_parties/sdk/alibabacloud/go.yaml create mode 100644 rules/sinks/third_parties/sdk/amazon/go.yaml create mode 100644 rules/sinks/third_parties/sdk/amplitude/go.yaml create mode 100644 rules/sinks/third_parties/sdk/atlassian/go.yaml create mode 100644 rules/sinks/third_parties/sdk/auth0/go.yaml create mode 100644 rules/sinks/third_parties/sdk/bing/go.yaml create mode 100644 rules/sinks/third_parties/sdk/braintreepayments/go.yaml create mode 100644 rules/sinks/third_parties/sdk/callr/go.yaml create mode 100644 rules/sinks/third_parties/sdk/checkout/go.yaml create mode 100644 rules/sinks/third_parties/sdk/cloudevents/go.yaml create mode 100644 rules/sinks/third_parties/sdk/consul/go.yaml create mode 100644 rules/sinks/third_parties/sdk/datadog/go.yaml create mode 100644 rules/sinks/third_parties/sdk/datadoghq/go.yaml create mode 100644 rules/sinks/third_parties/sdk/deepmap/go.yaml create mode 100644 rules/sinks/third_parties/sdk/delinea/go.yaml create mode 100644 rules/sinks/third_parties/sdk/dropbox/go.yaml create mode 100644 rules/sinks/third_parties/sdk/ebay/go.yaml create mode 100644 rules/sinks/third_parties/sdk/elastic/go.yaml create mode 100644 rules/sinks/third_parties/sdk/emersion/go.yaml create mode 100644 rules/sinks/third_parties/sdk/evernote/go.yaml create mode 100644 rules/sinks/third_parties/sdk/expo/go.yaml create mode 100644 rules/sinks/third_parties/sdk/facebook/go.yaml create mode 100644 rules/sinks/third_parties/sdk/github/go.yaml create mode 100644 rules/sinks/third_parties/sdk/gitlab/go.yaml create mode 100644 rules/sinks/third_parties/sdk/gocharting/go.yaml create mode 100644 rules/sinks/third_parties/sdk/google/go.yaml create mode 100644 rules/sinks/third_parties/sdk/grafana/go.yaml create mode 100644 rules/sinks/third_parties/sdk/harbor/go.yaml create mode 100644 rules/sinks/third_parties/sdk/hashicorp/go.yaml create mode 100644 rules/sinks/third_parties/sdk/hubspot/go.yaml create mode 100644 rules/sinks/third_parties/sdk/instana/go.yaml create mode 100644 rules/sinks/third_parties/sdk/knadh/go.yaml create mode 100644 rules/sinks/third_parties/sdk/kucoin/go.yaml create mode 100644 rules/sinks/third_parties/sdk/launchdarkly/go.yaml create mode 100644 rules/sinks/third_parties/sdk/line/go.yaml create mode 100644 rules/sinks/third_parties/sdk/liqpay/go.yaml create mode 100644 rules/sinks/third_parties/sdk/mercadolibre/go.yaml create mode 100644 rules/sinks/third_parties/sdk/microsoft/go.yaml create mode 100644 rules/sinks/third_parties/sdk/minio/go.yaml create mode 100644 rules/sinks/third_parties/sdk/nats/go.yaml create mode 100644 rules/sinks/third_parties/sdk/newrelic/go.yaml create mode 100644 rules/sinks/third_parties/sdk/okta/go.yaml create mode 100644 rules/sinks/third_parties/sdk/onesignal/go.yaml create mode 100644 rules/sinks/third_parties/sdk/openai/go.yaml create mode 100644 rules/sinks/third_parties/sdk/pagerduty/go.yaml create mode 100644 rules/sinks/third_parties/sdk/paypal/go.yaml create mode 100644 rules/sinks/third_parties/sdk/pulumi/go.yaml create mode 100644 rules/sinks/third_parties/sdk/segment/go.yaml create mode 100644 rules/sinks/third_parties/sdk/sendgrid/go.yaml create mode 100644 rules/sinks/third_parties/sdk/sensorsdata/go.yaml create mode 100644 rules/sinks/third_parties/sdk/sentry/go.yaml create mode 100644 rules/sinks/third_parties/sdk/shopify/go.yaml create mode 100644 rules/sinks/third_parties/sdk/slack/go.yaml create mode 100644 rules/sinks/third_parties/sdk/squareup/go.yaml create mode 100644 rules/sinks/third_parties/sdk/stripe/go.yaml create mode 100644 rules/sinks/third_parties/sdk/taobao/go.yaml create mode 100644 rules/sinks/third_parties/sdk/temporal/go.yaml create mode 100644 rules/sinks/third_parties/sdk/tencent/go.yaml create mode 100644 rules/sinks/third_parties/sdk/transbank/go.yaml create mode 100644 rules/sinks/third_parties/sdk/trello/go.yaml create mode 100644 rules/sinks/third_parties/sdk/twitter/go.yaml create mode 100644 rules/sinks/third_parties/sdk/uber/go.yaml create mode 100644 rules/sinks/third_parties/sdk/umeng/go.yaml create mode 100644 rules/sinks/third_parties/sdk/vaultproject/go.yaml create mode 100644 rules/sinks/third_parties/sdk/virgilsecurity/go.yaml create mode 100644 rules/sinks/third_parties/sdk/vmware/go.yaml create mode 100644 rules/sinks/third_parties/sdk/wavefront/go.yaml create mode 100644 rules/sinks/third_parties/sdk/wechat/go.yaml create mode 100644 rules/sinks/third_parties/sdk/whatsapp/go.yaml create mode 100644 rules/sinks/third_parties/sdk/workos/go.yaml create mode 100644 rules/sinks/third_parties/sdk/xiaomi/go.yaml create mode 100644 rules/sinks/third_parties/sdk/yandex/go.yaml create mode 100644 rules/sinks/third_parties/sdk/yoomoney/go.yaml create mode 100644 rules/sinks/third_parties/sdk/yunpian/go.yaml diff --git a/rules/sinks/leakages/logs/go.yaml b/rules/sinks/leakages/logs/go.yaml index 4b2b3a09..55c9ffb3 100644 --- a/rules/sinks/leakages/logs/go.yaml +++ b/rules/sinks/leakages/logs/go.yaml @@ -6,6 +6,7 @@ sinks: - "(?i)(github.com/rs/zerolog/log).*[.](Error).*(Msg)" - "(?i)(github.com/sirupsen/logrus).*[.](error)(f?)" - "(?i)(go.uber.org/zap).*[.](error)(f|ln|w)?" + - "(?i)(github.com/go-logr/zapr).*[.](error)(f|ln|w)?" - "(?i)(github.com/golang/glog).*[.](error)(depth|depthf|f|ln)?" - "(?i)(gopkg.in/inconshreveable/log15).*[.](error)" tags: @@ -16,6 +17,7 @@ sinks: - "(?i)(github.com/rs/zerolog/log).*[.](Warn).*(Msg)" - "(?i)(github.com/sirupsen/logrus).*[.](warn)(f?)" - "(?i)(go.uber.org/zap).*[.](warn)(f|ln|w)?" + - "(?i)(github.com/go-logr/zapr).*[.](warn)(f|ln|w)?" - "(?i)(github.com/golang/glog).*[.](warn)(depth|depthf|f|ln)?" - "(?i)(gopkg.in/inconshreveable/log15).*[.](warn)" tags: @@ -26,6 +28,7 @@ sinks: - "(?i)(github.com/rs/zerolog/log).*[.](Debug).*(Msg)" - "(?i)(github.com/sirupsen/logrus).*[.](debug)(f?)" - "(?i)(go.uber.org/zap).*[.](debug)(f|ln|w)?" + - "(?i)(github.com/go-logr/zapr).*[.](debug)(f|ln|w)?" - "(?i)(github.com/golang/glog).*[.](debug)(depth|depthf|f|ln)?" - "(?i)(gopkg.in/inconshreveable/log15).*[.](debug)" tags: @@ -36,6 +39,7 @@ sinks: - "(?i)(github.com/rs/zerolog/log).*[.](Info).*(Msg)" - "(?i)(github.com/sirupsen/logrus).*[.](info)(f?)" - "(?i)(go.uber.org/zap).*[.](info)(f|ln|w)?" + - "(?i)(github.com/go-logr/zapr).*[.](info)(f|ln|w)?" - "(?i)(github.com/golang/glog).*[.](info)(depth|depthf|f|ln)?" - "(?i)(gopkg.in/inconshreveable/log15).*[.](info)" tags: @@ -45,6 +49,7 @@ sinks: patterns: - "(?i)(github.com/sirupsen/logrus).*[.](fatal)(f?)" - "(?i)(go.uber.org/zap).*[.](fatal)(f|ln|w)?" + - "(?i)(github.com/go-logr/zapr).*[.](fatal)(f|ln|w)?" - "(?i)(github.com/golang/glog).*[.](fatal)(depth|depthf|f|ln)?" tags: @@ -53,6 +58,7 @@ sinks: patterns: - "(?i)(github.com/sirupsen/logrus).*[.](panic)(f?)" - "(?i)(go.uber.org/zap).*[.](panic)(f|ln|w)?" + - "(?i)(github.com/go-logr/zapr).*[.](panic)(f|ln|w)?" tags: - id: Leakages.Log.Console diff --git a/rules/sinks/third_parties/sdk/adyen/go.yaml b/rules/sinks/third_parties/sdk/adyen/go.yaml new file mode 100644 index 00000000..e91873e4 --- /dev/null +++ b/rules/sinks/third_parties/sdk/adyen/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Adyen + name: Adyen + domains: + - "adyen.com" + patterns: + - "(?i)(github.com)(/)(adyen)(/)(adyen-go-api-library).*" + tags: diff --git a/rules/sinks/third_parties/sdk/africastalking/go.yaml b/rules/sinks/third_parties/sdk/africastalking/go.yaml new file mode 100644 index 00000000..f25988d2 --- /dev/null +++ b/rules/sinks/third_parties/sdk/africastalking/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Africastalking + name: Africastalking + domains: + - "africastalking.com" + patterns: + - "(?i)(github.com)(/)(kingzbauer)(/)(africastalking-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/aftership/go.yaml b/rules/sinks/third_parties/sdk/aftership/go.yaml new file mode 100644 index 00000000..27c274ff --- /dev/null +++ b/rules/sinks/third_parties/sdk/aftership/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Aftership + name: Aftership + domains: + - "aftership.com" + patterns: + - "(?i)(github.com)(/)(jackharley7|aftership)(/)(aftership-sdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/alibabacloud/go.yaml b/rules/sinks/third_parties/sdk/alibabacloud/go.yaml new file mode 100644 index 00000000..a6da27cd --- /dev/null +++ b/rules/sinks/third_parties/sdk/alibabacloud/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Alibabacloud + name: Alibabacloud + domains: + - "alibabacloud.com" + patterns: + - "(?i)(github.com)(/)(hashicorp|aliyun|nacos-group|alibabacloud-go|cxr29|aliyunmq|tencentyun|huaweicloud|RandolphCYG|likexian)(/)(vault-plugin-auth-alicloud|vault-plugin-secrets-alicloud|alibaba-cloud-sdk-go\\/sdk\\/requests|nacos-sdk-go\\/clients|tea-oss-sdk\\/client|aliyun-oss-go-sdk|aliyun-log-go-sdk|aliyun-openapi-go-sdk|aliyun-datahub-sdk-go\\/datahub|fc-go-sdk|aliyun-mns-go-sdk|mq-http-go-sdk|vod-go-sdk|huaweicloud-sdk-go|hwc-sdk\\/services|tencentcloud-sdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/amazon/go.yaml b/rules/sinks/third_parties/sdk/amazon/go.yaml new file mode 100644 index 00000000..447da541 --- /dev/null +++ b/rules/sinks/third_parties/sdk/amazon/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Amazon.Aws + name: Amazon Aws + domains: + - "aws.amazon.com" + patterns: + - "(?i)(github.com|go.temporal.io|gitlab.bingosoft.net)(/)(aws|aws-sdk|hashicorp|minio|qor|conku|qorpress|touyu|kisrobot|m-hosoi|aavshr|unicloud-uos|pendo-io|journeymidnight|SaiVishwas|shashank-sachan|jviney|pulumi|skmcgrail|jftuga|IBM|orozery|getlantern|alice02|golang|opentracing-contrib|dtannen|gametimesf|phacops|mattaitchison|peterdeka|euank|uber|rhnvrm)(/)(aws-sdk-go|aws-lambda-go|minio-go|aws-cdk-go|smithy-go|amazon-pay-sdk-go|uos-sdk-go|pulumi-aws|sns_publish|ibm-cos-sdk-go|nifcloud-sdk-go|amazon-ecs-agent|go-firehose|go-kinesis|athenadriver|simples3).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/amplitude/go.yaml b/rules/sinks/third_parties/sdk/amplitude/go.yaml new file mode 100644 index 00000000..38ab491a --- /dev/null +++ b/rules/sinks/third_parties/sdk/amplitude/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Amplitude + name: Amplitude + domains: + - "amplitude.com" + patterns: + - "(?i)(github.com)(/)(renatoaf|gotokatsuya)(/)(amplitude-go|amplitude-sdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/atlassian/go.yaml b/rules/sinks/third_parties/sdk/atlassian/go.yaml new file mode 100644 index 00000000..0d7edca4 --- /dev/null +++ b/rules/sinks/third_parties/sdk/atlassian/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Atlassian + name: Atlassian + domains: + - "atlassian.com" + patterns: + - "(?i)(github.com/andygrunwald/go-jira).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/auth0/go.yaml b/rules/sinks/third_parties/sdk/auth0/go.yaml new file mode 100644 index 00000000..ddee025c --- /dev/null +++ b/rules/sinks/third_parties/sdk/auth0/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Auth0 + name: Auth0 + domains: + - "auth0.com" + patterns: + - "(?i)(github.com)(/)(auth0-community|pulumi|auth0-lab)(/)(go-auth0|pulumi-auth0/sdk/v2/go/auth0|fga-go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/bing/go.yaml b/rules/sinks/third_parties/sdk/bing/go.yaml new file mode 100644 index 00000000..bd86e873 --- /dev/null +++ b/rules/sinks/third_parties/sdk/bing/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Bing + name: Bing + domains: + - "bing.com" + patterns: + - "(?i)(github.com)(/)(kritzware|chigley|godofdream)(/)(bing-ads-go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/braintreepayments/go.yaml b/rules/sinks/third_parties/sdk/braintreepayments/go.yaml new file mode 100644 index 00000000..2c65f51a --- /dev/null +++ b/rules/sinks/third_parties/sdk/braintreepayments/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Braintreepayments + name: Braintreepayments + domains: + - "braintreepayments.com" + patterns: + - "(?i)(github.com)(/)(BoltApp)(/)(braintree-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/callr/go.yaml b/rules/sinks/third_parties/sdk/callr/go.yaml new file mode 100644 index 00000000..ab3d7a57 --- /dev/null +++ b/rules/sinks/third_parties/sdk/callr/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Callr + name: Callr + domains: + - "callr.com" + patterns: + - "(?i)(github.com)(/)(THECALLR)(/)(sdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/checkout/go.yaml b/rules/sinks/third_parties/sdk/checkout/go.yaml new file mode 100644 index 00000000..59e3a43c --- /dev/null +++ b/rules/sinks/third_parties/sdk/checkout/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Checkout + name: Checkout + domains: + - "checkout.com" + patterns: + - "(?i)(github.com)(/)(checkout)(/)(checkout-sdk-go/payments).*" + tags: diff --git a/rules/sinks/third_parties/sdk/cloudevents/go.yaml b/rules/sinks/third_parties/sdk/cloudevents/go.yaml new file mode 100644 index 00000000..9f53e962 --- /dev/null +++ b/rules/sinks/third_parties/sdk/cloudevents/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Cloudevents + name: Cloudevents + domains: + - "cloudevents.io" + patterns: + - "(?i)(github.com)(/)(cloudevents)(/)(sdk-go).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/consul/go.yaml b/rules/sinks/third_parties/sdk/consul/go.yaml new file mode 100644 index 00000000..cda3faae --- /dev/null +++ b/rules/sinks/third_parties/sdk/consul/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Consul + name: Consul + domains: + - "consul.io" + patterns: + - "(?i)(github.com|gopkg.in)(/)(launchdarkly|yingyingtang-brex|hashicorp)(/)(go-server-sdk.v4|go-server-sdk-consul|go-server-sdk/ldconsul|go-client/ldconsul|go-client/ldconsul|packer-plugin-sdk/template|waypoint-plugin-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/datadog/go.yaml b/rules/sinks/third_parties/sdk/datadog/go.yaml new file mode 100644 index 00000000..22d22908 --- /dev/null +++ b/rules/sinks/third_parties/sdk/datadog/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Datadog + name: Datadog + domains: + - "datadoghq.com" + patterns: + - "(?i)(github.com)(/)(DataDog)(/)(datadog-go).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/datadoghq/go.yaml b/rules/sinks/third_parties/sdk/datadoghq/go.yaml new file mode 100644 index 00000000..e489e562 --- /dev/null +++ b/rules/sinks/third_parties/sdk/datadoghq/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Datadoghq + name: Datadoghq + domains: + - "datadoghq.com" + patterns: + - "(?i)(github.com)(/)(DataDog)(/)(opencensus-go-exporter-datadog).*" + tags: diff --git a/rules/sinks/third_parties/sdk/deepmap/go.yaml b/rules/sinks/third_parties/sdk/deepmap/go.yaml new file mode 100644 index 00000000..cb8e6f68 --- /dev/null +++ b/rules/sinks/third_parties/sdk/deepmap/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Deepmap + name: Deepmap + domains: + - "deepmap.com" + patterns: + - "(?i)(github.com)(/)(deepmap)(/)(oapi-codegen).*" + tags: diff --git a/rules/sinks/third_parties/sdk/delinea/go.yaml b/rules/sinks/third_parties/sdk/delinea/go.yaml new file mode 100644 index 00000000..c29c7c93 --- /dev/null +++ b/rules/sinks/third_parties/sdk/delinea/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Delinea + name: Delinea + domains: + - "delinea.com/centrify" + patterns: + - "(?i)(github.com)(/)(centrify)(/)(cloud-golang-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/dropbox/go.yaml b/rules/sinks/third_parties/sdk/dropbox/go.yaml new file mode 100644 index 00000000..0a40fb6b --- /dev/null +++ b/rules/sinks/third_parties/sdk/dropbox/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Dropbox + name: Dropbox + domains: + - "dropbox.com" + patterns: + - "(?i)(github.com)(/)(dropbox|toanqng|henrikcozza|skynet-core|neevaco|herval|ncw|milanaleksic|gwatts|hushed|ga-con|intello-io)(/)(dropbox-sdk-go-unofficial|dropbox-go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/ebay/go.yaml b/rules/sinks/third_parties/sdk/ebay/go.yaml new file mode 100644 index 00000000..1bd66af0 --- /dev/null +++ b/rules/sinks/third_parties/sdk/ebay/go.yaml @@ -0,0 +1,12 @@ +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Ebay + name: Ebay + domains: + - "ebay.com" + patterns: + - "(?i)(github.com)(/)(feelinc)(/)(go_ebay_sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/elastic/go.yaml b/rules/sinks/third_parties/sdk/elastic/go.yaml new file mode 100644 index 00000000..d3d614ec --- /dev/null +++ b/rules/sinks/third_parties/sdk/elastic/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Elastic + name: Elastic + domains: + - "elastic.co" + patterns: + - "(?i)(go.elastic.co|gopkg.in)(/)(apm|olivere/elastic|go-elasticsearch).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/emersion/go.yaml b/rules/sinks/third_parties/sdk/emersion/go.yaml new file mode 100644 index 00000000..6bd48a56 --- /dev/null +++ b/rules/sinks/third_parties/sdk/emersion/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Emersion + name: Emersion + domains: + - "emersion.io" + patterns: + - "(?i)(github.com/emersion/)(go-sasl|smtp).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/evernote/go.yaml b/rules/sinks/third_parties/sdk/evernote/go.yaml new file mode 100644 index 00000000..3cc3e4ed --- /dev/null +++ b/rules/sinks/third_parties/sdk/evernote/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Evernote + name: Evernote + domains: + - "evernote.com" + patterns: + - "(?i)(github.com)(/)(TcM1911|dreampuf|quekshuy|aliabdullahcp|double1996|shinofara|tcm1911)(/)(evernote-sdk-golang|evernote-golang-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/expo/go.yaml b/rules/sinks/third_parties/sdk/expo/go.yaml new file mode 100644 index 00000000..ac673ece --- /dev/null +++ b/rules/sinks/third_parties/sdk/expo/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Expo.Docs + name: Expo Docs + domains: + - "docs.expo.dev" + patterns: + - "(?i)(github.com)(/)(adierkens|Terminux)(/)(expo-server-sdk-go|exponent-server-sdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/facebook/go.yaml b/rules/sinks/third_parties/sdk/facebook/go.yaml new file mode 100644 index 00000000..5f1ac30d --- /dev/null +++ b/rules/sinks/third_parties/sdk/facebook/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Facebook + name: Facebook + domains: + - "facebook.com" + patterns: + - "(?i)(github.com)(/)(madebyais|muhfaris|bnjjj)(/)(facebook-go-sdk|gomessenger).*" + tags: diff --git a/rules/sinks/third_parties/sdk/github/go.yaml b/rules/sinks/third_parties/sdk/github/go.yaml new file mode 100644 index 00000000..b3e4fac0 --- /dev/null +++ b/rules/sinks/third_parties/sdk/github/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Github + name: Github + domains: + - "github.com" + patterns: + - "(?i)(github.com)(/)(gogs)(/)(git-module).*" + tags: diff --git a/rules/sinks/third_parties/sdk/gitlab/go.yaml b/rules/sinks/third_parties/sdk/gitlab/go.yaml new file mode 100644 index 00000000..54e9de27 --- /dev/null +++ b/rules/sinks/third_parties/sdk/gitlab/go.yaml @@ -0,0 +1,12 @@ +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Gitlab + name: Gitlab + domains: + - "gitlab.com" + patterns: + - "(?i)(github.com)(/)(xanzy)(/)(go-gitlab).*" + tags: diff --git a/rules/sinks/third_parties/sdk/gocharting/go.yaml b/rules/sinks/third_parties/sdk/gocharting/go.yaml new file mode 100644 index 00000000..4c85c6c8 --- /dev/null +++ b/rules/sinks/third_parties/sdk/gocharting/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Gocharting + name: Gocharting + domains: + - "gocharting.com" + patterns: + - "(?i)(github.com)(/)(wcharczuk)(/)(go-chart).*" + tags: diff --git a/rules/sinks/third_parties/sdk/google/go.yaml b/rules/sinks/third_parties/sdk/google/go.yaml new file mode 100644 index 00000000..8d4c830b --- /dev/null +++ b/rules/sinks/third_parties/sdk/google/go.yaml @@ -0,0 +1,54 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Google.Cloud + name: Google Cloud + domains: + - "cloud.google.com" + patterns: + - "(?i)(github.com|cloud.google.com)(/)(GoogleCloudPlatform|googleapis|fsouza|gogo|go|graymeta)(/)(k8s-cloud-provider|enterprise-certificate-proxy|fake-gcs-server|googleapis|cloudtasks|language|automl|video|securitycenter|videointelligence|dataproc|monitoring|secretmanager|storagetransfer|texttospeech|gaming|opentelemetry-operations-go|asset|functions-framework-go|servicedirectory|speech|container|kms|dlp|grafeas|functions|/pubsublite|compute|talent|stow).*" + tags: + + - id: ThirdParties.SDK.Google.Github + name: Google Github + domains: + - "github.google.com" + patterns: + - "(?i)(github.com)(/)(google)(/)(go-github).*" + tags: + + - id: ThirdParties.SDK.Google.Map + name: Google Map + domains: + - "map.google.com" + patterns: + - "(?i)(googlemaps.github.io/maps).*" + tags: + + - id: ThirdParties.SDK.Google.Firebase + name: Google Firebase + domains: + - "firebase.google.com" + patterns: + - "(?i)(github.com)(/)(firebase.google.com|acoshift)(/)(go).*" + tags: + + - id: ThirdParties.SDK.Google.Cloud.GRPC + name: Google Cloud GRPC + domains: + - "cloud.google.com/endpoints/docs/grpc" + patterns: + - "(?i)(github.com)(/)(GoogleCloudPlatform)(/)(golang-samples/run/grpc-ping).*" + tags: + + - id: ThirdParties.SDK.Google.Cloud.Firestore + name: Google Cloud Firestore + domains: + - "firebase.google.com" + patterns: + - "(?i)(github.com)(/)(GoogleCloudPlatform)(/)(firestore-gorilla-sessions).*" + tags: + diff --git a/rules/sinks/third_parties/sdk/grafana/go.yaml b/rules/sinks/third_parties/sdk/grafana/go.yaml new file mode 100644 index 00000000..dbe54683 --- /dev/null +++ b/rules/sinks/third_parties/sdk/grafana/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.grafana + name: Grafana + domains: + - "grafana.com" + patterns: + - "(?i)(github.com/grafana-tools/sdk).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/harbor/go.yaml b/rules/sinks/third_parties/sdk/harbor/go.yaml new file mode 100644 index 00000000..2d345e55 --- /dev/null +++ b/rules/sinks/third_parties/sdk/harbor/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Harbor + name: Harbor + domains: + - "goharbor.io" + patterns: + - "(?i)(github.com)(/)(goharbor)(/)(go-client).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/hashicorp/go.yaml b/rules/sinks/third_parties/sdk/hashicorp/go.yaml new file mode 100644 index 00000000..b2da0ac4 --- /dev/null +++ b/rules/sinks/third_parties/sdk/hashicorp/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Hashicorp.consul + name: Hashicorp Consul + domains: + - "consul.io" + patterns: + - "(?i)(github.com)(/)(hashicorp)(/)(consul|terraform-plugin-sdk).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/hubspot/go.yaml b/rules/sinks/third_parties/sdk/hubspot/go.yaml new file mode 100644 index 00000000..2b9efa97 --- /dev/null +++ b/rules/sinks/third_parties/sdk/hubspot/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Hubspot + name: Hubspot + domains: + - "hubspot.com" + patterns: + - "(?i)(github.com)(/)(getwagz)(/)(hubspot-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/instana/go.yaml b/rules/sinks/third_parties/sdk/instana/go.yaml new file mode 100644 index 00000000..2c590245 --- /dev/null +++ b/rules/sinks/third_parties/sdk/instana/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Instana + name: Instana + domains: + - "instana.com" + patterns: + - "(?i)(github.com)(/)(instana)(/)(go-sensor).*" + tags: diff --git a/rules/sinks/third_parties/sdk/knadh/go.yaml b/rules/sinks/third_parties/sdk/knadh/go.yaml new file mode 100644 index 00000000..c8b864b0 --- /dev/null +++ b/rules/sinks/third_parties/sdk/knadh/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.knadh + name: knadh + domains: + - "knadh.com" + patterns: + - "(?i)(github.com)(/)(knadh)(/)(koanf).*" + tags: diff --git a/rules/sinks/third_parties/sdk/kucoin/go.yaml b/rules/sinks/third_parties/sdk/kucoin/go.yaml new file mode 100644 index 00000000..c62ed517 --- /dev/null +++ b/rules/sinks/third_parties/sdk/kucoin/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Kucoin + name: Kucoin + domains: + - "kucoin.com" + patterns: + - "(?i)(github.com)(/)(Kucoin|aharenaz|newgoo|reid-garner|orrelln|blackbittech)(/)(kucoin-go-sdk|kumex-go-sdk|kucoin-futures-go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/launchdarkly/go.yaml b/rules/sinks/third_parties/sdk/launchdarkly/go.yaml new file mode 100644 index 00000000..b66e4bd9 --- /dev/null +++ b/rules/sinks/third_parties/sdk/launchdarkly/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Launchdarkly + name: Launchdarkly + domains: + - "launchdarkly.com" + patterns: + - "(?i)(github.com)(/)(launchdarkly)(/)(eventsource|go-sdk-common|go-server-sdk|go-server-sdk-evaluation|go-server-sdk-redis-redigo).*" + tags: diff --git a/rules/sinks/third_parties/sdk/line/go.yaml b/rules/sinks/third_parties/sdk/line/go.yaml new file mode 100644 index 00000000..92ca78e5 --- /dev/null +++ b/rules/sinks/third_parties/sdk/line/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Line + name: Line + domains: + - "line.me" + patterns: + - "(?i)(github.com)(/)(gotokatsuya|chy168)(/)(line-pay-sdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/liqpay/go.yaml b/rules/sinks/third_parties/sdk/liqpay/go.yaml new file mode 100644 index 00000000..0a3edabf --- /dev/null +++ b/rules/sinks/third_parties/sdk/liqpay/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Liqpay + name: Liqpay + domains: + - "liqpay.ua" + patterns: + - "(?i)(github.com)(/)(liqpay)(/)(go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/mercadolibre/go.yaml b/rules/sinks/third_parties/sdk/mercadolibre/go.yaml new file mode 100644 index 00000000..3d82e922 --- /dev/null +++ b/rules/sinks/third_parties/sdk/mercadolibre/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Mercadolibre + name: Mercadolibre + domains: + - "mercadolibre.com" + patterns: + - "(?i)(github.com)(/)(tiaguinho|mercadolibre)(/)(mercadolibre-go-sdk|golang-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/microsoft/go.yaml b/rules/sinks/third_parties/sdk/microsoft/go.yaml new file mode 100644 index 00000000..d106dea9 --- /dev/null +++ b/rules/sinks/third_parties/sdk/microsoft/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Microsoft + name: Microsoft + domains: + - "azure.microsoft.com" + patterns: + - "(?i)(github.com)(/)(Azure|AzureAD|microsoft|MSOpenTech|kris-nova|kubicorn|pulumi|vmware|SsrCoder|pmalek-sumo|wiz-sec|jackesdavid|msopentech|discentem|dennis-menge|veertuinc|beyondnetworks|peterzeller|dbaur|larstore|johnstairs|tadelesh|hashicorp|tombuildsstuff)(/)(azure-pipeline-go|azure-sdk-for-go|kiota/abstractions/go|kubicorn/cloud/azure|pulumi-azure/sdk|vra-sdk-go/pkg/client/fabric_azure_storage_account|onedrive-sdk-golang|go-autorest|go-ntlmssp|vault-plugin-auth-azure|go-azure-helpers|giovanni|azure-devops-go-api|azure-service-bus-go|go-amqp|azure-amqp-common-go|microsoft-authentication-library-for-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/minio/go.yaml b/rules/sinks/third_parties/sdk/minio/go.yaml new file mode 100644 index 00000000..5c392647 --- /dev/null +++ b/rules/sinks/third_parties/sdk/minio/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Min + name: Min + domains: + - "min.io" + patterns: + - "(?i)(github.com)(/)(minio)(/)(mc).*" + tags: diff --git a/rules/sinks/third_parties/sdk/nats/go.yaml b/rules/sinks/third_parties/sdk/nats/go.yaml new file mode 100644 index 00000000..a3ccc8df --- /dev/null +++ b/rules/sinks/third_parties/sdk/nats/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Nats + name: Nats + domains: + - "nats.io" + patterns: + - "(?i)(github.com)(/)(nats-io)(/)(nats.go).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/newrelic/go.yaml b/rules/sinks/third_parties/sdk/newrelic/go.yaml new file mode 100644 index 00000000..d854f161 --- /dev/null +++ b/rules/sinks/third_parties/sdk/newrelic/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Newrelic + name: Newrelic + domains: + - "newrelic.com" + patterns: + - "(?i)(github.com)(/)(newrelic)(/)(go-agent).*" + tags: diff --git a/rules/sinks/third_parties/sdk/okta/go.yaml b/rules/sinks/third_parties/sdk/okta/go.yaml new file mode 100644 index 00000000..599035db --- /dev/null +++ b/rules/sinks/third_parties/sdk/okta/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Okta + name: Okta + domains: + - "okta.com" + patterns: + - "(?i)(github.com)(/)(chrismalek)(/)(oktasdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/onesignal/go.yaml b/rules/sinks/third_parties/sdk/onesignal/go.yaml new file mode 100644 index 00000000..c6254670 --- /dev/null +++ b/rules/sinks/third_parties/sdk/onesignal/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Onesignal + name: Onesignal + domains: + - "onesignal.com" + patterns: + - "(?i)(github.com)(/)(peelz|KodepandaID)(/)(onesignal-go-sdk|go-onesignal-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/openai/go.yaml b/rules/sinks/third_parties/sdk/openai/go.yaml new file mode 100644 index 00000000..fa74135d --- /dev/null +++ b/rules/sinks/third_parties/sdk/openai/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.OpenAI + name: OpenAI + domains: + - "openai.com" + patterns: + - "(?i)(https://github.com/sashabaranov/go-openai).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/pagerduty/go.yaml b/rules/sinks/third_parties/sdk/pagerduty/go.yaml new file mode 100644 index 00000000..3b12ab58 --- /dev/null +++ b/rules/sinks/third_parties/sdk/pagerduty/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Pagerduty + name: Pagerduty + domains: + - "pagerduty.com" + patterns: + - "(?i)(github.com/PagerDuty/go-pagerduty).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/paypal/go.yaml b/rules/sinks/third_parties/sdk/paypal/go.yaml new file mode 100644 index 00000000..8a22c050 --- /dev/null +++ b/rules/sinks/third_parties/sdk/paypal/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Paypal + name: Paypal + domains: + - "paypal.com" + patterns: + - "(?i)(github.com)(/)(logpacker)(/)(PayPal-Go-SDK).*" + tags: diff --git a/rules/sinks/third_parties/sdk/pulumi/go.yaml b/rules/sinks/third_parties/sdk/pulumi/go.yaml new file mode 100644 index 00000000..8f49162d --- /dev/null +++ b/rules/sinks/third_parties/sdk/pulumi/go.yaml @@ -0,0 +1,14 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Pulumi + name: Pulumi + domains: + - "pulumi.com" + patterns: + - "(?i)(github.com)(/)(pulumi)(/)(pulumi/sdk).*" + tags: + diff --git a/rules/sinks/third_parties/sdk/segment/go.yaml b/rules/sinks/third_parties/sdk/segment/go.yaml new file mode 100644 index 00000000..ed166792 --- /dev/null +++ b/rules/sinks/third_parties/sdk/segment/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Segment + name: Segment + domains: + - "segment.com" + patterns: + - "(?i)(github.com)(/)(segmentio)(/)(asm).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/sendgrid/go.yaml b/rules/sinks/third_parties/sdk/sendgrid/go.yaml new file mode 100644 index 00000000..5ad2286a --- /dev/null +++ b/rules/sinks/third_parties/sdk/sendgrid/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Sendgrid + name: Sendgrid + domains: + - "sendgrid.com" + patterns: + - "(?i)(gopkg.in|github.com)(/)(sendgrid)(/)(sendgrid-go|smtpapi-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/sensorsdata/go.yaml b/rules/sinks/third_parties/sdk/sensorsdata/go.yaml new file mode 100644 index 00000000..c5014ca9 --- /dev/null +++ b/rules/sinks/third_parties/sdk/sensorsdata/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Sensorsdata + name: Sensorsdata + domains: + - "sensorsdata.cn" + patterns: + - "(?i)(github.com)(/)(sensorsdata)(/)(sa-sdk-go/structs|abtesting-sdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/sentry/go.yaml b/rules/sinks/third_parties/sdk/sentry/go.yaml new file mode 100644 index 00000000..f124210d --- /dev/null +++ b/rules/sinks/third_parties/sdk/sentry/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Sentry + name: Sentry + domains: + - "sentry.io" + patterns: + - "(?i)(github.com)(/)(getsentry|harmony-development|blend)(/)(sentry-go|go-sdk/sentry).*" + tags: diff --git a/rules/sinks/third_parties/sdk/shopify/go.yaml b/rules/sinks/third_parties/sdk/shopify/go.yaml new file mode 100644 index 00000000..4ca412a1 --- /dev/null +++ b/rules/sinks/third_parties/sdk/shopify/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Shopify + name: Shopify + domains: + - "shopify.com" + patterns: + - "(?i)(github.com)(/)(cloudevents)(/)(sdk-go).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/slack/go.yaml b/rules/sinks/third_parties/sdk/slack/go.yaml new file mode 100644 index 00000000..2046afa9 --- /dev/null +++ b/rules/sinks/third_parties/sdk/slack/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Slack + name: Slack + domains: + - "slack.com" + patterns: + - "(?i)(github.com)(/)(blend|totvs|gogurgaon|seratch|ericogr|lacework|totvs)(/)(go-sdk/slack|pulumi-slack/sdk|joinslack/api|go-slack-sdk-experimental|pulumi-resource-slack/sdk/go|pulumi-slack/sdk/go|go-sdk/api|pulumi-slack-remover).*" + tags: diff --git a/rules/sinks/third_parties/sdk/squareup/go.yaml b/rules/sinks/third_parties/sdk/squareup/go.yaml new file mode 100644 index 00000000..12acc44b --- /dev/null +++ b/rules/sinks/third_parties/sdk/squareup/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Squareup + name: Squareup + domains: + - "squareup.com" + patterns: + - "(?i)(github.com)(/)(square)(/)(square-connect-go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/stripe/go.yaml b/rules/sinks/third_parties/sdk/stripe/go.yaml new file mode 100644 index 00000000..ce2b5ac4 --- /dev/null +++ b/rules/sinks/third_parties/sdk/stripe/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Stripe + name: Stripe + domains: + - "stripe.com" + patterns: + - "(?i)(github.com)(/)(stripe)(/)(stripe-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/taobao/go.yaml b/rules/sinks/third_parties/sdk/taobao/go.yaml new file mode 100644 index 00000000..41ef131d --- /dev/null +++ b/rules/sinks/third_parties/sdk/taobao/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Taobao + name: Taobao + domains: + - "taobao.com" + patterns: + - "(?i)(github.com)(/)(changkong|yaofangou|beJuvenile)(/)(open_taobao|go-sdk-taobao).*" + tags: diff --git a/rules/sinks/third_parties/sdk/temporal/go.yaml b/rules/sinks/third_parties/sdk/temporal/go.yaml new file mode 100644 index 00000000..3870d519 --- /dev/null +++ b/rules/sinks/third_parties/sdk/temporal/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Temporal + name: Temporal + domains: + - "temporal.io" + patterns: + - "(?i)(github.com)(/)(spiral|cretz)(/)(go-sdk/temporal|temporal-sdk-go-advanced).*" + tags: diff --git a/rules/sinks/third_parties/sdk/tencent/go.yaml b/rules/sinks/third_parties/sdk/tencent/go.yaml new file mode 100644 index 00000000..b84a0c82 --- /dev/null +++ b/rules/sinks/third_parties/sdk/tencent/go.yaml @@ -0,0 +1,21 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Tencent + name: Tencent + domains: + - "tencent.com" + patterns: + - "(?i)(github.com)(/)(tencentcloud)(/)(tencentcloud-sdk-go).*" + tags: + + - id: ThirdParties.SDK.Tencent.Cloud + name: Tencent Cloud + domains: + - "intl.cloud.tencent.com" + patterns: + - "(?i)(github.com)(/)(tencentyun|tencentad|dreamCodeMan|bulletRush|lily-lee|SiCo-Ops|MangoMilk|dreamcodeman|teamlint|cosmos|mozillazg|lewzylu|huanght1997|likexian|yiGmMk|liuyongqing|Garyluoluoluo)(/)(qcloud-cos-sts-sdk/go|qcloud-sdk|qcloud-cos-go-sdk|cloud-go-sdk/qcloud|go-sdk/qcloud|qcloud-sms|cosmos-sdk|cos-go-sdk-v5|go-cos|marketing-api-go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/transbank/go.yaml b/rules/sinks/third_parties/sdk/transbank/go.yaml new file mode 100644 index 00000000..525cbed7 --- /dev/null +++ b/rules/sinks/third_parties/sdk/transbank/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Transbank + name: Transbank + domains: + - "transbank.mn" + patterns: + - "(?i)(github.com)(/)(v1nland|microapis)(/)(transbank-sdk-golang).*" + tags: diff --git a/rules/sinks/third_parties/sdk/trello/go.yaml b/rules/sinks/third_parties/sdk/trello/go.yaml new file mode 100644 index 00000000..f3be2dd4 --- /dev/null +++ b/rules/sinks/third_parties/sdk/trello/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Hashicorp.Trello + name: Trello + domains: + - "trello.com" + patterns: + - "(?i)(github.com)(/)(adlio)(/)(trello).*" + tags: diff --git a/rules/sinks/third_parties/sdk/twitter/go.yaml b/rules/sinks/third_parties/sdk/twitter/go.yaml new file mode 100644 index 00000000..4d8316b5 --- /dev/null +++ b/rules/sinks/third_parties/sdk/twitter/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Twitter + name: Twitter + domains: + - "twitter.com" + patterns: + - "(?i)(github.com)(/)(contextgg)(/)(go-sdk\\/autha/providers/twitter).*" + tags: diff --git a/rules/sinks/third_parties/sdk/uber/go.yaml b/rules/sinks/third_parties/sdk/uber/go.yaml new file mode 100644 index 00000000..12048858 --- /dev/null +++ b/rules/sinks/third_parties/sdk/uber/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Uber + name: Uber + domains: + - "uber.com" + patterns: + - "(?i)(github.com|go.uber.org)(/)(uber-go/tally|goleak).*" + tags: diff --git a/rules/sinks/third_parties/sdk/umeng/go.yaml b/rules/sinks/third_parties/sdk/umeng/go.yaml new file mode 100644 index 00000000..7c957774 --- /dev/null +++ b/rules/sinks/third_parties/sdk/umeng/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Umeng + name: Umeng + domains: + - "umeng.com" + patterns: + - "(?i)(github.com)(/)(shfc|kkkbird|huangfuhui|uhhc)(/)(umeng-openapi-sdk|umeng-push).*" + tags: diff --git a/rules/sinks/third_parties/sdk/vaultproject/go.yaml b/rules/sinks/third_parties/sdk/vaultproject/go.yaml new file mode 100644 index 00000000..121ee5f8 --- /dev/null +++ b/rules/sinks/third_parties/sdk/vaultproject/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Hashicorp.vault + name: Hashicorp Vault + domains: + - "vaultproject.io" + patterns: + - "(?i)(github.com)(/)(hashicorp)(/)(vault-plugin-auth-kerberos|vault-plugin-auth-kubernetes|vault-plugin-auth-oci|vault-plugin-secrets-ad|vault-plugin-secrets-kv|vault-plugin-secrets-openldap|vault-plugin-secrets-terraform).*" + tags: diff --git a/rules/sinks/third_parties/sdk/virgilsecurity/go.yaml b/rules/sinks/third_parties/sdk/virgilsecurity/go.yaml new file mode 100644 index 00000000..4e933ba4 --- /dev/null +++ b/rules/sinks/third_parties/sdk/virgilsecurity/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Virgilsecurity + name: Virgilsecurity + domains: + - "virgilsecurity.com" + patterns: + - "(?i)(github.com|gopkg.in)(/)(VirgilSecurity|tochka)(/)(virgil-sdk-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/vmware/go.yaml b/rules/sinks/third_parties/sdk/vmware/go.yaml new file mode 100644 index 00000000..3631259e --- /dev/null +++ b/rules/sinks/third_parties/sdk/vmware/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Vmware + name: Vmware + domains: + - "vmware.com" + patterns: + - "(?i)(github.com)(/)(vmware|clumio-code|laidbackware)(/)(vsphere-automation-sdk-go|alb-sdk|photon-controller-go-sdk|vra-sdk-go/pkg/client|clumio-go-sdk/controllers|vmware-download-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/wavefront/go.yaml b/rules/sinks/third_parties/sdk/wavefront/go.yaml new file mode 100644 index 00000000..d3dd4c79 --- /dev/null +++ b/rules/sinks/third_parties/sdk/wavefront/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Wavefront + name: Wavefront + domains: + - "wavefront.com" + patterns: + - "(?i)(https://github.com/wavefronthq/wavefront-sdk-go).*" + tags: \ No newline at end of file diff --git a/rules/sinks/third_parties/sdk/wechat/go.yaml b/rules/sinks/third_parties/sdk/wechat/go.yaml new file mode 100644 index 00000000..3a8cc95e --- /dev/null +++ b/rules/sinks/third_parties/sdk/wechat/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Wechat + name: Wechat + domains: + - "wechat.com" + patterns: + - "(?i)(github.com)(/)(chanxuehong|chanxuehong|XieXianbin|esap|rixingyike|zhi-miao)(/)(wechat|wechat-sdk/pay).*" + tags: diff --git a/rules/sinks/third_parties/sdk/whatsapp/go.yaml b/rules/sinks/third_parties/sdk/whatsapp/go.yaml new file mode 100644 index 00000000..b8d50317 --- /dev/null +++ b/rules/sinks/third_parties/sdk/whatsapp/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Whatsapp + name: Whatsapp + domains: + - "whatsapp.com" + patterns: + - "(?i)(github.com)(/)(Rhymen)(/)(go-whatsapp).*" + tags: diff --git a/rules/sinks/third_parties/sdk/workos/go.yaml b/rules/sinks/third_parties/sdk/workos/go.yaml new file mode 100644 index 00000000..8c05dc0d --- /dev/null +++ b/rules/sinks/third_parties/sdk/workos/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Workos + name: Workos + domains: + - "workos.com" + patterns: + - "(?i)(github.com)(/)(workos)(/)(workos-go).*" + tags: diff --git a/rules/sinks/third_parties/sdk/xiaomi/go.yaml b/rules/sinks/third_parties/sdk/xiaomi/go.yaml new file mode 100644 index 00000000..0584c367 --- /dev/null +++ b/rules/sinks/third_parties/sdk/xiaomi/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Xiaomi + name: Xiaomi + domains: + - "xiaomi.com" + patterns: + - "(?i)(github.com)(/)(XiaoMi|cristiane|rxwen|curltech|ling-bin)(/)(galaxy-sdk-go|go-push-sdk|xiaomi-go-sdk-push|galaxy-fds-sdk-golang).*" + tags: diff --git a/rules/sinks/third_parties/sdk/yandex/go.yaml b/rules/sinks/third_parties/sdk/yandex/go.yaml new file mode 100644 index 00000000..8cb8c0ba --- /dev/null +++ b/rules/sinks/third_parties/sdk/yandex/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Yandex + name: Yandex + domains: + - "yandex.com" + patterns: + - "(?i)(github.com)(/)(yandex-cloud)(/)(go-sdk|ydb-go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/yoomoney/go.yaml b/rules/sinks/third_parties/sdk/yoomoney/go.yaml new file mode 100644 index 00000000..a561b0c6 --- /dev/null +++ b/rules/sinks/third_parties/sdk/yoomoney/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Yoomoney + name: Yoomoney + domains: + - "yoomoney.ru" + patterns: + - "(?i)(github.com)(/)(telf01)(/)(yookassa-go-sdk).*" + tags: diff --git a/rules/sinks/third_parties/sdk/yunpian/go.yaml b/rules/sinks/third_parties/sdk/yunpian/go.yaml new file mode 100644 index 00000000..575b834f --- /dev/null +++ b/rules/sinks/third_parties/sdk/yunpian/go.yaml @@ -0,0 +1,13 @@ + +# Sink rule for ThirdParty SDK +# The id follows a format : "ThirdParties.SDK.." + +sinks: + + - id: ThirdParties.SDK.Yunpian + name: Yunpian + domains: + - "yunpian.com" + patterns: + - "(?i)(github.com)(/)(yunpian|FeiniuBus|fixJ|venuses|feiniubus)(/)(yunpian-go-sdk).*" + tags: