-
Notifications
You must be signed in to change notification settings - Fork 36
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
#103: security warning for CVEs in file tool/edition/security #119
Open
MattesMrzik
wants to merge
61
commits into
devonfw:main
Choose a base branch
from
MattesMrzik:feature/#103-implement-version-security-checks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+6,270
−3,765
Open
Changes from 57 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
2237158
#103: security warning for CVEs in file tool/edition/security
MattesMrzik 897b800
promting the user for vulnerabilities and start of Main for OWASP check
MattesMrzik 59f6a1b
merged main into feature 103
MattesMrzik 5f162e2
moved owasp dep from idecli pom to security pom, mor work in Main
MattesMrzik e5c70e7
#103: url analyzer works and vulnerabilities are retrieved
MattesMrzik 34febf5
#103: Security Entry and determination of version Range for vulnerabi…
MattesMrzik ae0558b
#103: writing security json file
MattesMrzik ba87b95
#103: test interaction and getVersionRangeFromInterval
MattesMrzik ba694ab
#103: refinements
MattesMrzik 81b8586
#103: more refinement
MattesMrzik 9574f8d
#158: VersionRange with open boundaries
MattesMrzik 7e2023e
Merge remote-tracking branch 'upstream/main' into feature/#103-implem…
MattesMrzik 64c8454
Merge remote-tracking branch 'origin/feature/#158-version-range-with-…
MattesMrzik 5518138
#103: removed duplicate VersionRange.equals
MattesMrzik 4fbef6e
#103: versionRange with open interval
MattesMrzik 1b9224b
#103: updated urlSecJsonFile.contains
MattesMrzik 9a86e34
#103: rephrase interaction, mapUtil, LICENCE
MattesMrzik fe9109f
#103: moved urlSecurityJson to its own class
MattesMrzik b19b877
#103: fixed write json bug, and more
MattesMrzik fd64100
#103: some final cleanup
MattesMrzik 312afdd
#103: updated to be in line with #158
MattesMrzik 37122ff
Merge branch 'main' of https://github.com/devonfw/IDEasy into feature…
MattesMrzik 9b28679
#103: fixed small bug due to merged main
MattesMrzik 1389057
#103: fixed bugs
MattesMrzik 98b3da3
#103: fixed bug
MattesMrzik 06cc433
#103: added logging test
MattesMrzik 80ab231
#103: refactored code
MattesMrzik a26df56
103: first half of team review
MattesMrzik dbee293
#103: more change requests from team review and bug fix
MattesMrzik ea1bb26
Update cli/src/main/java/com/devonfw/tools/ide/tool/ToolCommandlet.java
MattesMrzik b02bfcf
#103: checkpoint to not accidentally lose progress
MattesMrzik fb6b842
Merge branch 'feature/#103-implement-version-security-checks' of http…
MattesMrzik 0c54094
#103: fixed intellij updater test
MattesMrzik 55f139c
#103: done with change requests
MattesMrzik d69bea7
Merge branch 'main' of https://www.github.com/devonfw/IDEasy into fea…
MattesMrzik f34fc22
Update security/src/main/java/com/devonfw/tools/security/BuildSecurit…
MattesMrzik 1c66c77
#103: small fix
MattesMrzik c78aad4
Merge branch 'feature/#103-implement-version-security-checks' of http…
MattesMrzik 6a20d3c
#103: added tests
MattesMrzik cbe086d
#103: test for UrlSecurityJson
MattesMrzik 20fecc3
#103: last small changes
MattesMrzik 47ae5b7
Merge branch 'main' into feature/#103-implement-version-security-checks
jan-vcapgemini ae52292
#103: code reformat & cleanup
jan-vcapgemini f66c7ea
#103: implemented requested changes
jan-vcapgemini 7628cc9
#103: applied reformat
jan-vcapgemini db6e276
#103: implemented requested changes
jan-vcapgemini 6da9066
Merge branch 'main' into feature/#103-implement-version-security-checks
jan-vcapgemini 2862e6b
#103: fixed merge issues
jan-vcapgemini be3ec96
#103: some fixes
jan-vcapgemini 097bbdc
Merge branch 'main' into feature/#103-implement-version-security-checks
jan-vcapgemini a7d686c
#103: implemented requested changes
jan-vcapgemini a299504
#103: implemented requested changes
jan-vcapgemini 0f3596f
#103: implemented requested changes
jan-vcapgemini 30d5bf2
Merge branch 'main' into feature/#103-implement-version-security-checks
jan-vcapgemini 69e1fdd
#103: fixed intellij and vscode
jan-vcapgemini 4d6766c
#103: fixed NPEs and other issues
jan-vcapgemini f162e09
Merge branch 'main' into feature/#103-implement-version-security-checks
jan-vcapgemini 3834ce8
Merge branch 'main' into feature/#103-implement-version-security-checks
jan-vcapgemini ba4bc07
#103 fixed tests
jan-vcapgemini d794e67
Merge branch 'main' into feature/#103-implement-version-security-checks
jan-vcapgemini 998387d
#103 implemented requested changes
jan-vcapgemini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
cli/src/main/java/com/devonfw/tools/ide/tool/SecurityRiskInteractionAnswer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.devonfw.tools.ide.tool; | ||
|
||
/** | ||
* User interaction answers when a security risk was found and the user can f.e. choose to stay on the current unsafe | ||
* version, use the latest safe version, use the latest version or use the next safe version. | ||
*/ | ||
public enum SecurityRiskInteractionAnswer { | ||
|
||
/** | ||
* User answer to stay on the current unsafe version. | ||
*/ | ||
STAY, | ||
|
||
/** | ||
* User answer to install the latest of all safe versions. | ||
*/ | ||
LATEST_SAFE, | ||
|
||
/** | ||
* User answer to use the latest safe version. | ||
*/ | ||
SAFE_LATEST, | ||
|
||
/** | ||
* User answer to use the next safe version. | ||
*/ | ||
NEXT_SAFE, | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
cli/src/main/java/com/devonfw/tools/ide/tool/androidstudio/AndroidStudioUrlUpdater.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry to say so but this is absolutely confusing. While there is
LATEST_SAFE
the JavaDoc ofSAFE_LATEST
says "use the latest safe version". The difference of these two options is totally unclear.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've renamed the constant to LATEST now instead and adjusted the javadoc.