forked from mirrors/kingfisher
performance improvements and rule improvements
This commit is contained in:
parent
79139e49b8
commit
b213e706c1
1 changed files with 6 additions and 11 deletions
|
|
@ -2,15 +2,10 @@ rules:
|
|||
- name: WorkOS API Key
|
||||
id: kingfisher.workos.1
|
||||
pattern: |
|
||||
(?xi)
|
||||
\b
|
||||
workos
|
||||
(?:.|[\n\r]){0,32}?
|
||||
(?:SECRET|PRIVATE|API|KEY|TOKEN)
|
||||
(?:.|[\n\r]){0,16}?
|
||||
(?x)
|
||||
\b
|
||||
(
|
||||
sk_[A-Za-z0-9_-]{16,64}
|
||||
sk_(?:live|test)_a2V5Xz[A-Za-z0-9+/]{69}
|
||||
)
|
||||
\b
|
||||
pattern_requirements:
|
||||
|
|
@ -21,11 +16,11 @@ rules:
|
|||
min_entropy: 3.5
|
||||
confidence: medium
|
||||
examples:
|
||||
- 'WORKOS_API_KEY="sk_live_Qj7mN4vK8sL2xP6zT9aBcD3eF5gH1jK2"'
|
||||
- 'workos apiKey: "sk_test_P7rT2mK9vL4qN8sX6cA3dF5gH1jZ0QaB"'
|
||||
- 'WORKOS_API_KEY="sk_live_a2V5XzAxS1BSWE1LTjBEWE1INlpBU0VEWjU2VFE3LFdjOWxFMTNDS29xRkdlYU9uMUpDbUpTZWE"'
|
||||
- 'workos apiKey: "sk_test_a2V5XzAxS1BSWE1LTjBEWE1INlpBU0VEWjU2VFE3LFdjOWxFMTNDS29xRkdlYU9uMUpDbUpTZWE"'
|
||||
references:
|
||||
- https://workos.com/docs/reference/organization
|
||||
- https://workos.com/docs/reference/authkit/user
|
||||
- https://workos.com/docs/reference/api-keys
|
||||
- https://workos.com/docs/authkit/api-keys
|
||||
- https://docs.github.com/en/code-security/reference/secret-security/supported-secret-scanning-patterns
|
||||
validation:
|
||||
type: Http
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue