fix EOL in secret suffix (#847)

* fix EOL in secret suffix

* allow quoted key value syntax
This commit is contained in:
Zachary Rice authored and GitHub committed 2022-04-20 17:55:07 -05:00
1 parent 79638b080c
commit a42b32bdf1
3 files changed
+59 -56

No files matched your search

+3
View File
@@ -37,6 +37,9 @@ func GenericCredential() *config.Rule {
tps := []string{
generateSampleSecret("generic", "CLOJARS_34bf0e88955ff5a1c328d6a7491acc4f48e865a7b8dd4d70a70749037443"),
generateSampleSecret("generic", "Zf3D0LXCM3EIMbgJpUNnkRtOfOueHznB"),
`"client_id" : "0afae57f3ccfd9d7f5767067bc48b30f719e271ba470488056e37ab35d4b6506"`,
`"client_secret" : "6da89121079f83b2eb6acccf8219ea982c3d79bccc3e9c6a85856480661f8fde",`,
// TODO add more
}
return validate(r, tps)
}