Skip to content

Commit

Permalink
Merge pull request #45 from newrelic/develop
Browse files Browse the repository at this point in the history
1.0.3 limited-preview
  • Loading branch information
lovesh-ap authored May 23, 2023
2 parents c674b19 + 6271089 commit fecd1f6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Noteworthy changes to the agent are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.3-limited-preview] - 2023-05-23
### Changes
- License update
- Improved Logging

## [1.0.2-limited-preview] - 2023-05-19
### Added
- [LOGGER] Update init logger : maintain consistncy with all security agents
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ The IAST capability should only be used in pre-production environments and never

This project is built and published as a dependency for use in [newrelic-java-agent](https://github.com/newrelic/newrelic-java-agent) only. Hence this can not be used directly. Typically, most users use the version auto-installed by the APM agent. You can see agent install instructions [here](https://github.com/newrelic/java-newrelic#installation-and-getting-started).

## **Supported Java Versions**
- Java version 8 and above

## **Support Matrix**

### Frameworks and libraries
Expand All @@ -25,12 +28,12 @@ The agent automatically instruments the following frameworks.
- Log4j from 2.0 to latest
- Servlet from 2.4 to latest
- Spring from 0 to latest
- JAX-RS from 1.0 to latest

### Java Native Operations

- File Operations 0 to latest
- JNDI operations 0 to latest
- Low Priority Instrumentation

### HTTP and messaging

Expand Down Expand Up @@ -78,6 +81,8 @@ The agent automatically instruments the following HTTP clients and messaging ser
- PostgreSQL R2DBC from 0.9.0 to latest
- Oracle R2DBC from 0.0.0 to 1.1.2
- SQLServer from jdk6 to latest
- DynamoDB-1.11.80 to latest
- DyanamoDB-2.1.0 to latest

## **Building**

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The agent version.
agentVersion=1.0.2
agentVersion=1.0.3
jsonVersion=1.0.1
# Updated exposed NR APM API version.
nrAPIVersion=8.3.0-SNAPSHOT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public class IASTDataTransferRequestProcessor {
private void task() {
IASTDataTransferRequest request = null;
try {
if (WSUtils.getInstance().isReconnecting()) {
if (WSUtils.getInstance().isReconnecting() ||
!WSClient.getInstance().isOpen()) {
synchronized (WSUtils.getInstance()) {
RestRequestThreadPool.getInstance().isWaiting().set(true);
WSUtils.getInstance().wait();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ public interface IAgentConstants {
String UNABLE_TO_SET_AGENT_POLICY_PARAM_DUE_TO_ERROR = "[POLICY] Unable to set Agent Policy Parameters due to error:";

String STARTED_MODULE_LOG = "[COMPLETE][MODULE] Started %s.";
String AGENT_INIT_LOG_STEP_FIVE_END = "[STEP-5] => Security agent threads started";
String AGENT_INIT_LOG_STEP_FIVE_END = "[STEP-5] => Security agent components started";

String VULNERABLE = "VULNERABLE";
String TERMINATING = "Terminating";
Expand Down

0 comments on commit fecd1f6

Please sign in to comment.