Accessing privileged module methods (PrivilegedModuleMethodCall)¶
Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Security Hotspot |
BSL |
Major |
Yes |
60 |
suspicious |
Parameters¶
Name | Type | Description | Default value |
---|---|---|---|
validateNestedCalls |
Boolean |
Validate nested method calls from privileged modules |
true |
Description¶
Code running in privileged
mode
must be checked.
Examples¶
Sources¶
Snippets¶
Diagnostic ignorance in code¶
// BSLLS:PrivilegedModuleMethodCall-off
// BSLLS:PrivilegedModuleMethodCall-on
Parameter for config¶
"PrivilegedModuleMethodCall": {
"validateNestedCalls": true
}