schema_version = 1
detector_id = "betterstack-source-token"
service = "betterstack"
severity = "medium"
[[positive]]
text = "betterstack_source_token=Kp4Qx7Rm2Sn5Tb8Vw3YzKp4Qx7Rm2Sn5"
credential = "Kp4Qx7Rm2Sn5Tb8Vw3YzKp4Qx7Rm2Sn5"
reason = "Better Stack source token env-var (32 alnum)."
[[positive]]
text = "LOGTAIL_SOURCE_TOKEN=Vk9Bn3Lp7Qm2Rs5Tw8Vk9Bn3Lp7Qm2Rs5"
credential = "Vk9Bn3Lp7Qm2Rs5Tw8Vk9Bn3Lp7Qm2Rs5"
reason = "Logtail source token form."
[[negative]]
text = "logtail_token=short"
reason = "Body below 32 alnum chars."
[[evasion]]
text = "logtail.token: 'Kp4Qx7Rm2Sn5Tb8Vw3YzKp4Qx7Rm2Sn5'"
credential = "Kp4Qx7Rm2Sn5Tb8Vw3YzKp4Qx7Rm2Sn5"
reason = "Dot-separated logtail.token form."
[perf]
fixture_bytes = 4096
max_microseconds = 25000
note = "Standard single-file budget."
[scale]
fixture_bytes = 1048576
min_findings = 1
max_seconds = 2.0
note = "1 MiB filler + planted Better Stack token."
readme_claim = "900 service-specific detectors"