diff --git a/proto/source_metadata.proto b/proto/source_metadata.proto index a29739567..6984ad365 100644 --- a/proto/source_metadata.proto +++ b/proto/source_metadata.proto @@ -331,6 +331,18 @@ message Elasticsearch { string timestamp = 3; } +message Sentry { + string event_id = 1; + string organization_id = 2; + string organization_slug = 3; + string organization_date_created = 4; + string project_id = 5; + string project_slug = 6; + string issue_id = 7; + string date_created = 8; + string link = 9; +} + message MetaData { oneof data { Azure azure = 1; @@ -365,5 +377,6 @@ message MetaData { Webhook webhook = 30; Elasticsearch elasticsearch = 31; Huggingface huggingface = 32; + Sentry sentry = 33; } } diff --git a/proto/sources.proto b/proto/sources.proto index aaee4e0bf..31973d354 100644 --- a/proto/sources.proto +++ b/proto/sources.proto @@ -50,6 +50,7 @@ enum SourceType { SOURCE_TYPE_ELASTICSEARCH = 35; SOURCE_TYPE_HUGGINGFACE = 36; SOURCE_TYPE_GITHUB_EXPERIMENTAL = 37; + SOURCE_TYPE_SENTRY = 38; } message LocalSource { @@ -458,3 +459,14 @@ message Elasticsearch { string since_timestamp = 9; bool best_effort_scan = 10; } + +message Sentry { + string endpoint = 1; + oneof credential { + string auth_token = 2; + string dsn_key = 3; + string api_key = 4; + } + bool insecure_skip_verify_tls = 5; + string projects = 6; +}