Classes
PrivacyFinding
9
▼
Machine-readable privacy lint finding.
PrivacyFinding
9
▼
Machine-readable privacy lint finding.
Attributes
| Name | Type | Description |
|---|---|---|
code |
Literal['K-PRI-001', 'K-PRI-002', 'K-PRI-003', 'K-PRI-004', 'K-PRI-005']
|
— |
severity |
Literal['error', 'warning']
|
— |
kind |
str
|
— |
message |
str
|
— |
template_name |
str | None
|
— |
lineno |
int | None
|
— |
col_offset |
int | None
|
— |
path |
str | None
|
— |
suggestion |
str | None
|
— |
Functions
lint_privacy
1
list[PrivacyFinding]
▼
Return static privacy findings without echoing secret literal values.
lint_privacy
1
list[PrivacyFinding]
▼
def lint_privacy(template_or_ast: Any) -> list[PrivacyFinding]
Parameters
| Name | Type | Description |
|---|---|---|
template_or_ast |
Any |
Returns
list[PrivacyFinding]