Skip to content
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

Update Analyzer manager (1.3.2.2006984) to fix Java Contextual analysis issues #964

Merged
merged 55 commits into from
Sep 14, 2023
Merged
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
f84d011
copy dir
sverdlov93 Sep 3, 2023
e88a637
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 3, 2023
66491de
copy dir
sverdlov93 Sep 3, 2023
9e57843
copy dir
sverdlov93 Sep 3, 2023
596141c
copy dir
sverdlov93 Sep 3, 2023
3c4cee3
copy dir
sverdlov93 Sep 3, 2023
24b8006
copy dir
sverdlov93 Sep 3, 2023
ff33179
copy dir
sverdlov93 Sep 3, 2023
4e2103d
copy dir
sverdlov93 Sep 3, 2023
f2666c4
copy dir
sverdlov93 Sep 3, 2023
4d864d5
merge dev
sverdlov93 Sep 3, 2023
bfd144e
copy dir
sverdlov93 Sep 3, 2023
a4cfbd1
copy dir
sverdlov93 Sep 3, 2023
9d28d5f
copy dir
sverdlov93 Sep 3, 2023
5393f10
copy dir
sverdlov93 Sep 3, 2023
ce51639
copy dir
sverdlov93 Sep 3, 2023
d47bb8e
copy dir
sverdlov93 Sep 3, 2023
83043dd
copy dir
sverdlov93 Sep 3, 2023
4db8c93
copy dir
sverdlov93 Sep 3, 2023
64926ad
copy dir
sverdlov93 Sep 4, 2023
39e4606
copy dir
sverdlov93 Sep 4, 2023
fb8a2ad
copy dir
sverdlov93 Sep 4, 2023
b5f22e7
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 4, 2023
65199d0
copy dir
sverdlov93 Sep 4, 2023
e682abd
copy dir
sverdlov93 Sep 4, 2023
6920571
copy dir
sverdlov93 Sep 4, 2023
e7f45e6
copy dir
sverdlov93 Sep 4, 2023
484888e
copy dir
sverdlov93 Sep 5, 2023
bede994
copy dir
sverdlov93 Sep 5, 2023
5250604
copy dir
sverdlov93 Sep 5, 2023
f70d9b9
copy dir
sverdlov93 Sep 5, 2023
beb6620
copy dir
sverdlov93 Sep 5, 2023
0751551
copy dir
sverdlov93 Sep 5, 2023
43b3c93
copy dir
sverdlov93 Sep 5, 2023
74aabbb
copy dir
sverdlov93 Sep 5, 2023
061eb0b
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 5, 2023
deb60e3
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 12, 2023
3fd5363
fix build script
sverdlov93 Sep 12, 2023
d474553
fix build script
sverdlov93 Sep 12, 2023
6d4d064
fix build script
sverdlov93 Sep 12, 2023
7c015a6
fix build script
sverdlov93 Sep 12, 2023
b1066ae
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 12, 2023
6481c89
fix build script
sverdlov93 Sep 12, 2023
d6e036d
fix build script
sverdlov93 Sep 12, 2023
54511b1
fix build script
sverdlov93 Sep 12, 2023
9099625
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 13, 2023
393e23c
fix build script
sverdlov93 Sep 13, 2023
be6e5d8
fix build script
sverdlov93 Sep 13, 2023
5f452d9
fix build script
sverdlov93 Sep 13, 2023
3e33ba0
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 13, 2023
ca1395c
fix build script
sverdlov93 Sep 13, 2023
e5795f2
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 13, 2023
42034ff
fix build script
sverdlov93 Sep 13, 2023
53ac60a
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into si…
sverdlov93 Sep 14, 2023
4862073
fix build script
sverdlov93 Sep 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix build script
Signed-off-by: Michael Sverdlov <[email protected]>
sverdlov93 committed Sep 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 6d4d064e3c6b1d47df01fab4ced4173d73c746a8
3 changes: 2 additions & 1 deletion xray/utils/sarifutils.go
Original file line number Diff line number Diff line change
@@ -244,7 +244,8 @@ func ExtractRelativePath(resultPath string, projectRoot string) string {

// Get relative path
relativePath := strings.ReplaceAll(resultPath, projectRoot, "")
return strings.TrimPrefix(relativePath, string(filepath.Separator))
trimSlash := strings.TrimPrefix(relativePath, string(filepath.Separator))
return strings.TrimPrefix(trimSlash, "/")
}

func GetResultSeverity(result *sarif.Result) string {