@newrelic/security-agent 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +2 -4
- package/THIRD_PARTY_NOTICES.md +216 -228
- package/index.js +1 -1
- package/lib/instrumentation-security/core/constants.js +1 -1
- package/lib/instrumentation-security/core/event-constants.js +1 -1
- package/lib/instrumentation-security/core/request-manager.js +1 -1
- package/lib/instrumentation-security/core/route-manager.js +1 -1
- package/lib/instrumentation-security/core/sec-trace.js +1 -1
- package/lib/instrumentation-security/core/sec-utils.js +1 -1
- package/lib/instrumentation-security/core/security-metadata.js +1 -1
- package/lib/instrumentation-security/core/stack-trace.js +1 -1
- package/lib/instrumentation-security/hooks/director/nr-director.js +1 -1
- package/lib/instrumentation-security/hooks/express/nr-express.js +1 -1
- package/lib/instrumentation-security/hooks/fastify/nr-fastify.js +1 -1
- package/lib/instrumentation-security/hooks/fs/nr-fs.js +1 -1
- package/lib/instrumentation-security/hooks/hapi/nr-hapi.js +1 -1
- package/lib/instrumentation-security/hooks/http/nr-http.js +1 -1
- package/lib/instrumentation-security/hooks/koa/@koa/nr-@koa-router.js +1 -1
- package/lib/instrumentation-security/hooks/ldap/nr-ldap.js +1 -1
- package/lib/instrumentation-security/hooks/mongodb/common.js +1 -1
- package/lib/instrumentation-security/hooks/mongodb/constants.js +1 -1
- package/lib/instrumentation-security/hooks/mongodb/nr-mongodb.js +1 -1
- package/lib/instrumentation-security/hooks/mongodb/v2-mongo.js +1 -1
- package/lib/instrumentation-security/hooks/mongodb/v3-mongo.js +1 -1
- package/lib/instrumentation-security/hooks/mongodb/v4-mongo.js +1 -1
- package/lib/instrumentation-security/hooks/mysql/nr-mysql.js +1 -1
- package/lib/instrumentation-security/hooks/native/nr-childProcess.js +1 -1
- package/lib/instrumentation-security/hooks/postgres/nr-postgres.js +1 -1
- package/lib/instrumentation-security/hooks/require/nr-require.js +1 -1
- package/lib/instrumentation-security/hooks/restify/nr-restify.js +1 -1
- package/lib/instrumentation-security/hooks/xpath/nr-xpath.js +1 -1
- package/lib/instrumentation-security/index.js +1 -1
- package/lib/nr-security-agent/index.js +2 -2
- package/lib/nr-security-agent/lib/core/Auth-headers.js +1 -1
- package/lib/nr-security-agent/lib/core/ContainerProperties.js +1 -1
- package/lib/nr-security-agent/lib/core/ECSProperties.js +1 -1
- package/lib/nr-security-agent/lib/core/FuzzFailEvent.js +1 -1
- package/lib/nr-security-agent/lib/core/LinkingMetadata.js +1 -1
- package/lib/nr-security-agent/lib/core/LogMessage.js +1 -1
- package/lib/nr-security-agent/lib/core/PodProperties.js +1 -1
- package/lib/nr-security-agent/lib/core/Policy.js +1 -1
- package/lib/nr-security-agent/lib/core/agent-status.js +1 -1
- package/lib/nr-security-agent/lib/core/agent.js +1 -1
- package/lib/nr-security-agent/lib/core/applicationinfo.js +2 -2
- package/lib/nr-security-agent/lib/core/commonUtils.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/aws-lambda-client.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/restclient.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/index.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/response/collecotor-policy-error-handler.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/response/collector-policy-handler.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/response/fuzz-request-handler.js +3 -2
- package/lib/nr-security-agent/lib/core/connections/websocket/response/index.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/response/no-op-handler.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/response/startup-handshake-handler.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/response/unsupported-agent-handler.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/response/ws-reconnect.js +1 -1
- package/lib/nr-security-agent/lib/core/connections/websocket/websocket.js +1 -1
- package/lib/nr-security-agent/lib/core/event.js +1 -1
- package/lib/nr-security-agent/lib/core/health-check.js +1 -1
- package/lib/nr-security-agent/lib/core/json-file-handler.js +1 -1
- package/lib/nr-security-agent/lib/core/jsonValidator.js +1 -1
- package/lib/nr-security-agent/lib/core/lambda-delegated-task-service.js +1 -1
- package/lib/nr-security-agent/lib/core/logging.js +1 -1
- package/lib/nr-security-agent/lib/core/sec-agent-constants.js +2 -2
- package/lib/nr-security-agent/lib/core/sec-util.js +1 -1
- package/lib/nr-security-agent/lib/core/sha-size-util.js +1 -1
- package/lib/nr-security-agent/lib/core/sha_worker.js +1 -1
- package/lib/nr-security-agent/lib/core/startup-config.js +1 -1
- package/lib/nr-security-agent/lib/core/statusUtils.js +1 -1
- package/lib/nr-security-agent/lib/core/timeunit.js +1 -1
- package/lib/nr-security-agent/lib/core/websocket-client.js +2 -2
- package/lib/nr-security-agent/lib/core/worker-entities.js +1 -1
- package/lib/nr-security-agent/lib/core/worker.js +1 -1
- package/lib/nr-security-agent/lib/core/xss-utils.js +1 -1
- package/lib/nr-security-agent/lib/models/lambda-delegated-task/constants.js +1 -1
- package/lib/nr-security-agent/lib/models/lambda-delegated-task/index.js +1 -1
- package/lib/nr-security-agent/lib/models/lambda-delegated-task/lambda-delegated-sha-calculation.js +1 -1
- package/lib/nr-security-agent/lib/models/lambda-delegated-task/lambda-delegated-task-base.js +1 -1
- package/lib/nr-security-agent/lib/models/lambda-delegated-task/lambda-delegated-task-type.js +1 -1
- package/lib/nr-security-agent/resources/config.js +1 -1
- package/lib/nr-security-api/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
### v0.0.8
|
|
2
|
+
* Handling for IP resolving to IPV4 as Node.js v17 and above no longer re-sorts results of IP address lookups and returns them as-is.
|
|
3
|
+
* Third Party Notices update
|
|
4
|
+
* Update in publish workflow
|
|
5
|
+
### v0.0.7
|
|
6
|
+
* Updated copyright header in source files
|
|
7
|
+
* ReadMe update
|
|
8
|
+
* Minor logging update
|
|
1
9
|
### v0.0.6
|
|
2
10
|
* Updated default fuzz host to 0.0.0.0
|
|
3
11
|
* Handling to get custom certificate path from config instead of environment variable
|
package/README.md
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
<a href="https://opensource.newrelic.com/oss-category/#community-plus"><picture><source media="(prefers-color-scheme: dark)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/dark/Community_Plus.png"><source media="(prefers-color-scheme: light)" srcset="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"><img alt="New Relic Open Source community plus project banner." src="https://github.com/newrelic/opensource-website/raw/main/src/images/categories/Community_Plus.png"></picture></a>
|
|
2
|
-
|
|
3
1
|
# New Relic Node.js security agent
|
|
4
2
|
[![npm status badge][1]][2] [![Security Agent CI][3]][4]
|
|
5
3
|
|
|
@@ -44,7 +42,7 @@ The `@newrelic/security-agent` must be explicitly enabled in order to perform IA
|
|
|
44
42
|
The [Developer docs](http://newrelic.github.io/node-newrelic/) for writing instrumentation will be of help. We particularly recommend the [tutorials](https://newrelic.github.io/node-newrelic/tutorial-Instrumentation-Basics.html) and the [shim API](https://newrelic.github.io/node-newrelic/Shim.html) documentation.
|
|
45
43
|
|
|
46
44
|
### Supported Node.js Versions
|
|
47
|
-
- Node version 14.x and
|
|
45
|
+
- Node version 14.x, 16.x and 18.x
|
|
48
46
|
|
|
49
47
|
### Supported Modules
|
|
50
48
|
|
|
@@ -106,4 +104,4 @@ The `@newrelic/security-agent` also uses source code from third-party libraries.
|
|
|
106
104
|
[1]: https://img.shields.io/npm/v/@newrelic/security-agent.svg
|
|
107
105
|
[2]: https://www.npmjs.com/package/@newrelic/security-agent
|
|
108
106
|
[3]: https://github.com/newrelic/csec-node-agent/workflows/CSEC%20Node%20Agent%20CI/badge.svg
|
|
109
|
-
[4]: https://github.com/newrelic/csec-node-agent/actions?query=workflow%3A%22CSEC+Node+Agent+CI%22
|
|
107
|
+
[4]: https://github.com/newrelic/csec-node-agent/actions?query=workflow%3A%22CSEC+Node+Agent+CI%22
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -15,7 +15,6 @@ code, the source code can be found at [https://github.com/newrelic/csec-node-age
|
|
|
15
15
|
**[dependencies](#dependencies)**
|
|
16
16
|
|
|
17
17
|
* [@aws-sdk/client-lambda](#aws-sdkclient-lambda)
|
|
18
|
-
* [@newrelic/newrelic-oss-cli](#newrelicnewrelic-oss-cli)
|
|
19
18
|
* [axios](#axios)
|
|
20
19
|
* [check-disk-space](#check-disk-space)
|
|
21
20
|
* [content-type](#content-type)
|
|
@@ -42,6 +41,7 @@ code, the source code can be found at [https://github.com/newrelic/csec-node-age
|
|
|
42
41
|
|
|
43
42
|
* [@hapi/hapi](#hapihapi)
|
|
44
43
|
* [@koa/router](#koarouter)
|
|
44
|
+
* [@newrelic/newrelic-oss-cli](#newrelicnewrelic-oss-cli)
|
|
45
45
|
* [@newrelic/test-utilities](#newrelictest-utilities)
|
|
46
46
|
* [@typescript-eslint/eslint-plugin](#typescript-eslinteslint-plugin)
|
|
47
47
|
* [@typescript-eslint/parser](#typescript-eslintparser)
|
|
@@ -282,238 +282,18 @@ This product includes source derived from [@aws-sdk/client-lambda](https://githu
|
|
|
282
282
|
|
|
283
283
|
```
|
|
284
284
|
|
|
285
|
-
### @newrelic/newrelic-oss-cli
|
|
286
|
-
|
|
287
|
-
This product includes source derived from [@newrelic/newrelic-oss-cli](https://github.com/newrelic/newrelic-oss-cli) ([v0.1.2](https://github.com/newrelic/newrelic-oss-cli/tree/v0.1.2)), distributed under the [Apache-2.0 License](https://github.com/newrelic/newrelic-oss-cli/blob/v0.1.2/LICENSE):
|
|
288
|
-
|
|
289
|
-
```
|
|
290
|
-
Apache License
|
|
291
|
-
Version 2.0, January 2004
|
|
292
|
-
http://www.apache.org/licenses/
|
|
293
|
-
|
|
294
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
295
|
-
|
|
296
|
-
1. Definitions.
|
|
297
|
-
|
|
298
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
299
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
300
|
-
|
|
301
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
302
|
-
the copyright owner that is granting the License.
|
|
303
|
-
|
|
304
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
305
|
-
other entities that control, are controlled by, or are under common
|
|
306
|
-
control with that entity. For the purposes of this definition,
|
|
307
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
308
|
-
direction or management of such entity, whether by contract or
|
|
309
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
310
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
311
|
-
|
|
312
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
313
|
-
exercising permissions granted by this License.
|
|
314
|
-
|
|
315
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
316
|
-
including but not limited to software source code, documentation
|
|
317
|
-
source, and configuration files.
|
|
318
|
-
|
|
319
|
-
"Object" form shall mean any form resulting from mechanical
|
|
320
|
-
transformation or translation of a Source form, including but
|
|
321
|
-
not limited to compiled object code, generated documentation,
|
|
322
|
-
and conversions to other media types.
|
|
323
|
-
|
|
324
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
325
|
-
Object form, made available under the License, as indicated by a
|
|
326
|
-
copyright notice that is included in or attached to the work
|
|
327
|
-
(an example is provided in the Appendix below).
|
|
328
|
-
|
|
329
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
330
|
-
form, that is based on (or derived from) the Work and for which the
|
|
331
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
332
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
333
|
-
of this License, Derivative Works shall not include works that remain
|
|
334
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
335
|
-
the Work and Derivative Works thereof.
|
|
336
|
-
|
|
337
|
-
"Contribution" shall mean any work of authorship, including
|
|
338
|
-
the original version of the Work and any modifications or additions
|
|
339
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
340
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
341
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
342
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
343
|
-
means any form of electronic, verbal, or written communication sent
|
|
344
|
-
to the Licensor or its representatives, including but not limited to
|
|
345
|
-
communication on electronic mailing lists, source code control systems,
|
|
346
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
347
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
348
|
-
excluding communication that is conspicuously marked or otherwise
|
|
349
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
350
|
-
|
|
351
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
352
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
353
|
-
subsequently incorporated within the Work.
|
|
354
|
-
|
|
355
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
356
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
357
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
358
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
359
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
360
|
-
Work and such Derivative Works in Source or Object form.
|
|
361
|
-
|
|
362
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
363
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
364
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
365
|
-
(except as stated in this section) patent license to make, have made,
|
|
366
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
367
|
-
where such license applies only to those patent claims licensable
|
|
368
|
-
by such Contributor that are necessarily infringed by their
|
|
369
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
370
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
371
|
-
institute patent litigation against any entity (including a
|
|
372
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
373
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
374
|
-
or contributory patent infringement, then any patent licenses
|
|
375
|
-
granted to You under this License for that Work shall terminate
|
|
376
|
-
as of the date such litigation is filed.
|
|
377
|
-
|
|
378
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
379
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
380
|
-
modifications, and in Source or Object form, provided that You
|
|
381
|
-
meet the following conditions:
|
|
382
|
-
|
|
383
|
-
(a) You must give any other recipients of the Work or
|
|
384
|
-
Derivative Works a copy of this License; and
|
|
385
|
-
|
|
386
|
-
(b) You must cause any modified files to carry prominent notices
|
|
387
|
-
stating that You changed the files; and
|
|
388
|
-
|
|
389
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
390
|
-
that You distribute, all copyright, patent, trademark, and
|
|
391
|
-
attribution notices from the Source form of the Work,
|
|
392
|
-
excluding those notices that do not pertain to any part of
|
|
393
|
-
the Derivative Works; and
|
|
394
|
-
|
|
395
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
396
|
-
distribution, then any Derivative Works that You distribute must
|
|
397
|
-
include a readable copy of the attribution notices contained
|
|
398
|
-
within such NOTICE file, excluding those notices that do not
|
|
399
|
-
pertain to any part of the Derivative Works, in at least one
|
|
400
|
-
of the following places: within a NOTICE text file distributed
|
|
401
|
-
as part of the Derivative Works; within the Source form or
|
|
402
|
-
documentation, if provided along with the Derivative Works; or,
|
|
403
|
-
within a display generated by the Derivative Works, if and
|
|
404
|
-
wherever such third-party notices normally appear. The contents
|
|
405
|
-
of the NOTICE file are for informational purposes only and
|
|
406
|
-
do not modify the License. You may add Your own attribution
|
|
407
|
-
notices within Derivative Works that You distribute, alongside
|
|
408
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
409
|
-
that such additional attribution notices cannot be construed
|
|
410
|
-
as modifying the License.
|
|
411
|
-
|
|
412
|
-
You may add Your own copyright statement to Your modifications and
|
|
413
|
-
may provide additional or different license terms and conditions
|
|
414
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
415
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
416
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
417
|
-
the conditions stated in this License.
|
|
418
|
-
|
|
419
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
420
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
421
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
422
|
-
this License, without any additional terms or conditions.
|
|
423
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
424
|
-
the terms of any separate license agreement you may have executed
|
|
425
|
-
with Licensor regarding such Contributions.
|
|
426
|
-
|
|
427
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
428
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
429
|
-
except as required for reasonable and customary use in describing the
|
|
430
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
431
|
-
|
|
432
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
433
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
434
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
435
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
436
|
-
implied, including, without limitation, any warranties or conditions
|
|
437
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
438
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
439
|
-
appropriateness of using or redistributing the Work and assume any
|
|
440
|
-
risks associated with Your exercise of permissions under this License.
|
|
441
|
-
|
|
442
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
443
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
444
|
-
unless required by applicable law (such as deliberate and grossly
|
|
445
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
446
|
-
liable to You for damages, including any direct, indirect, special,
|
|
447
|
-
incidental, or consequential damages of any character arising as a
|
|
448
|
-
result of this License or out of the use or inability to use the
|
|
449
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
450
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
451
|
-
other commercial damages or losses), even if such Contributor
|
|
452
|
-
has been advised of the possibility of such damages.
|
|
453
|
-
|
|
454
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
455
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
456
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
457
|
-
or other liability obligations and/or rights consistent with this
|
|
458
|
-
License. However, in accepting such obligations, You may act only
|
|
459
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
460
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
461
|
-
defend, and hold each Contributor harmless for any liability
|
|
462
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
463
|
-
of your accepting any such warranty or additional liability.
|
|
464
|
-
|
|
465
|
-
END OF TERMS AND CONDITIONS
|
|
466
|
-
|
|
467
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
468
|
-
|
|
469
|
-
To apply the Apache License to your work, attach the following
|
|
470
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
471
|
-
replaced with your own identifying information. (Don't include
|
|
472
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
473
|
-
comment syntax for the file format. We also recommend that a
|
|
474
|
-
file or class name and description of purpose be included on the
|
|
475
|
-
same "printed page" as the copyright notice for easier
|
|
476
|
-
identification within third-party archives.
|
|
477
|
-
|
|
478
|
-
Copyright [yyyy] [name of copyright owner]
|
|
479
|
-
|
|
480
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
481
|
-
you may not use this file except in compliance with the License.
|
|
482
|
-
You may obtain a copy of the License at
|
|
483
|
-
|
|
484
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
485
|
-
|
|
486
|
-
Unless required by applicable law or agreed to in writing, software
|
|
487
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
488
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
489
|
-
See the License for the specific language governing permissions and
|
|
490
|
-
limitations under the License.
|
|
491
|
-
```
|
|
492
|
-
|
|
493
285
|
### axios
|
|
494
286
|
|
|
495
|
-
This product includes source derived from [axios](https://github.com/axios/axios) ([
|
|
287
|
+
This product includes source derived from [axios](https://github.com/axios/axios) ([v1.4.0](https://github.com/axios/axios/tree/v1.4.0)), distributed under the [MIT License](https://github.com/axios/axios/blob/v1.4.0/LICENSE):
|
|
496
288
|
|
|
497
289
|
```
|
|
498
|
-
Copyright (c) 2014-present Matt Zabriskie
|
|
290
|
+
# Copyright (c) 2014-present Matt Zabriskie & Collaborators
|
|
499
291
|
|
|
500
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
501
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
502
|
-
in the Software without restriction, including without limitation the rights
|
|
503
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
504
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
505
|
-
furnished to do so, subject to the following conditions:
|
|
292
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
506
293
|
|
|
507
|
-
The above copyright notice and this permission notice shall be included in
|
|
508
|
-
all copies or substantial portions of the Software.
|
|
294
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
509
295
|
|
|
510
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
511
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
512
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
513
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
514
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
515
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
516
|
-
THE SOFTWARE.
|
|
296
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
517
297
|
|
|
518
298
|
```
|
|
519
299
|
|
|
@@ -1058,7 +838,7 @@ SOFTWARE.
|
|
|
1058
838
|
|
|
1059
839
|
### @hapi/hapi
|
|
1060
840
|
|
|
1061
|
-
This product includes source derived from [@hapi/hapi](https://github.com/hapijs/hapi) ([v21.3.
|
|
841
|
+
This product includes source derived from [@hapi/hapi](https://github.com/hapijs/hapi) ([v21.3.2](https://github.com/hapijs/hapi/tree/v21.3.2)), distributed under the [BSD-3-Clause License](https://github.com/hapijs/hapi/blob/v21.3.2/LICENSE.md):
|
|
1062
842
|
|
|
1063
843
|
```
|
|
1064
844
|
Copyright (c) 2011-2022, Project contributors
|
|
@@ -1106,6 +886,214 @@ THE SOFTWARE.
|
|
|
1106
886
|
|
|
1107
887
|
```
|
|
1108
888
|
|
|
889
|
+
### @newrelic/newrelic-oss-cli
|
|
890
|
+
|
|
891
|
+
This product includes source derived from [@newrelic/newrelic-oss-cli](https://github.com/newrelic/newrelic-oss-cli) ([v0.1.2](https://github.com/newrelic/newrelic-oss-cli/tree/v0.1.2)), distributed under the [Apache-2.0 License](https://github.com/newrelic/newrelic-oss-cli/blob/v0.1.2/LICENSE):
|
|
892
|
+
|
|
893
|
+
```
|
|
894
|
+
Apache License
|
|
895
|
+
Version 2.0, January 2004
|
|
896
|
+
http://www.apache.org/licenses/
|
|
897
|
+
|
|
898
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
899
|
+
|
|
900
|
+
1. Definitions.
|
|
901
|
+
|
|
902
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
903
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
904
|
+
|
|
905
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
906
|
+
the copyright owner that is granting the License.
|
|
907
|
+
|
|
908
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
909
|
+
other entities that control, are controlled by, or are under common
|
|
910
|
+
control with that entity. For the purposes of this definition,
|
|
911
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
912
|
+
direction or management of such entity, whether by contract or
|
|
913
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
914
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
915
|
+
|
|
916
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
917
|
+
exercising permissions granted by this License.
|
|
918
|
+
|
|
919
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
920
|
+
including but not limited to software source code, documentation
|
|
921
|
+
source, and configuration files.
|
|
922
|
+
|
|
923
|
+
"Object" form shall mean any form resulting from mechanical
|
|
924
|
+
transformation or translation of a Source form, including but
|
|
925
|
+
not limited to compiled object code, generated documentation,
|
|
926
|
+
and conversions to other media types.
|
|
927
|
+
|
|
928
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
929
|
+
Object form, made available under the License, as indicated by a
|
|
930
|
+
copyright notice that is included in or attached to the work
|
|
931
|
+
(an example is provided in the Appendix below).
|
|
932
|
+
|
|
933
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
934
|
+
form, that is based on (or derived from) the Work and for which the
|
|
935
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
936
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
937
|
+
of this License, Derivative Works shall not include works that remain
|
|
938
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
939
|
+
the Work and Derivative Works thereof.
|
|
940
|
+
|
|
941
|
+
"Contribution" shall mean any work of authorship, including
|
|
942
|
+
the original version of the Work and any modifications or additions
|
|
943
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
944
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
945
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
946
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
947
|
+
means any form of electronic, verbal, or written communication sent
|
|
948
|
+
to the Licensor or its representatives, including but not limited to
|
|
949
|
+
communication on electronic mailing lists, source code control systems,
|
|
950
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
951
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
952
|
+
excluding communication that is conspicuously marked or otherwise
|
|
953
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
954
|
+
|
|
955
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
956
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
957
|
+
subsequently incorporated within the Work.
|
|
958
|
+
|
|
959
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
960
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
961
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
962
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
963
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
964
|
+
Work and such Derivative Works in Source or Object form.
|
|
965
|
+
|
|
966
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
967
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
968
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
969
|
+
(except as stated in this section) patent license to make, have made,
|
|
970
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
971
|
+
where such license applies only to those patent claims licensable
|
|
972
|
+
by such Contributor that are necessarily infringed by their
|
|
973
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
974
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
975
|
+
institute patent litigation against any entity (including a
|
|
976
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
977
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
978
|
+
or contributory patent infringement, then any patent licenses
|
|
979
|
+
granted to You under this License for that Work shall terminate
|
|
980
|
+
as of the date such litigation is filed.
|
|
981
|
+
|
|
982
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
983
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
984
|
+
modifications, and in Source or Object form, provided that You
|
|
985
|
+
meet the following conditions:
|
|
986
|
+
|
|
987
|
+
(a) You must give any other recipients of the Work or
|
|
988
|
+
Derivative Works a copy of this License; and
|
|
989
|
+
|
|
990
|
+
(b) You must cause any modified files to carry prominent notices
|
|
991
|
+
stating that You changed the files; and
|
|
992
|
+
|
|
993
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
994
|
+
that You distribute, all copyright, patent, trademark, and
|
|
995
|
+
attribution notices from the Source form of the Work,
|
|
996
|
+
excluding those notices that do not pertain to any part of
|
|
997
|
+
the Derivative Works; and
|
|
998
|
+
|
|
999
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
1000
|
+
distribution, then any Derivative Works that You distribute must
|
|
1001
|
+
include a readable copy of the attribution notices contained
|
|
1002
|
+
within such NOTICE file, excluding those notices that do not
|
|
1003
|
+
pertain to any part of the Derivative Works, in at least one
|
|
1004
|
+
of the following places: within a NOTICE text file distributed
|
|
1005
|
+
as part of the Derivative Works; within the Source form or
|
|
1006
|
+
documentation, if provided along with the Derivative Works; or,
|
|
1007
|
+
within a display generated by the Derivative Works, if and
|
|
1008
|
+
wherever such third-party notices normally appear. The contents
|
|
1009
|
+
of the NOTICE file are for informational purposes only and
|
|
1010
|
+
do not modify the License. You may add Your own attribution
|
|
1011
|
+
notices within Derivative Works that You distribute, alongside
|
|
1012
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
1013
|
+
that such additional attribution notices cannot be construed
|
|
1014
|
+
as modifying the License.
|
|
1015
|
+
|
|
1016
|
+
You may add Your own copyright statement to Your modifications and
|
|
1017
|
+
may provide additional or different license terms and conditions
|
|
1018
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
1019
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
1020
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
1021
|
+
the conditions stated in this License.
|
|
1022
|
+
|
|
1023
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
1024
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
1025
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
1026
|
+
this License, without any additional terms or conditions.
|
|
1027
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
1028
|
+
the terms of any separate license agreement you may have executed
|
|
1029
|
+
with Licensor regarding such Contributions.
|
|
1030
|
+
|
|
1031
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
1032
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
1033
|
+
except as required for reasonable and customary use in describing the
|
|
1034
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
1035
|
+
|
|
1036
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
1037
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
1038
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
1039
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
1040
|
+
implied, including, without limitation, any warranties or conditions
|
|
1041
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
1042
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
1043
|
+
appropriateness of using or redistributing the Work and assume any
|
|
1044
|
+
risks associated with Your exercise of permissions under this License.
|
|
1045
|
+
|
|
1046
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
1047
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
1048
|
+
unless required by applicable law (such as deliberate and grossly
|
|
1049
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
1050
|
+
liable to You for damages, including any direct, indirect, special,
|
|
1051
|
+
incidental, or consequential damages of any character arising as a
|
|
1052
|
+
result of this License or out of the use or inability to use the
|
|
1053
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
1054
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
1055
|
+
other commercial damages or losses), even if such Contributor
|
|
1056
|
+
has been advised of the possibility of such damages.
|
|
1057
|
+
|
|
1058
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
1059
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
1060
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
1061
|
+
or other liability obligations and/or rights consistent with this
|
|
1062
|
+
License. However, in accepting such obligations, You may act only
|
|
1063
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
1064
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
1065
|
+
defend, and hold each Contributor harmless for any liability
|
|
1066
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
1067
|
+
of your accepting any such warranty or additional liability.
|
|
1068
|
+
|
|
1069
|
+
END OF TERMS AND CONDITIONS
|
|
1070
|
+
|
|
1071
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
1072
|
+
|
|
1073
|
+
To apply the Apache License to your work, attach the following
|
|
1074
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
1075
|
+
replaced with your own identifying information. (Don't include
|
|
1076
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
1077
|
+
comment syntax for the file format. We also recommend that a
|
|
1078
|
+
file or class name and description of purpose be included on the
|
|
1079
|
+
same "printed page" as the copyright notice for easier
|
|
1080
|
+
identification within third-party archives.
|
|
1081
|
+
|
|
1082
|
+
Copyright [yyyy] [name of copyright owner]
|
|
1083
|
+
|
|
1084
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1085
|
+
you may not use this file except in compliance with the License.
|
|
1086
|
+
You may obtain a copy of the License at
|
|
1087
|
+
|
|
1088
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
1089
|
+
|
|
1090
|
+
Unless required by applicable law or agreed to in writing, software
|
|
1091
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1092
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1093
|
+
See the License for the specific language governing permissions and
|
|
1094
|
+
limitations under the License.
|
|
1095
|
+
```
|
|
1096
|
+
|
|
1109
1097
|
### @newrelic/test-utilities
|
|
1110
1098
|
|
|
1111
1099
|
This product includes source derived from [@newrelic/test-utilities](https://github.com/newrelic/node-test-utilities) ([v7.2.1](https://github.com/newrelic/node-test-utilities/tree/v7.2.1)), distributed under the [Apache-2.0 License](https://github.com/newrelic/node-test-utilities/blob/v7.2.1/LICENSE):
|
|
@@ -2762,7 +2750,7 @@ END OF TERMS AND CONDITIONS
|
|
|
2762
2750
|
|
|
2763
2751
|
### restify
|
|
2764
2752
|
|
|
2765
|
-
This product includes source derived from [restify](https://github.com/restify/node-restify) ([
|
|
2753
|
+
This product includes source derived from [restify](https://github.com/restify/node-restify) ([v11.1.0](https://github.com/restify/node-restify/tree/v11.1.0)), distributed under the [MIT License](https://github.com/restify/node-restify/blob/v11.1.0/LICENSE):
|
|
2766
2754
|
|
|
2767
2755
|
```
|
|
2768
2756
|
Copyright (c) 2011 Mark Cavage, All rights reserved.
|
package/index.js
CHANGED