github / github/codeql

How change SensitiveDataHeuristics.qll to find my own secrets?

Offen
#14,356 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

**I want to change locally CleartextLoggingQuery.qll to find my own secrets**
I am new in CodeQL and I want to change locally **CleartextLoggingQuery.qll** to find my own secrets that could be logging. I noticed that this query links to [SensitiveDataHeuristics.qll ](https://github.com/github/codeql/blob/main/python/ql/lib/semmle/python/security/internal/SensitiveDataHeuristics.qll). I use codeql-bundle.
Tell me, please, what options do I have to edit queries? In this case, if I'm right, do I need to edit SensitiveDataHeuristics.ql and somehow rebuild the rule? Or should I use codeql-cli and somehow create my own query packages?
Help solve the problem, please.
Thanks

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.