Skip to content

Commit

Permalink
Update Analyzer Manager to v1.8.13 (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas authored Aug 13, 2024
1 parent 88f66df commit 3d77036
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jas/analyzermanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (
EntitlementsMinVersion = "3.66.5"
ApplicabilityFeatureId = "contextual_analysis"
AnalyzerManagerZipName = "analyzerManager.zip"
defaultAnalyzerManagerVersion = "1.8.10"
defaultAnalyzerManagerVersion = "1.8.13"
analyzerManagerDownloadPath = "xsc-gen-exe-analyzer-manager-local/v1"
analyzerManagerDirName = "analyzerManager"
analyzerManagerExecutableName = "analyzerManager"
Expand Down
3 changes: 3 additions & 0 deletions jas/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ func ReadJasScanRunsFromFile(fileName, wd, informationUrlSuffix string) (sarifRu
// Jas reports has only one invocation
// Set the actual working directory to the invocation, not the analyzerManager directory
// Also used to calculate relative paths if needed with it
if len(sarifRun.Invocations) == 0 {
sarifRun.Invocations = append(sarifRun.Invocations, sarif.NewInvocation().WithWorkingDirectory(sarif.NewArtifactLocation()))
}
sarifRun.Invocations[0].WorkingDirectory.WithUri(wd)
// Process runs values
fillMissingRequiredDriverInformation(utils.BaseDocumentationURL+informationUrlSuffix, GetAnalyzerManagerVersion(), sarifRun)
Expand Down

0 comments on commit 3d77036

Please sign in to comment.