file_policy
file_policy
¶
File sensitivity policy — block access to secrets, credentials, and keys.
Functions¶
is_sensitive_file
¶
Return True if path matches a sensitive file pattern.
Checks both the filename and the full name against
DEFAULT_SENSITIVE_PATTERNS using :func:fnmatch.fnmatch.