We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b00dcc3 commit e1ef8d3Copy full SHA for e1ef8d3
agent/fw_magento2.c
@@ -12,6 +12,8 @@
12
#include "nr_txn.h"
13
#include "util_logging.h"
14
15
+#define PHP_PACKAGE_NAME "magento/magento2-base"
16
+
17
/*
18
* Magento 2 adds (depending on how you count)
19
* either three or four completely separate routing paths in the Community
@@ -540,7 +542,10 @@ void nr_magento2_enable(TSRMLS_D) {
540
542
nr_magento2_ui_controller_execute TSRMLS_CC);
541
543
544
if (NRINI(vulnerability_management_package_detection_enabled)) {
- nr_txn_add_php_package(NRPRG(txn), "magento",
545
+ nr_txn_add_php_package(NRPRG(txn), PHP_PACKAGE_NAME,
546
PHP_PACKAGE_VERSION_UNKNOWN);
547
}
548
549
+ nr_txn_suggest_package_supportability_metric(NRPRG(txn), PHP_PACKAGE_NAME,
550
+ PHP_PACKAGE_VERSION_UNKNOWN);
551
0 commit comments