mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
Add Sentry protobufs (#3263)
* Add Sentry protobufs * Use more descriptive field name for an event's ID in protobufs
This commit is contained in:
parent
db0108f731
commit
02c508da11
2 changed files with 25 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue