You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(branding): Rename rule prefixes from LM to PL
Updates all rule and finding codes from the legacy 'LM' (LogMaster) prefix to 'PL' (Privlog) for complete brand consistency.
This change affects the Semgrep rules, the AST checker, the runner, and the documentation.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Contributing to privlog
1
+
# Contributing to Privlog
2
2
3
3
This guide is for developers who want to contribute to the `privlog` project. It explains the project's architecture and where key logic lives.
4
4
@@ -47,10 +47,10 @@ This guide is for developers who want to contribute to the `privlog` project. It
47
47
4.**Heuristic Analysis**: Flags risky patterns like logging with `extra=...` or `json.dumps()`.
48
48
5.**Custom Wrapper Analysis**: Receives the `PrivlogConfig` object and inspects function calls to see if they match a name in the `custom_wrappers` configuration, checking their keyword arguments accordingly.
49
49
-**Finding Codes**:
50
-
-`LM2101`: A direct sensitive identifier was found in a logging call.
51
-
-`LM2201-2203`: A heuristic pattern (like `extra=...` or `json.dumps`) was found in a logging call.
52
-
-`LM2301-2303`: A sensitive identifier or heuristic pattern was found in a `print()` call.
53
-
-`LM2401`: A sensitive argument was passed to a custom logging wrapper defined in the user's configuration.
50
+
-`PL2101`: A direct sensitive identifier was found in a logging call.
51
+
-`PL2201-2203`: A heuristic pattern (like `extra=...` or `json.dumps`) was found in a logging call.
52
+
-`PL2301-2303`: A sensitive identifier or heuristic pattern was found in a `print()` call.
53
+
-`PL2401`: A sensitive argument was passed to a custom logging wrapper defined in the user's configuration.
54
54
55
55
-`privlog/rules/privlog.yml`
56
56
-**Purpose:** The core Semgrep ruleset, which complements the AST checker.
A privacy-aware linter for Python projects, designed to catch accidental leaks of sensitive data in logs and `print` statements before they reach production.
0 commit comments