Skip to content

Conversation

@fiodar-r
Copy link
Contributor

No description provided.

@fiodar-r fiodar-r changed the title [TH2-4231] common and bom versions update [TH2-4231] Update dependencies with vulnerabilities (dev branch) Sep 22, 2022
Copy link
Contributor

@OptimumCode OptimumCode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check this version for vulnerabilities?

build.gradle Outdated
implementation "org.slf4j:slf4j-log4j12"
implementation "org.slf4j:slf4j-api"
implementation "org.apache.logging.log4j:log4j-slf4j-impl"
implementation "org.apache.logging.log4j:log4j-1.2-api"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this here. Please, return back the slf4j-api dependency

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In common, we moved to this logging implementation because we need support for the first and second versions of log4j. I removed the dependency with the implementation, leaving only the api. Nevertheless, when running tests, logging works as it should.

Copy link
Contributor Author

@fiodar-r fiodar-r Sep 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And yes, this versions is fine in sense of vulnerabilities

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need the dependency on the log4j-1.2 API. We are using slf4j for logging. log4j is one of the adapter implementations for slf4j. So, we need only dependency on the slf4j API. No dependencies on log4j should be declared in the dependencies block

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I got the point, thanks

@fiodar-r fiodar-r merged commit f8c5155 into dev Sep 27, 2022
@Nikita-Smirnov-Exactpro Nikita-Smirnov-Exactpro deleted the th2-4231-dev-vulnerabilities branch February 3, 2023 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants