--- title: "network_oas enabled Key" slug: "network-oas-enabled-key" updated: 2026-09-08T19:10:56Z published: 2026-09-08T19:10:56Z canonical: "docs.trellix.com/network-oas-enabled-key" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # network_oas enabled Key The `network_oas enabled` key allows you to enable or disable on-access malware scans for files accessed over your network when malware detection is enabled. Valid values include `true` (enabled) and `false` (disabled). The default value is `false`. ### Important If the malware detection `enable` key is not enabled, the `network_oas enabled` key value is ignored. Change this setting using one of the following methods: - Web UI (see [Enabling and Disabling On-Access Network Scans](/docs/enabling-and-disabling-on-access-network-scans)). - API custom configuration channels (see [Using API Custom Configuration Channels](/docs/using-api-custom-configuration-channels)). - Manually on individual endpoints using a text editor (see [Modifying the Configuration File for a Single Endpoint](/docs/modifying-the-configuration-file-for-a-single-endpoint)). For manual changes, enclose the `network_oas` settings in braces ({}) within the `malwareDetection` settings section of the `agent_config.jso`n file. For example, you can set the `enabled` key to `"enabled": true,`. `{` `"malwareDetection": {` `"enable": true,` `...` `"network_oas": {` `"enabled": true,` `"mode": "read",` `}` :