Files
trufflehog/proto/custom_detectors.proto
0f427b3c6a
Lint / golangci-lint (push) Waiting to run
Lint / semgrep (push) Waiting to run
Release / Release (push) Waiting to run
Scan for secrets / test (push) Waiting to run
Snifftest / Run Snifftest (push) Waiting to run
Test / test (push) Waiting to run
Test / test-community (push) Waiting to run
Adding Descriptions (#3258)
* adding AI generated descriptions of the key types and their capabilities

* removing empty file

* Update abbysale.go

* update to interface

* fixes

* fix

* small cleanup

---------

Co-authored-by: Dylan Ayrey <[email protected]>
Co-authored-by: Dustin Decker <[email protected]>
2024-09-24 16:10:16 -07:00

27 lines
591 B
Protocol Buffer

syntax = "proto3";
package custom_detectors;
option go_package = "github.com/trufflesecurity/trufflehog/v3/pkg/pb/custom_detectorspb";
import "validate/validate.proto";
message CustomDetectors {
repeated CustomRegex detectors = 1;
}
message CustomRegex {
string name = 1;
repeated string keywords = 2;
map<string, string> regex = 3;
repeated VerifierConfig verify = 4;
string description = 5;
}
message VerifierConfig {
string endpoint = 1 [(validate.rules).string.uri_ref = true];
bool unsafe = 2;
repeated string headers = 3;
repeated string successRanges = 4;
}