-
Notifications
You must be signed in to change notification settings - Fork 70
feat(agent): use composer for vuln mgmt package info #962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 55 commits
5c5cd42
4d36457
ba9a11c
d220611
7dc5fda
0a5dcb2
4402552
55b74b8
d058eb3
9aadc6b
fab25b4
e7f5ea8
291930c
cddb8dd
bd871c2
07911e0
aae7ca4
2ebd005
bbc453b
675fe7b
97e8332
40fde89
b867248
a313703
b814457
de06513
4cc07ca
d6964ee
69377b1
3fe0711
8e50756
c69efc6
76334f2
b925fed
06a7733
b2f8567
d270d36
ead97fa
cb6f920
724ee00
54b657a
be12b2f
7e0c996
b5ec0a7
c013997
f9b42e4
c53299d
199adcb
0ab342b
d53ea28
cdfe1e1
b4d8a8f
7fd363e
80fdbdd
fd3f639
af1170a
cb83165
388c5d0
7a5c773
3a356ea
ab4f401
a73bbda
f6b438a
5a73606
51f6d43
1fda499
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -669,6 +669,7 @@ NR_PHP_WRAPPER_END | |
void nr_drupal_version() { | ||
zval* zval_version = NULL; | ||
zend_class_entry* class_entry = NULL; | ||
nr_php_package_t* p = NULL; | ||
|
||
class_entry = nr_php_find_class("drupal"); | ||
if (NULL == class_entry) { | ||
|
@@ -687,10 +688,10 @@ void nr_drupal_version() { | |
if (nr_php_is_zval_valid_string(zval_version)) { | ||
char* version = Z_STRVAL_P(zval_version); | ||
if (NRINI(vulnerability_management_package_detection_enabled)) { | ||
nr_txn_add_php_package(NRPRG(txn), PHP_PACKAGE_NAME, version); | ||
p = nr_txn_add_php_package(NRPRG(txn), PHP_PACKAGE_NAME, version); | ||
} | ||
nr_fw_support_add_package_supportability_metric(NRPRG(txn), PHP_PACKAGE_NAME, | ||
version); | ||
nr_fw_support_add_package_supportability_metric( | ||
NRPRG(txn), PHP_PACKAGE_NAME, version, p); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change (and similar changes in other |
||
} | ||
|
||
nr_php_zval_free(&zval_version); | ||
|
Uh oh!
There was an error while loading. Please reload this page.