Disable the Local File and OS Commands feature

As of Python release 1.7.2, you can disable the Local Files and OS Commands feature instrumentation. The ability to disable instrumentation gives you more control over your system performance and ability to troubleshoot.

Use keywords in the enabled_instrumentations configuration property to disable the instrumentation.

Configuration example

In the following example, the keywords added to enabled_instrumentation describe the OS Commands and Local File functions. “False” is added after the keyword to disable the functions.

1
{
2
"version": 1,
3
"applications": [
4
{
5
"app_id": "",
6
"api_key": "",
7
"tcell_api_url": "",
8
"tcell_input_url": "",
9
"js_agent_api_base_url": "",
10
"enabled_instrumentations": {"os-commands": false, "local-file-inclusion": false}
11
}
12
]
13
}