github / github/codeql

How change SensitiveDataHeuristics.qll to find my own secrets?

Ouverte
#14,356 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

**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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.