diff --git a/src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx b/src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx index 16655f8462d..efc7c68fb35 100644 --- a/src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx +++ b/src/content/docs/apm/agents/php-agent/configuration/php-agent-configuration.mdx @@ -3934,6 +3934,114 @@ Setting one of the following tags will help you identify which versions of your An upcoming release of errors inbox will automatically track which versions of your software are producing errors. Any version data will also be displayed in [CodeStream](/docs/codestream/how-use-codestream/performance-monitoring/#buildsha). +## Vulnerability management settings [#inivar-vulnerability-management] + +This section lists the settings that affect the reporting of PHP packages. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Scope: + + PERDIR +
+ Type: + + Boolean +
+ Default: + + `true` +
+ Notes: + + Introduced in PHP agent version 10.17 +
+ + When set to `true`, the agent will send up package detection information that can be viewed on the environment page. +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Scope: + + PERDIR +
+ Type: + + Boolean +
+ Default: + + `false` +
+ Notes: + + Introduced in PHP agent version 11.2 +
+ + When set to `true`, the agent will try using [Composer's runtime API](https://getcomposer.org/doc/07-runtime.md) for package detection. + +
+
+ ## Other .ini settings [#inivar-rare-settings] This section lists the remaining newrelic.ini settings. @@ -4294,55 +4402,4 @@ This section lists the remaining newrelic.ini settings. Enables the detection of frameworks and libraries when preloading is enabled. Preloading was introduced in PHP version 7.4. `newrelic.preload_framework_library_detection` will only take effect when `opcache.preload` is set in the `php.ini` file. - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Scope: - - SYSTEM -
- Type: - - Boolean -
- Default: - - `true` -
- Notes: - - Introduced in PHP agent version 10.17 -
- - When set to `true`, the agent will send up package detection information that can be viewed on the environment page. -
diff --git a/src/content/docs/vulnerability-management/integrations/intro.mdx b/src/content/docs/vulnerability-management/integrations/intro.mdx index 67b65bb2578..980424629e6 100644 --- a/src/content/docs/vulnerability-management/integrations/intro.mdx +++ b/src/content/docs/vulnerability-management/integrations/intro.mdx @@ -180,7 +180,7 @@ CVE detection coverage differs between agents: id="php-packages" title="PHP package support" > - Our New Relic [PHP APM Agent](/docs/apm/agents/php-agent/getting-started/introduction-new-relic-php) currently supports detecting CVEs related to packages from the following frameworks: + By default, New Relic [PHP APM Agent](/docs/apm/agents/php-agent/getting-started/introduction-new-relic-php) supports detecting CVEs in the core packages of the following frameworks: @@ -268,9 +268,11 @@ CVE detection coverage differs between agents:
- We recommend using [officially supported versions](/docs/apm/agents/php-agent/getting-started/php-agent-compatibility-requirements/) of PHP. Note, the PHP agent differs from other language agents as it's not aware of packages until they are used. If the version is not specified in the package's source code in an accessible way, the PHP agent is unable to provide version detection information for that package, and vulnerabilities will not be shown. + We recommend you use [officially supported versions](/docs/apm/agents/php-agent/getting-started/php-agent-compatibility-requirements/) of PHP. + If your project uses [Composer](https://getcomposer.org/) to manage dependencies, you can configure the New Relic [PHP APM agent](/docs/apm/agents/php-agent/getting-started/introduction-new-relic-php) to detect vulnerabilities in all your packages. This feature is disabled by default. + + See the Vulnerability Management settings in [PHP agent configuration](/docs/apm/agents/php-agent/configuration/php-agent-configuration/#inivar-vulnerability-management) for detailed information about how to configure the integration in the New Relic PHP APM agent. - To disable package detection for Vulnerability Management, you can find more information on the [configuration page](/docs/apm/agents/php-agent/configuration/php-agent-configuration/#inivar-package-detection).